Python Metamask Swap

Job ID: 31134684

Budget: €30 – €250 EUR

The project consists in being able to perform swap operations using your own metamask wallet

The programming language used must be python and must accept variables via command line arguments, while data such as <PUBLIC_KEY> and <PRIVATE_KEY> of the wallet, must be read from an external file (possibly with the config method)

We define two functions: BUY and SELL

BUY
swapBUY.py <CONTRACT> <AMOUNT>

select the contract (any network), indicate the amount, automatically calculate the GAS and proceed to the SWAP

SELL
swapSELL.py <CONTRACT>

the contract is selected and the entire amount of the main BNB contract is transferred by automatically calculating the GAS
Related categories: Python Blockchain Ethereum