Skip to content

athxx/rbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RBit

a simple example of the block chain, written in RUST language

How to use?

export RUST_LOG=debug

cd ./rbit

cargo run

You can try it to run it in multiple terminals to get multiple connected peer-to-peer clients.

In each client, you can enter the commands:

ls p # list peers
ls c # print local chain
create b $data # $data is just a string here - this creates (mines) a new block with the data entry $data and broadcasts it
``

About

a blockchain write in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages