This is simple blockchain demo to showcase how you can create and blockchain, your own cryptocurrencies and smart contracts
- Will create a simple blockchain using python and flask
- Using this blockchain technology will create a cryptocurrency on top of it
- Create smart contracts
- Python 3
- Run blockchain program
> python blockchain.py
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
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)
This project is licensed under the MIT License - see the LICENSE file for details
- Fork it (https://github.com/mayurvarma14/blockchain-demo/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request