• R/O
  • HTTP
  • SSH
  • HTTPS

bytom-spv: Resumo do Repositório

Bytom spv wallet


Recent Commits RSS

Rev. Hora Autor Mensagem
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

Recently edited Tags

Nome Rev. Hora Autor
v1.0.5-alpha 2487629 2018-08-30 20:02:27 Yahtoo Ma

Branches

Nome Rev. Hora Autor Mensagem
master 1c3aed2 2018-08-31 17:49:42 Yahtoo Ma Update readme file

README.md

Bytom SPV Wallet

Build Status AGPL v3

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.

What is Bytom SPV Wallet?

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:

  • Manage key, account as well as asset
  • Send transactions, i.e., issue, spend and retire asset

Building from source

Requirements

  • Go version 1.8 or higher, with $GOPATH set to your preferred directory

Installation

Ensure Go with the supported version is installed properly:

$ go version
$ go env GOROOT GOPATH
  • Get the source code
$ git clone https://github.com/bytom-spv/bytom-spv.git $GOPATH/src/github.com/bytom-spv
  • Build source code
$ 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.

Running bytom spv wallet

Initialize

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.

launch

$ ./bytom-spv-wallet node -r ~/.bytom_spv

Dashboard

Access the dashboard:

$ open http://localhost:9888/

Contributing

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!

License

AGPL v3

Show on old repository browser