Official golang implementation of the Bystack protocol.
Automated builds are available for stable releases and the unstable master branch. Binary archives are published at https://github.com/Bytom/bystack/releases.
Bystack is software designed to operate and connect to highly scalable blockchain networks confirming to the Bystack Blockchain Protocol, which allows partipicants to define, issue and transfer digitial assets on a multi-asset shared ledger. Please refer to the White Paper for more details.
In the current state bystack is able to:
- Manage key, account as well as asset
- Send transactions, i.e., issue, spend and retire asset
- Go version 1.8 or higher, with
$GOPATHset to your preferred directory
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/bystack.git $GOPATH/src/github.com/bytom/bystack- Build source code
$ cd $GOPATH/src/github.com/bytom/bystack
$ make bystackd # build bystackdWhen successfully building the project, the bystackd and binary should be present in cmd/bystackd directory, respectively.
The Bystack project comes with several executables found in the cmd directory.
| Command | Description |
|---|---|
| bystackd | bystackd command can help to initialize and launch bystack domain by custom parameters. bystackd --help for command line options. |
Currently, bystack is still in active development and a ton of work needs to be done, but we also provide the following content for these eager to do something with bystack. This section won't cover all the commands of bystackd at length, for more information, please the help of every command, e.g., bystackd help.
First of all, initialize the node:
Download testnet.zip or mainnet.zip
$ cd ./build/bin/bystackd
$ ./bystackd --datadir {{datadir}} init genesis.jsonAfter that, you'll see config.toml generated, then launch the node.
$ ./bystackd --config config.toml --datadir {{datadir}} --cache 8000Thank 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 bystack issues in this repository. We are glad to help!