A repo that contains basic functions to interact with ethereum using Web3.py.
- SendEth.py contains a function that transfers eth. This has been tested on ganache-cli and kovan testnet.
- The deployContract folders contains functions that deploys smart contracts to ethereum. This contains an example deployment of the greeter smart contract.
- The folder interactWithContract contains functions to instantiate a contract object and sign and transmit contract function calls. An example of calling a function is given by solving ethernaut problem 6 - Delegation.
- Currently, A uniswap routerv2 abi is available. It executes swapExactTokensForTokens, addLiquidity, and approves tokens for the router.