wurambo / solana-token-kit

Solana Token Kit for creating, launching and managing Solana SPL Tokens
MIT License
26 stars 12 forks source link

swap code #3

Open go-spider opened 2 months ago

go-spider commented 2 months ago

At line 209 of the file createAndManageLP.ts from the repository at solana-token-kit/blob/main/src: const TOKEN_TYPE = new Token( TOKEN_PROGRAM_ID, baseMint, baseDecimals, "ABC", "ABC" ); There is no slippage set. Is it okay for swapping? Are there any safety issues with this?"ABC" is ok?

mrbpp commented 1 month ago

Have you had any success with the code?

I cannot create the LP and the swap in one bundle.

It works only when I disable the swaps, but then you cannot snipe the token launch to secure it.