#anchor #solana #staccoverflow

app not-raydium-perp-pools-client

This is a client that allows you to interacc with the devnet demo of staccoverflow's IL- and liquidation-killing perpetual pools Raydium CLMM fork. For fun and profit. https://65ecbd0c38e711dd255ec22c--megayield.netlify.app wat works:connect, concentrated liquidity,create pool,add lp position,close lp position. in this here client 'swap v2' is a misnomer ur actually taking out a levered position *yolo* and unswap v2 is closin it. there is no incentive to help out probably yet yanno points

3 releases

0.1.139 Mar 9, 2024
0.1.138 Mar 9, 2024
0.1.0 Mar 9, 2024

#48 in #anchor

Custom license

735KB
17K SLoC

[Global] http_url = https://api.devnet.solana.com ws_url = ws://127.0.0.1:8900 payer_path = /Users/jd/7i.json admin_path = /Users/jd/7i.json raydium_v3_program = 6weQP6SNcqqk8KnQGcM2rzU1Xk9o9atJD8kvASVCrN55 slippage = 0.01

[Pool] mint0 = So11111111111111111111111111111111111111112 mint1 = bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1

fee: 0.05% ==》 tick_spacing: 10

fee: 0.30% ==》 tick_spacing: 60

fee: 1.00% ==》 tick_spacing: 200

fee: 1 / 10000 ==》 tick_spacing: 10

fee: 25 / 10000 ==》 tick_spacing: 60

protocol_fee: 12 / 100

pool_id = 7LxPK1a3eNvb8dhHt2KPgAaYH1c11UE5ZcT22CpcQW4P

amm_config_key = XArUNC6iSWPqHe4QmFLqyB1ipTFCBpG7CVZbBzcgQBi amm_config_index = 6

Dependencies

~99MB
~2M SLoC