Skip to main content

DXSP (DeX SwaP), A defi swap helper package. Swap made easy.

Project description



Logo






Swap made easy
Trade on any blockchains with uniswap based router or 0x protocol.
How to use it

   from dxsp import DexSwap
    dex = DexSwap()
    #BUY 10 USDT to SWAP with BITCOIN
    demo_tx = await dex.get_swap('USDT','wBTC',10)
    print("demo_tx ", demo_tx)

Example

https://github.com/mraniki/dxsp/blob/822cc96df0878782ca059b6dbf44bd451ccd32fa/examples/example.py#L1-L68

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

dxsp-4.2.2.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

dxsp-4.2.2-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file dxsp-4.2.2.tar.gz.

File metadata

  • Download URL: dxsp-4.2.2.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dxsp-4.2.2.tar.gz
Algorithm Hash digest
SHA256 0dafe43bc9ea2700ec13d39cfbb7986c4dfc15d9c4c5153aba8484ffb2b4c039
MD5 8ccc0b58b71845036763432ddb62cb73
BLAKE2b-256 9bfaf369939b4979e1f782b118177ad68f40537dc91a1d9089839ed5a2dcd1e9

See more details on using hashes here.

File details

Details for the file dxsp-4.2.2-py3-none-any.whl.

File metadata

  • Download URL: dxsp-4.2.2-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dxsp-4.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5788a729be14764e5078596efe6a283e33af6b4ffa98920744bc58c96ea3d47d
MD5 84ddfe1f859b4f681ee4d766dc30fe1e
BLAKE2b-256 7d355e2aba28c06fc1bb1d066cccd6e4f8170613a436e2cd9e57f2d98c73758d

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