Python Ethereum Developer Toolset
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mochamousse
.DS_Store
.gitignore
LICENSE
README.md
requirements.txt
setup.py
simon-rae-192927-unsplash.jpg

README.md

MochaMousse

NOTE: THIS REPO IS UNDER HEAVY DEVELOPMENT AND PROBABLY DOESN'T WORK!

image

An Ethereum Developer Toolset for Python

Features:

  • Compile contracts [including imports like OpenZeppelin]
  • Migrate Contracts to Ganache, Testnets, or Mainnet
  • Runs a default Flask Dapp

NOTE

  • Please verify SOLC is installed on the local machine as it is required for py-solc

On a Mac, use brew:

brew update
brew upgrade
brew tap ethereum/ethereum
brew install solidity

Commands:

Initialize the directory - WORKING

  • python -m mochamousse init

Clone OpenZeppelin Repo and link to client contracts directory - WORKING

  • python -m mochamousse openzeppelin

Compile contracts in the contracts directory - WORK IN PROGRESS

  • If OpenZeppelin Contracts are downloaded and linked, this currently BREAKS
  • python -m mochamousse compile

Migrate to a blockchain of your choice - WORK IN PROGRESS

  • python -m mochamouse migrate
  • python -m mochamouse migrate --network development
  • python -m mochamouse migrate --network main
  • python -m mochamouse migrate --network ropsten
  • python -m mochamouse migrate --network rinkeby
  • python -m mochamouse migrate --network other

Run the default Flask web frontend - NOT WORKING

  • mochamouse run

Reset the Directory to default - WORKING

  • python -m mochamousse reset

Install:

Setup a virtualenv

  • virtualenv -p python3 venv

Change to the virtualenv and activate

  • cd venv
  • source venv/bin/activate

Install with PIP - NOT WORKING

  • pip install mochamousse

OR

Clone the repo

  • git clone https://github.com/spdz/mochamousse.git

PIP install local

  • pip install .

Image Credit

https://unsplash.com/@simonrae?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge