Skip to content

Python Library Facilitating Interaction with Various Networks Through Web3 for Seamless Transaction Execution and Router Functionality.

License

Notifications You must be signed in to change notification settings

simonpotel/DEXcryptoLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEXcryptoLib

DEXcryptoLib is a Python library designed to streamline interactions with the blockchain. The primary objective of this project is to replicate the functionalities of smart contracts, particularly those found in decentralized exchanges like Uniswap or Quickswap, facilitating direct interaction with smart contracts using your code.

For example, for ERC 20 Tokens functions, refer to: ier20.py in Lib/Web3/ier20.py.

Important

The project structure is based on my understanding of web3, hence expect periodic updates to the main structure of the project to align with changes in smart contracts or networks.

Caution

This is a library, and it does not govern all transaction security. If you encounter any issues during your transactions, they may be caused by factors unrelated to the library or its code.

This library leverages Python's native Web3 API, which can be installed using the following command:

pip install web3

Deployment

Installation

To include the project as a submodule of your project, run:

git submodule add https://github.com/simonpotel/DEXcryptoLib

To get the latest version of the library:

git submodule update --remote

Usage

Include the library in your code as follows:

from DEXcryptoLib.Lib import *

Usage Examples (Snippets)

For usage examples, refer to the snippets provided in DEXcryptoLib\snippets*.

About

Python Library Facilitating Interaction with Various Networks Through Web3 for Seamless Transaction Execution and Router Functionality.

Topics

Resources

License

Stars

Watchers

Forks

Languages