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 hashes)