Skip to content

WartMxp/blockchain-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bs

A blockchain simulation system based on Rust and Satoshi Nakamoto's white paper.

Quick Start

It based on stable-x86_64-pc-windows-gnu, so you don't need to install Visual C++ Redistributable.

> RUSTFLAGS="-C target-feature=+crt-static" cargo build --release
> blockchain-simulation
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
     Running 'target\debug\blockchain-simulation.exe'
Enter command: addblock -data "..." | printchain | exit

If you would like to add transaction data, you can do so as follows:

> addblock -data "Amount 0.00714281BTC Fee 4,620SATS From 6 Inputs To bc1qs-wn28x"

About

Pretending to make money

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages