https://github.com/drift-labs/cpi-example
Example on how to use cross-program invocations with Drift protocol-v1
https://github.com/drift-labs/cpi-example
Last synced: 7 days ago
JSON representation
Example on how to use cross-program invocations with Drift protocol-v1
- Host: GitHub
- URL: https://github.com/drift-labs/cpi-example
- Owner: drift-labs
- Created: 2022-01-02T17:15:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-02T17:40:00.000Z (over 3 years ago)
- Last Synced: 2025-04-03T12:52:03.606Z (about 2 months ago)
- Language: TypeScript
- Homepage:
- Size: 69.3 KB
- Stars: 10
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Getting Started
```shell
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.