{"repo":"velocity-exchange/protocol-v2","free":true,"listed":false,"github":"https://github.com/velocity-exchange/protocol-v2","clone":"git clone https://github.com/velocity-exchange/protocol-v2.git","description":"On-chain perpetuals dex with multiple liquidity mechanisms","language":"TypeScript","stars":406,"topics":["solana","rust","smart-contracts"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Drift Protocol v2 Drift Protocol v2 This repository provides open source access to Drift V2's Typescript SDK, Solana Programs, and more. Integrating Drift? Go here SDK Guide SDK docs can be found here Example Bot Implementations Example bots (makers, liquidators, fillers, etc) can be found here Building Locally Note: If you are running the build on an Apple computer with an M1 chip, please set the default rust toolchain to stable-x86 64-apple-darwin Compiling Programs Running Rust Test For running cargo tests, you'll need version 1.70. You'll also need Solana CLI version 1.16.27 Running Javascript Tests Development (with devcontainer) We've provided a devcontainer Dockerfile to help you spin up a dev environment with the correct versions of Rust, Solana, and Anchor for program development. Build the container and tag it drift-dev : Open a shell to the container: Alternatively use an extension provided by your IDE to make use of the dev container. For example on vscode/cursor: Use the dev container as you would a local build environment: Bug Bounty Information about the Bug Bounty can be found here","default_branch":null,"files":null,"tree":[],"storefront":"/r/velocity-exchange","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/velocity-exchange/protocol-v2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}