Skip to main content

Python wrappers for everpay.io api

Project description

everpay.py

Python wrappers for everpay.io api.

Install with

pip install everpay

Examples

  • query
import everpay
api_server = 'https://api-dev.everpay.io'
e = everpay.Everpay(api_server)
e.get_info()
e.get_balance('0x61EbF673c200646236B2c53465bcA0699455d5FA', 'ethereum', '42', 'eth')
  • transfer
import everpay
api_server = 'https://api-dev.everpay.io'
fee_recipient = '0x6451eB7f668de69Fb4C943Db72bCF2A73DeeC6B1'
address = ''
private_key = ''
receiver = ''
account = everpay.Account(api_server, address, private_key, None, fee_recipient)
t, result = account.transfer(receiver, int(0.001 * 10**18), 'ethereum', '42', 'eth')
print(t.ever_hash)
print(result)
  • bundle

see example/bundle_tx.py

todo

  • [] deposit/withdraw

Project details


Download files

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

Source Distribution

everpay-0.1.5.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file everpay-0.1.5.tar.gz.

File metadata

  • Download URL: everpay-0.1.5.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.9

File hashes

Hashes for everpay-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6db0123cb9134c5ccf1d291a4ec7a28b02463ddf6e675b6d118336f36130847c
MD5 2a22ac14b680a09d1094f27d91baf6d7
BLAKE2b-256 4a6c362acd1f59d3ccd6b635fd55e9f628184f2303df0764897c239d0b3855b1

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