/cpi-example

Example on how to use cross-program invocations with Drift protocol-v1

Primary LanguageTypeScript

Getting Started

git submodule update --init --recursive
cd deps/protocol-v1
anchor build
cd sdk
yarn
yarn build
cd ../../..
yarn
anchor test

Warning

This code is unaudited. Use at your own risk.