/WEB3basics

A repo that contains basic functions to interact with ethereum

Primary LanguagePython

WEB3basics

A repo that contains basic functions to interact with ethereum using Web3.py.

  1. SendEth.py contains a function that transfers eth. This has been tested on ganache-cli and kovan testnet.
  2. The deployContract folders contains functions that deploys smart contracts to ethereum. This contains an example deployment of the greeter smart contract.
  3. 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.
  4. Currently, A uniswap routerv2 abi is available. It executes swapExactTokensForTokens, addLiquidity, and approves tokens for the router.