Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

bitshares/BitShares-Gateway-old

 
 

Repository files navigation

Graphene-Python-Gateway

An Open Source Gateway for BitShares/Graphene Blockchains

╔══════════════════════════╗
║ ╔═╗┬─┐┌─┐┌─┐┬ ┬┌─┐┌┐┌┌─┐ ║
║ ║ ╦├┬┘├─┤├─┘├─┤├┤ │││├┤  ║
║ ╚═╝┴└─┴ ┴┴  ┴ ┴└─┘┘└┘└─┘ ║
║ ╔═╗┬ ┬┌┬┐┬ ┬┌─┐┌┐┌       ║
║ ╠═╝└┬┘ │ ├─┤│ ││││       ║
║ ╩   ┴  ┴ ┴ ┴└─┘┘└┘       ║
║ ╔═╗┌─┐┌┬┐┌─┐┬ ┬┌─┐┬ ┬    ║
║ ║ ╦├─┤ │ ├┤ │││├─┤└┬┘    ║
║ ╚═╝┴ ┴ ┴ └─┘└┴┘┴ ┴ ┴     ║
╚══════════════════════════╝

The deposit gateway is a 24/7 www.falconframework.org API server, which the client will approach via JSON. Upon request for a deposit address, it launches an foreign chain block operation listener. The listener will await an incoming transfer of foreign chain coins from the client, until timeout. Upon "hearing" the transfer, the BitShares/Graphene side auto issues a respective UIA.

The withdrawal side is a 24/7 BitShares/Graphene block operation listener, which upon hearing an incoming UIA deposit - with a memo containing a withdrawal address, it automatically withdraws the matching foreign chain asset to the client's account.

Both Deposit and Withdrawal functions for all gateway assets run concurrently in a single terminal leveraging python multiprocessing and are thus built to handle multiple clients simultaneously.

Currently gateway tokenization of the following coins are supported:

  • EOSIO - EOS
  • Ripple - XRP

This project has been sponsored by www.bitshares.org

NON STANDARD MODULES WHICH REQUIRE INSTALLATION
  • falcon
  • pybitshares
  • eosiopy
  • requests
  • websocket-client
  • secp256k1
  • ecdsa
  • aioxrpy

Be advised, although this gateway has been live tested on chain and is being peer reviewed, it should be considered beta software and has not yet been deployed live to the public.

License: www.wtfpl.net

litepresence Jan 2021

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Dockerfile 0.4%