Skip to content

rmngqibisa/RandCoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandCoin

A simple outlined example to design a cryptocurrency based on the rand

This code creates a basic blockchain with a genesis block, a transaction class, a block class, and a blockchain class. The mine method in the block class simulates the mining process by incrementing the nonce until a hash with the desired number of leading zeros is found.

This example is only intended to give a basic understanding of how a blockchain works and is not meant to be used as the basis for a real cryptocurrency like RandCoin.

About

A simple outlined example to design a cryptocurrency based on the rand

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages