Open Nayyaroddeen opened 6 days ago
raydium api doesn't support get devent mint info via raydium.token.getTokenInfo(mint address)
please setup them manually like this
{
address: '4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R',
programId: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA',
decimals: 6,
}
also you can paste simulate tx string here https://explorer.solana.com/tx/inspector?cluster=devnet to check what's going on and ensure you config a devent rpc url and cluster in config.ts
export const createPool = async () => { try { const raydium = await initSdk({ loadToken: true })
} catch (error) { console.log(error) console.dir(error, { depth: null }); // Set depth to null for full depth inspection
}
/* Uncomment the code below to execute / createPool() .then(() => console.log('Pool creation process complete.')) .catch((error) => console.error('Unhandled error:', error))
It's print object object but not creating a pool, pls help me understand this