chroto / ethereum-notebooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ethereum-notebooks

Interacting with Ethereum using web3.py and Jupyter Notebooks

Step by step guide for setting up a Jupyter notebook, connecting to an Ethereum node and deploying a Smart Contract. 

Installing Dependencies

Jupyter Notebooks

pip3 install --upgrade pip
pip3 install jupyter

jupyter.readthedocs.io

Installing Web3.py
pip install web3

web3py.readthedocs.io

web3.py Clean Install

Installing Solc

npm install -g solc

Solc - Solidity Compiler

Running Geth

./00_runGeth.sh

Or alternatively run the following

geth --dev --dev.period 2 --datadir ./testchain --rpc --rpccorsdomain '*' --rpcport 8646 --rpcapi "eth,net,web3,debug" --port 32323 --maxpeers 0 console

Running Jupyter Notebooks

./01_runNotebook.sh

About

License:MIT License


Languages

Language:Jupyter Notebook 59.8%Language:Python 18.5%Language:Perl 18.1%Language:Shell 3.5%