francium-sdk
francium-sdk copied to clipboard
The Francium SDK.
const fr = new FranciumSDK({connection: new Connection('https://free.rpcpool.com')}); ^ TypeError: FranciumSDK is not a constructor got this issue, can u help me pls?
I''m trying to do a simple deposit as described on doc through SDK. But says account doesn't exist. Should I create an account tx before? Code: ` const { trx,...
I cloned the repo(latest version, ), and enter the leveraged farm position of stSOL-USDT pair. When calling getUserFarmPosition(), I could only get other position than stSOL-USDT pair position. Is there...
attempting to close a position containing SOL in its pair fails. error: ``` TypeError: x.pubkey.toBase58 is not a function at sort (/@solana/web3.js/src/transaction.ts:263:10) at Array.sort () at Transaction.compileMessage (/@solana/web3.js/src/transaction.ts:261:18) at Transaction._compile...
Does anyone have some guidance on tying out numbers retrieved from this method vs eg the Raydium site. For example, for SOL-USDC via the SDK I see `lpTotalSupply: 35758909154945`, which...
I just updated the sdk to 1.2.23, and I'm now seeing an error when I call FranciumSDK.getUserFarmPosition(Web3.PublicKey). The error is `UnhandledPromiseRejectionWarning: Error: Number can only safely store up to 53...
Hey there! So I was trying to figure out how the sdk works with typescript aswell, since I have to use it for a project. I guess, I could figure...
I'm not sure how to use this, I'm not familiar with node.js but when I'm trying to use your code exemple in the readfile it return me that: `import {...