Making Trades on Pancakeswap
Budget: $80 – $150 USD
I need a script written in Ruby which will check token BUSD price and Sell or Buy tokens with BUSD and BNB. I assume the following functions (swapETHForExactTokens, swapExactETHForTokens) from documentation (https://docs.pancakeswap.finance/code/smart-contracts/pancakeswap-exchange/v2/router-v2) should be used based on whether selling or buying tokens.