Skip to main content

Python DEX trading API

Project description

CCDXT – CryptoCurrency Decentralized eXchange Trading Library

LanguagesCount LanguagesTop Commit CommitLast MIT License

Table of Contents
  1. About The Project
  2. Getting Started
  3. Supported Cryptocurrency Exchanges
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

Here's why:

  • ccxt only has centralized exchange not on Decentralized
  • each swap has there own function
  • It is intended to be used by coders, developers, technically-skilled traders, data-scientists and financial analysts for building trading algorithms.

(back to top)

Built With

  • Python
  • Solidity

Getting Started

from ccdxt.exchange import Klayswap,Meshswap,Orbitbridge

if __name__ == "__main__" :
    
    klayswap = Klayswap()
    klayswap.account = ''
    klayswap.privateKey = ''
    
    #Klayswap Token Balance
    print(klayswap.fetch_balance(['KETH','ZEMIT']))
    
    #Meshswap Token Swap
    print(meshswap.create_swap(0.1, 'USDC' , 0.0000000000001, 'oZEMIT'))

    orbitbridge = Orbitbridge()

    orbitbridge.account = klayswap.account
    orbitbridge.privateKey = klayswap.privateKey

    #Orbitbridge Token bridge
    print(orbitbridge.create_bridge(0.1, 'ZEMIT','KLAYTN', 'MATIC', meshswap.account))

Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  • pip

    pip install git+https://github.com/MunSunouk/ccdxt.git
    
  • Clone the repo

    git clone https://github.com/MunSunouk/ccdxt.git
    

(back to top)

Supported Cryptocurrency Exchanges

logo chain id name ver
klayswap klaytn 1 Klayswap API Version 1
Klex Finance klaytn 2 Klex Finance API Version 1
Pala swap klaytn 3 Pala swap API Version 1
Pangea swap klaytn 4 Pangea swap API Version 1
neuron swap klaytn 5 neuron swap API Version 1
claimswap klaytn 6 claimswap API Version 1
definix klaytn bsc 7 definix API Version 1
Meshswap polygon 6 Mesh swap API Version 1
Oribitbridge klaytn polygon 7 Orbit bridge API Version 1

(back to top)

Roadmap

  • Multi chains Support
    • klaytn
    • polygon
    • fantom
    • etherium
  • Multi call Support
  • Cross chsins Support
  • Optimism path Support
  • Async Support

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Contributor :@munseon_ug

Project Link: https://github.com/MunSunouk/ccdxt

(back to top)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ccdxt-0.1-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ccdxt-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ccdxt-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for ccdxt-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0f338076c5db1138b7f9884c6624130669895e367804078f19f308fc48e18695
MD5 d13f0690c75cd616d6f39d1fecc6c1d3
BLAKE2b-256 3f0cc00a02b4b695074aac39c55afabcda0f0faac31cd18182e55a98af9dc654

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page