hou27 / blockchain_go

Making a Cryptocurrency with GO.
1 stars 1 forks source link
blockchain cryptocurrency

BlockChain_Prac

Making a Cryptocurrency with GO.
What Is Cryptocurrency?

go run .
How to use:

  send -from FROM -to TO -amount AMOUNT -mine - send AMOUNT of coins from FROM address to TO. If there is a mine flag, then mine by myself
  createblockchain -address ADDRESS - create new blockchain
  showblocks - print all the blocks of the blockchain
  getbalance -address ADDRESS - Get balance of ADDRESS
  createwallet - Create your Wallet
  showaddresses - Show all addresses
  startnode -minenode ADDRESS - Start a node with NODE_ID. If there is a minenode flag, that node will be minenode