Awesome Open Source
Awesome Open Source

以太坊众筹系统

😄 更新版本,支持插件。

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/

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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
java (31,500
ethereum (740
geth (23