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.3.tar.gz (6.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: everpay-0.1.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for everpay-0.1.3.tar.gz
Algorithm Hash digest
SHA256 85dbe64760bec0e8afeec0483b91ceb21d1946da16541d718a0cf12eb1bd3e76
MD5 a8ea4af29abad5ba37d341ee2b5473a5
BLAKE2b-256 3bd3a3cf8cbaf95bcd0ff0b293834aef5ebe869451c47327569baa8b686ba80f

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