Some experimentation in the ethereum ecosystem. This repo include a team project for OT4 course in INSA Lyon.
docker build . -t ethereum-tp
It will create a new private blackchain called chaine1T
(chaine d'inté ;-) ) in the ~/.ethereum
directory.
Lunch the following command from root:
docker run -itd --name ethereum-tp -v $(pwd)/java-project:/root/java-project ethereum-tp /bin/bash
To obtain bash command line interface inside the container:
docker exec -it ethereum-tp /bin/bash
From ~/.ethereum
directory:
cd ~/.ethereum/
geth account new
From the container command line (cf Enter in the container
):
geth --datadir chaine1T --rpcapi personnal,db,eth,net,web3 --rpc --mine --minerthreads=1 console