Uses old Rust 2015
|0.1.2||Jun 23, 2018|
#322 in Database implementations
Radiancy is a toy blockchain what I regard as a blockchain playground. Five built-in commands can help us taste the taste of blockchain honey. It's actually about... proof of work, database, crypto transaction and wallet —— A relatively completely transaction system but lack of coinbase handlings, consensus and network.
In order to ensure every command runs correctlly, Radiancy will generate a database and a wallet in current path whatever you have inputted 😂
Anyway, Radiancy is simple and easy to use... And I wish all of Radiancy users get a pretty good experience with Radiancy.
That is... Welcome to the blockchain world, and Long Live Rock n Roll.
cargo install radiancy
~ curl https://udtrokia.github.io/homebrew-udtrokia/scripts/radiancy.sh | sh ~ radiancy help
- Build from source code
~ git clone email@example.com:udtrokia/Radiancy.git ~ cd /path/to/radiancy/ && cargo build
ℷ radiancy <-- Hello Yellow Brick Road --> Usage: radiancy COMMAND; COMMANDS: create_account Generate an default address; create_blockchain Generate a blockchain; get_balance Get address balance; print_chain Print blocks in Radiancy; print_address Print a test address; send Send coin to another address; <-- GoodBye Yellow Brick Road -->
Generate an account file in the current path.
And then, you will find a file named
account.rdc in the current path.
Generate a blockchain with db and default wallet.
Actually, in the current version, this command is useless:
create both db and wallet in the current path.
Get the balance of current account or the following.
- current account
- address as a parameter
radiancy get_balance address
Print blocks in Radiancy. Actually a iterator to print every block stored in db.
Print a test address. I set the command to test transaction... lol~
Transaction part. send RDC from current address to another.
radiancy send <address> <amount>