Skip to content

zhangbincheng1997/CrowdFunding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

以太坊众筹系统

😄 更新版本,支持插件。

alt text

alt text

alt text

alt text

Hello World

学前班:https://github.com/littleredhat1997/Ethereum

如果不想本地搭建,可以使用公开测试网络:

运行插件

Plugins->web3j:generate-sources

resources/CrowdFunding.sol ----> org.web3j.model.CrowdFunding

部署合约

test/java/com/example/demo/ContractDeploy.java

CrowdFunding contract = CrowdFunding.deploy(web3j, credentials, new DefaultGasProvider()).send();
System.out.println(contract.getContractAddress());
// rewrite: contractAddress ----> application.properties

启动项目

main/java/com/example/demo/Application.java

http://localhost:8080/

注意:记得挖矿,等待确认!

About

基于区块链(以太坊)技术的安全众筹系统

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published