Liquidity
createPoolV3
const createPoolV3 = async (
token0: string,
token1: string,
desirePrice: number,
fee: 500 | 3000 | 10000
)import { createPoolV3, ADDRESSES } from '@storyhunt/wrapper-sdk';
async function createNewPool() {
const txHash = await createPoolV3(
ADDRESSES.TOKENS.WIP.id, // token0
ADDRESSES.TOKENS.USDC.id, // token1
1000, // desirePrice
3000 // fee tier
);
console.log('Transaction result:', txHash);
}