This repository contains the smart contracts source code. We are using Protostar as development environment for compilation, testing and Starknet Py for deployment and contract interaction tasks.
Morphine offers powerful and versatile tools to build, scale, manage and monetize on-chain strategies.
- Clone this repo
(We recommend working inside a Python virtual environment)
-
python3.9 -m venv ~/cairo_venv source ~/cairo_venv/bin/activate
-
pip install -r requirements.txt
-
protostar build / test for compilation and testing
-
python for scripts
-
make for docs
-
cairo-lang - Setup cairo environment
-
starknet-py - For any kind of scripts
-
protostar - StarkNet smart contract development toolchain
lib/morphine
- Morphine contractslib/openzeppelin
- OZ contractslib/utils
- Utils contractstests/
- Unit and integrations testscripts/
- Deploy and protocol interaction tasksdocs/
- Tech Docsbuild/
- Abi and JSON compiled contracts
No Audits have been done so far.
All Contributions for this unit have to be performed via repository issue.