Developer

Contract status:

  • Aptos: public

    • address: 0xc7ea756470f72ae761b7986e4ed6fd409aad183b1b2d3d2f674d979852f45c4b

  • Solana: alpha stage

    • V2 address: EaBNtqenvVqpMoXAjYH6H91jLfVSiygczCCDDufwoVop

    • V3 address: BYxcSnZ1HEPGHaQ9RNaoGmzdzDBRWWnp9W553vjM7PGP

  • EVMs: private. Please talk to us for testing

TypeScript SDKs

You can find our npm package for quoting:

Pool Versions

On Aptos, we have 3 active pool versions:

  • V1: a variant of PieceSwap primarily dedicated to stablecoin pairs

  • V2: a proactively priced variant of constant-product, with separate X-LP token and Y-LP token

  • V3: an improvement over V2 with unified LP token

On Solana, we have 2 active pool versions:

  • V2

  • V3

Aptos Contract

Our Aptos contracts can be viewed herearrow-up-right, under address:

There are several ways to integrate with our Aptos contract

  • invoke entry functions under the router module

  • invoke the entry functions under the modules for the corresponding pool versions

  • invoke the public functions under the modules for the corresponding pool versions

Router entry function invocation

Module entry function invocation

For V1, under the piece_swap_script module

For V2, under the ssswapScript2 module

For V3, under the ss3swapAbelScript module

Module direct invocation

For V1, under the piece_swap module

For V2, under the ssswap2 module

For V3, under the ss3swapAbel module

Solana Contract

Our Solana contract is currently in alpha state. They can be found at these addresses:

Our anchor contract IDL can be found herearrow-up-right.

Warning: our solana contracts are in alpha status. We may in the future migrate all liquidity to a non-upgradable deployment under a new address.

Last updated