Giter VIP home page Giter VIP logo

uniswap2-queries-and-web3---ethereumpython's Introduction

Uniswap2-Queries-and-Web3---EthereumPython

A project of data retrieval from Uniswap2 in a DataFrame coded in Python3.9.5 on Jupyter Notebook-VScode.

Instructions for Manipulating_Data_Uniswap.ipynb File

#Libraries Needed for Manipulating_Data_Uniswap.ipynb file:

  1. requests
  2. json
  3. pprint

#For flexibiliy: create environment open cmd > cd <my_vebev_path> > python -m venv newenv > .\newenv\Scripts\activate

#Installation Procedure (only if you don't have these libraries already installed) --> Install through bash terminal 1. pip install requests 2. pip install json 3. pip install pprint

#Run the code now in your jupyter terminal, and you are good to go. ** Advice: Use Jupyter in VScode for easy editing, github communications.

-------------x----------------------x--------------------x-----------------------------

Instructions for Reading_Info_Contract_Ethereum.ipynb File

#Libraries Needed for Reading_Info_Contract_Ethereum.ipynb file:

  1. json
  2. web3

#Installation Procedure (only if you don't have these libraries already installed)

  1. pip install json
  2. pip install web3 ( In case of error: failed Iru-dict, failed setup.py, etc, Follow this: Install Visual C++ build tools 2019 package from the link in the error and restart the system.)

#Infura_url: the url is taken from my acc and should not work when I delete it. It is advisable to singup at Infura > create new proj > settings > EndPoint > *copy http:// url from here * and replace it with Infura_url

#Address of contract is taken from : https://etherscan.io/address/0xd26114cd6EE289AccF82350c8d8487fedB8A0C07#tokentxns

You can take any contract address suitable to you.

#ABI: Scroll down the page you visited to get contract address and you should find "Contracts" TAB > a text box down named "ABI"> Copy full codes

uniswap2-queries-and-web3---ethereumpython's People

Contributors

daksh-intwala avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.