mitum-currency is the cryptocurrency case of mitum model, based on mitum. This project was started for creating the first model case of mitum, but it can be used for simple cryptocurrency blockchain network (at your own risk).
- account: account address and keypair is not same.
- simple transaction: creating account, transfer balance.
- supports multiple keypairs: btc, ethereum, keypairs.
- supports multiple currencies
NOTE: at this time, mitum and mitum-currency is actively developed, so before building mitum-currency, you will be better with building the latest mitum source.
$ git clone https://github.com/ProtoconNet/mitum2and then, add
replace github.com/ProtoconNet/mitum2 => <your mitum source directory>togo.modof mitum-currency.
Build it from source
$ cd mitum-currency
$ go build -ldflags="-X 'main.Version=v0.0.1'" -o ./mc ./main.goAt the first time, you can simply start node with example configuration.
To start, you need to run mongodb on localhost(port, 27017).
$ ./mc init --design=./standalone.yml genesis-design.yml
$ ./mc run ./standalone.yml --dev.allow-consensus
Please check
$ ./mc --helpfor detailed usage.
$ go clean -testcache; time go test -race -tags 'test' -v -timeout 20m ./... -run .