You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had created Account and it creating new pool , then after we create all accounts in one transaction functionality i.e
let tx = await sendTransaction(connection, wallet, instructions, [
liquidityTokenMint,
depositorAccount,
feeAccount,
...holdingAccounts,
...signers,
]);
, it show 2 popup one is "Accounts created" and second one is "Adding Liquidity...", After that Adding liquidity cancelled. was failed
This is function that i facing problem
instructions.push(
createInitSwapInstruction(
tokenSwapAccount,
authority,
holdingAccounts[0].publicKey,
holdingAccounts[1].publicKey,
liquidityTokenMint.publicKey,
feeAccount.publicKey,
depositorAccount.publicKey,
programIds().token,
programIds().swap,
nonce,
options,
programIds().swapLayout === TokenSwapLayout
)
);
Solve a problem please!!!!
The text was updated successfully, but these errors were encountered:
We had created Account and it creating new pool , then after we create all accounts in one transaction functionality i.e
let tx = await sendTransaction(connection, wallet, instructions, [
liquidityTokenMint,
depositorAccount,
feeAccount,
...holdingAccounts,
...signers,
]);
, it show 2 popup one is "Accounts created" and second one is "Adding Liquidity...", After that Adding liquidity cancelled. was failed
This is function that i facing problem
instructions.push(
createInitSwapInstruction(
tokenSwapAccount,
authority,
holdingAccounts[0].publicKey,
holdingAccounts[1].publicKey,
liquidityTokenMint.publicKey,
feeAccount.publicKey,
depositorAccount.publicKey,
programIds().token,
programIds().swap,
nonce,
options,
programIds().swapLayout === TokenSwapLayout
)
);
Solve a problem please!!!!
The text was updated successfully, but these errors were encountered: