Skip to content

mayurvarma14/blockchain-demo

Repository files navigation

Simple Blockchain Demo

This is simple blockchain demo to showcase how you can create and blockchain, your own cryptocurrencies and smart contracts

Description

  • Will create a simple blockchain using python and flask
  • Using this blockchain technology will create a cryptocurrency on top of it
  • Create smart contracts

Getting Started

Dependencies

  • Python 3

Executing program

  • Run blockchain program
> python blockchain.py

* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

Import the postman collection to use API's

blockchain_postman_collection.json cryptocurrency_postman_collection.json

  • Run cryptocurrency program
  • Command line arguments

python cryptocurrency.py [Cryptocurrency name] [Port] [Name]

> python cryptocurrency.py  SuperMoonCoin 6001 John

* Running on http://0.0.0.0:6001/ (Press CTRL+C to quit)


> python cryptocurrency.py  SuperMoonCoin 6002 Clark

* Running on http://0.0.0.0:6002/ (Press CTRL+C to quit)


> python cryptocurrency.py  SuperMoonCoin 6003 Janie

* Running on http://0.0.0.0:6003/ (Press CTRL+C to quit)

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

Contributing

  1. Fork it (https://github.com/mayurvarma14/blockchain-demo/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Create your own cryptocurrency using smart contracts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published