建立本身的区块链合约java版web3接口——以太坊代币(四)

texas-web3j-solidity项目是一个java版本的,使用web3j包和eth网络交互的小程序。java

主要实现了如下功能:git

1.发布合约github

2.发起转帐web

3.查询交易spring

4.调用智能合约方法小程序

 

texas-web3j-solidity项目在官方例子基础上作了如下几点功能性修改:网络

1.增长texas合约,用于游戏充值提现等功能spring-boot

2.以太坊测试网络切换为ropsten,该测试网络更容易获取测试eth,地址为:https://www.ropsten.io/#faucet测试

3.增长spring-boot启动,提供http接口gradle

如下几点bug修改:

1.修复gas不足报错的bug,增长gas为标准值的2倍

 

github地址:https://github.com/lxr1907/texas-web3j-solidity

参考文档地址:https://docs.web3j.io

官方例子地址:https://github.com/web3j/sample-project-gradle

相关文章
相关标签/搜索