Python Metamask SWAP Gateway

Job ID: 31192983

Budget: €30 – €250 EUR

The project consists in the realization of a metamask gateway for SWAP

BNB <-> Contract

everything must work from the command line by entering the arguments
If BUY (BNB -> Contract Token) you must indicate the address of the contract, the amount (in BNB) and the maximum slippage to use (%)

If SELL (Contract Token -> BNB) it will be necessary to indicate only the contract, transferring all the tokens present in the main BNB wallet

The SELL must be performed at any slippage

BUY
gateway.py buy 0x234567845678 0.1 5

SELL
gateway.py sell 0x234567845678
Related categories: Python Blockchain Ethereum