@kumbaya_xyz/v3-sdk
npm install @kumbaya_xyz/v3-sdk @kumbaya_xyz/sdk-coreWhy this fork exists
Use it when
Example: pool address
import { Pool, FeeAmount } from '@kumbaya_xyz/v3-sdk'
import { Token, ChainId } from '@kumbaya_xyz/sdk-core'
const tokenA = new Token(ChainId.MEGAETH, '0x...', 18, 'A')
const tokenB = new Token(ChainId.MEGAETH, '0x...', 6, 'B')
// Internally calls poolInitCodeHash(ChainId.MEGAETH) which returns the Kumbaya hash.
const poolAddress = Pool.getAddress(tokenA, tokenB, FeeAmount.MEDIUM)Fee amounts and tick spacing
Pool init code hash exports
Top-level exports
Last updated