Coder Social home page Coder Social logo

auto-swap-coins's Introduction

auto-swap-coin [in-dev]

Due to security risks, the centralized nature and high trading fees (percent-based) of many trading plateforms, there have been several decentralized, non-custodial asset exchanges that have come to the fore. Kyber Network and ShapeShift being the most popular. However, although these exchanges have API's, a fully automated transaction between token wallets two wallets, remains impossible.

On top of that, the web3.py usage is fairly complex and the barriar to entry is high and hopefully this package will reduce the complexity of making a transaction somewhat.

The hope of this package is to supply some simple classes/functions to allow for fully automated transactions from one wallet with a private key to another, using a few different possible coin swapping exchanges.

Installation:

Usage:

The package comes with several ETH contract addresses and ABI's in the contrancts folder.

Notes:

Contract info:

To make a contract json file you must get the the contract address and ABI from Etherscan. The contracts are usually different between token. First, search the token in the etherscann search bar, in the top right you will see the contract address in the "Profile Summary" section. Copy this and add the to the .json file. Then search the address in the search bar of Etherscan. On the page of the search result, find the "Contract" tab. Select it then look for the "Contract ABI" section of the page section. Paste this to the .json file. If this ABI doesn't work, try looking for it on the Github page for the coin.

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.