Skip to Content
Hands-On Blockchain for Python Developers
book

Hands-On Blockchain for Python Developers

by Arjuna Sky Kok
February 2019
Intermediate to advanced
450 pages
9h 59m
English
Packt Publishing
Content preview from Hands-On Blockchain for Python Developers

Token smart contract

Creating a token on top of Ethereum with Vyper is easy. Let's follow the initial steps to prepare our development environment before we build a token.

Start by ensuring that you have geth installed and that the geth program is in the $PATH environment variable (meaning that you can call geth without its full path):

$ virtualenv -p python3.6 token-venv$ source token-venv/bin/activate(token-venv) $ pip install eth-abi==1.2.2(token-venv) $ pip install eth-typing==1.1.0(token-venv) $ pip install py-evm==0.2.0a33(token-venv) $ pip install web3==4.7.2(token-venv) $ pip install -e git+https://github.com/ethereum/populus#egg=populus(token-venv) $ pip install vyper(token-venv) $ mkdir token_project(token-venv) $ cd token_project ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Blockchain in Action

Blockchain in Action

Bina Ramamurthy
Learn Python by Building a Blockchain and Cryptocurrency

Learn Python by Building a Blockchain and Cryptocurrency

Academind by Maximilian Schwarzmüller GmbH

Publisher Resources

ISBN: 9781788627856Supplemental Content