VM Integration
This page describes the interface required to implement protocol logic component.
To create a VM implementation, it is required two provide a manifest file as well as a implementation of the corresponding adapter interface.
Step by step
Prerequisites
- Start by making a local copy of the Propeller Protocol Lib repository:
git clone https://github.com/propeller-heads/propeller-protocol-lib
-
Install
Foundry, the smart contract development toolchain we use. We recommend installation using foundryup -
Install forge dependencies:
cd evm
forge install
- Your integration should be in a separate directory in the
evm/srcfolder. You can clone one of the example directoriesevm/src/uniswap-v2orevm/src/balancerand rename it to your integration name.