Skip to content

A blockchain prototype based on PBFT consensus and account model.

Notifications You must be signed in to change notification settings

KyrinCode/blockchain-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blockchain-JS

A blockchain prototype based on PBFT consensus and account model.

  • PBFT consensus
  • Account-based model
  • Register new validators
  • Http endpoint with port 300X
  • P2P connection with port 500X
  1. start 3 nodes
npm run node_1
npm run node_2
npm run node_3
  1. use client to test transfer

modify client to send transfer tx

node client.js 0
  1. start 4th node
npm run node_4
  1. use client to test validator registration

modify client to send validator registration tx

node client.js 1

review dev/app.js to try some other functions with get/post requests

About

A blockchain prototype based on PBFT consensus and account model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published