How to open liquidity account?
import { SwapActionGenerator } from "@a-dex/a-dex-sdk";
const actionsGen = new SwapActionGenerator("swap.adex");
const act = await actionsGen.open(
[
{
actor: "trader.adex",
permission: "active",
},
],
"swap.adex",
"trader.adex",
"0,LPA",
"trader.adex"
);
Last updated
Was this helpful?