diodechain / diode_client

Diode client written in GO that runs the Blockquick™ algorithm and a socks server to transmit data through diodechain.
https://diode.io/download
Other
65 stars 23 forks source link

Add init command #24

Closed dominicletz closed 4 years ago

dominicletz commented 4 years ago

Let's wait for the CI to finish the tests, but this looks good to merge now for me @sc0Vu

There is a bug in blockquick, sometimes rejecting the network - that I'll need to dig out, but it's not related to this new command.

sc0Vu commented 4 years ago

Looks good to me. And I added blockcahion name service command, please take a look when you have time @dominicletz

dominicletz commented 4 years ago

Sweet! @sc0Vu what were the steps to get the FleetContractBin and BNSContractBin ? I want to reproduce and try to get the same binary, but so far my binary is different.

sc0Vu commented 4 years ago

@dominicletz the bin and abi was generated by solc npm https://www.npmjs.com/package/solc/v/0.4.26, I think we can also use solidity directly.

Since we are using solidity v0.4.26, make sure you install the correct solidity/solc.

By the way, there is a generated code tool (go contract) in go-ethereum, should we make our own generated tool?