Skip to content

eliaahadi/buildBlockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build a blockchain in JavaScript

Create a simple JavaScript blockchain.

Blockchain setup

To run app, clone the repository in your terminal with this command:

git clone https://github.com/eliaahadi/buildBlockchain.git

Link packages first by typing this command in terminal:

cd buildBlockchain
yarn install

To run app, in terminal type:

yarn start

To run tests, in terminal type:

yarn test

To view endpoint responses, open up a tool like Postman and type in terminal:

yarn dev

Then in Postman, Enter localhost:4001 for URL, and notice the response. If all goes well, you'll be able to interact with the UI.

Steps to create one

  1. Blocks
  2. Blockchain
  3. API endpoints
  4. Peer Server
  5. Proof of Work
  6. Wallet
  7. Transaction Pool
  8. Miner

References

About

Build a simple blockchain in C#, React, Express, NodeJS with JEST testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages