Python sdk for arseeding
Project description
everpay.py
Python sdk for arseeding.
Install with
pip install arseeding
- Quick start
upload file python.pdf to arweave using arseeding, and pay with usdc in your everapy account.
import arseeding, everpay
# ar account
#signer = everpay.ARSigner('ar_wallet.json')
# eth account
signer = everpay.ETHSigner(pk)
data = open('python.pdf', 'rb').read()
o = arseeding.send_and_pay(signer, 'usdc', data)
print(o['itemId'])
#file id is o['itemId'], you could get you file in url https://arseed.web3infura.io/o['itemId'] or http://arweave.net/o['itemId'] in a few minutes
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
arseeding-0.0.2.tar.gz
(3.9 kB
view details)
File details
Details for the file arseeding-0.0.2.tar.gz
.
File metadata
- Download URL: arseeding-0.0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b77103966bfbf0434058f23cc5b6fe5c5e1ad6565d5dbd80f7d279b0f353b85 |
|
MD5 | 8cfcb6e5dec3bc8223f5c1baa2f62058 |
|
BLAKE2b-256 | 1c9a0949eae5a8b56709840e6b3139aa9cf16c26391c663f3ccef7355cfb848e |