Bytom spv wallet
Rev. | Zeit | Autor | Nachricht |
---|---|---|---|
1c3aed2 | 2018-08-31 17:49:42 | Yahtoo Ma | master Update readme file |
9d61075 | 2018-08-31 17:46:29 | Yahtoo Ma | Update readme file |
3214bdd | 2018-08-31 17:43:59 | Yahtoo Ma | Update Makefile file |
393e675 | 2018-08-30 21:56:25 | Yahtoo Ma | Change Makefile file |
50d4400 | 2018-08-30 21:40:45 | Yahtoo Ma | Change readme file |
1424113 | 2018-08-30 21:38:25 | Yahtoo Ma | Change lib directory |
e90171a | 2018-08-30 21:09:22 | Yahtoo Ma | Change Readme for bytom spv wallet |
2487629 | 2018-08-30 20:02:27 | Yahtoo Ma | v1.0.5-alpha Fix fastsync require block 0 err |
5896a30 | 2018-08-30 19:35:43 | Yahtoo Ma | Merge dev branch |
3f9d0f3 | 2018-08-30 11:33:18 | Yahtoo Ma | Opz code format |
Name | Rev. | Zeit | Autor |
---|---|---|---|
v1.0.5-alpha | 2487629 | 2018-08-30 20:02:27 | Yahtoo Ma |
Official golang implementation of the Bytom SPV Wallet.
Automated builds are available for stable releases and the unstable master branch. Binary archives are published at https://github.com/bytom-spv/bytom-spv/releases.
SPV wallet verifies that a transaction is included in the Bytom blockchain, without downloading the entire blockchain. The SPV wallet only needs to download the block headers, which are much smaller than the full blocks. To verify that a transaction is in a block, SPV wallet requests a proof of inclusion, in the form of a Merkle branch.
In the current state bytom spv wallet
is able to:
$GOPATH
set to your preferred directoryEnsure Go with the supported version is installed properly:
$ go version
$ go env GOROOT GOPATH
$ git clone https://github.com/bytom-spv/bytom-spv.git $GOPATH/src/github.com/bytom-spv
$ cd $GOPATH/src/github.com/bytom-spv
$ make bytom-spv # build bytom-spv-wallet
When successfully building the project, the bytom-spv-wallet
should be present in cmd/bytomd
directory.
First of all, initialize the node:
$ cd ./cmd/bytomd
$ ./bytom-spv-wallet init --chain_id testnet -r ~/.bytom_spv
There are three options for the flag --chain_id
:
mainnet
: connect to the mainnet.testnet
: connect to the testnet wisdom.solonet
: standalone mode.After that, you'll see config.toml
generated, then launch the node.
$ ./bytom-spv-wallet node -r ~/.bytom_spv
Access the dashboard:
$ open http://localhost:9888/
Thank you for considering helping out with the source code! Any contributions are highly appreciated, and we are grateful for even the smallest of fixes!
If you run into an issue, feel free to bytom issues in this repository. We are glad to help!