rivchain Blockchain
The rivchain Blockchain repository.
How to use rivinec
devnet
You can run the chain easily on your computer to play with the software already.
First step is to launch a daemon from your console:
rivined --network devnet --no-bootstrap -Mgctwbe
the above launches a rivchain daemon on devnet, using no bootstrap
(meaning it doesn't try to connect to bootstrap nodes or wait for such nodes to know if you're sync or not),
enabling also the explorer module.
Once you have that you can recover the genesis wallet so you can start creating blocks and have money to spend:
rivinec wallet recover --plain \
--seed "carbon boss inject cover mountain fetch fiber fit tornado cloth wing dinosaur proof joy intact fabric thumb rebel borrow poet chair network expire else"
As this wallet is recovered as a plain wallet it does not have to be unlocked and is ready for use:
$ rivinec wallet
Wallet status:
Encrypted, Unlocked
Confirmed Balance: 100006530 ROC
Locked Balance: 0 ROC
Unconfirmed Delta: + 0 ROC
BlockStakes: 3000 BS
Please consult the --help menus of the rivinec command and all its subcommands for more information on how to use the CLI.
Using multiple wallets on the same machine
A single rivined daemon doesn't allow multiple wallets for the time being.
In order to have multiple wallets running on the same machine you therefore need
to run multiple rivined daemons, with each daemon:
- using a unique persistent directory (either by starting each daemon from a different directory or
by explicitly setting it using the
--persistent-dir flag);
- exposing itself using a unique port.
These different can manually be connected to one another using the
rivinec gateway connect localhost:23112 command.