Installer docker et docker-compose (Linux, Windows, Mac)
cd docker
cp .env.dist .env
Don't modify the .env
docker-compose build
docker-compose up -d
Enter the container :
docker exec -it blockchain bash
Launch the first miner :
python3 /app/src/main_miner.py
Launch the second miner :
python3 /app/src/second_miner.py
Launch the third miner :
python3 /app/src/third_miner.py
Use the wallet:
python3 /app/src/wallet_application.py
Basic arg:
- load key : 2
- private key : /app/keys/1_private.pem
- public key path : /app/keys/1_public.pem
- minor host : localhost
- minor port : 8000