Files
tycho-protocol-sdk/docs/logic/vm-integration
2023-12-04 13:52:23 +01:00
..
2023-12-04 13:52:23 +01:00
2023-12-01 13:10:29 +01:00

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

  1. Start by making a local copy of the Propeller Protocol Lib repository:
git clone https://github.com/propeller-heads/propeller-protocol-lib
  1. Install Foundry, the smart contract development toolchain we use. We recommend installation using foundryup

  2. Install forge dependencies:

cd evm
forge install
  1. Your integration should be in a separate directory in the evm/src folder. You can clone one of the example directories evm/src/uniswap-v2 or evm/src/balancer and rename it to your integration name.