Skip to content

lokesh/blockchain-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlockchainJS

Project created by following the Learn BLockchain By Building Your Own in Javascript Udemy course.

Finished code from instructor available on Github.

Testing

# Spin up node. Use 1 - 4
npm run node1 # http://localhost:3001
npm run node2 # http://localhost:3002

Block explorer UI

Visit http://localhost:PORT/block-explorer

Add transaction

In Postman, POST to /transaction with a Body in raw JSON format. e.g.

{
  "amount": 10,
  "sender": "Lokesh",
  "recipient": "Paul"
}

Mine a new block

Visit http://localhost:PORT/mine

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published