Skip to content

zhangchitc/WOOFi_Solana

 
 

Repository files navigation

WOOFi Solana

WOOFi Solana is a liquidity AMM contract on the Solana blockchain. This repository contains the Rust smart contract as well as the Typescript SDK (@woonetwork/woofi-solana-sdk) to interact with a deployed program.

Requirements

  • Anchor 0.29.0
  • Solana 1.17.31
  • Rust 1.72.0

Setup

Install Anchor using instructions found here.

Set up a valid Solana keypair at the path specified in the wallet in Anchor.toml to do local testing with anchor test flows.

Usage

// Install dependencies
yarn

// Build
anchor build

// Tests
// NOTE: make sure Solana is setting up with Localnet.
anchor test

About

Woo pool v3 with SPMM on Solana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 65.7%
  • Rust 34.2%
  • JavaScript 0.1%