Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anistark/byob
Build Your Own Blockchain
https://github.com/anistark/byob
Last synced: 14 days ago
JSON representation
Build Your Own Blockchain
- Host: GitHub
- URL: https://github.com/anistark/byob
- Owner: anistark
- Created: 2018-09-23T19:13:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:23:42.000Z (almost 2 years ago)
- Last Synced: 2023-08-03T17:22:42.775Z (over 1 year ago)
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BYOB - Build Your Own Blockchain
## Setup
1. Install virtualenv or venv and activate it.
2. Install pipenv. (Not necessary though, makes it easier to manage python environments). If on Mac OsX, install via `brew install pipenv`.```
$ pip install pipenv
```3. Specify pipenv to use the current environment. `pipenv --three`
4. Install requirements.
```
$ pipenv install
```## Run:
(Default port is `8000`)
* Node 1: `pipenv run python blockchain.py`
* Node 2: `pipenv run python blockchain.py -p 8001`
* Node 3: `pipenv run python blockchain.py -p 8002`