Skip to content

Simple projet based on "Bitcoin ₿ in 100 Seconds // Build your Own Blockchain" video from Fireship.

Notifications You must be signed in to change notification settings

Saviollage/simpleBlockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Example

Simple projet based on Bitcoin ₿ in 100 Seconds // Build your Own Blockchain video from Fireship

📃 Requirements and Instalation

  • NodeJs v15
#Clone this repository
$ git clone https://github.com/saviollage/simpleBlockchain

# Enter Directory:
$ cd simpleBlockchain

# Install the dependencies:
$ npm ci

# Running app:
$ npm start

📝 Edit

Feel free to edit this basic implementation an then see how the chain works

// Basic implementation

const savio = new Wallet();
const satoshi = new Wallet();

satoshi.sendMoney(50, savio.publicKey);
savio.sendMoney(25, satoshi.publicKey);

console.log(Chain.instance);

About

Simple projet based on "Bitcoin ₿ in 100 Seconds // Build your Own Blockchain" video from Fireship.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published