marinade-finance / tokadapt

Simple solana contract for swapping token 1:1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tokadapt

CLI usage

To start using CLI from the repository you need to build the contract project first. For the build would work you need to use Anchor in version 0.18.2.

# Building the contract and generating IDL
avm use 0.18.2
pnpm build

# Install dependencies
pnpm install

# Run the CLI
pnpm cli --help

# to show the state of an instance
pnpm cli -c https://api.mainnet-beta.solana.com \
  show --tokadapt taspunvVUXLG82PrsCCtQeknWrGHNHWcZmVQYNcQBDg

About

Simple solana contract for swapping token 1:1


Languages

Language:TypeScript 84.5%Language:Rust 14.3%Language:JavaScript 1.1%