Script to Add liquidity to liquidity pool on ApeSwap

Job ID: 31645456

Budget: €30 – €250 EUR

Im looking for someone to create a script that checks amount of PEAR on a wallet and adds liquidity to the PEAR-BUSD pool on Apeswap (BSC chain)

I tried to script it, but I dont know how to properly generate the values deadline, amountBDesired, amountAMin and amountBMin

Example transaction:

https://bscscan.com/tx/0x49d9856365882061750d050cda3b687160d23f4eed4dad2d07c11a9472c4276f

Apeswap link:
https://app.apeswap.finance/swap?inputCurrency=0xdf7C18ED59EA738070E665Ac3F5c258dcc2FBad8&outputCurrency=0xe9e7cea3dedca5984780bafc599bd69add087d56
Related categories: JavaScript Node.js Blockchain Ethereum