Smart Contract Interaction
const liquidityContract = new web3.eth.Contract(abi, contractAddress); const addLiquidity = async () => { await liquidityContract.methods.addLiquidity(tokenA, tokenB, amountA, amountB).send({ from: userAddress }); };
Last updated