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
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
everpay-0.1.4.tar.gz
(7.2 kB
view details)
File details
Details for the file everpay-0.1.4.tar.gz
.
File metadata
- Download URL: everpay-0.1.4.tar.gz
- Upload date:
- Size: 7.2 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.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdce6d3e3678e570d89d641e745f4d0f60068c485468ef47be96adc341c431c3 |
|
MD5 | 0fc5ab563bee3d1060bee17413c54dbb |
|
BLAKE2b-256 | 9c7a374d9142ec3028187929bc6dacd67eeb8069744e0309a01364127d7cfbe5 |