Skip to content

McLemoreT/Blockchain-Tang-FishChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain-Tang-FishCoin

Setup

  1. Import dependencies via pip3: pip3 install -r requirements.txt

Run

  1. Run blockchain (Port 8000):
    1. set FLASK_APP=blockchain.py
    2. flask run --port 8000
    3. Open http://127.0.0.1:8000/chain
    4. Whenever a block is mined, a dump of the chain is saved to chain.json
      1. When the server is restarted, this file is read to save the current chain state
  2. Run frontend client (Port 5002):
    1. python3 server.py
    2. Open http://127.0.0.1:5002

Demo

  1. Add a fish metadata
  2. Mint coin
  3. Visit http://127.0.0.1:8000/chain to see fish

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors