Skip to content

txohyeah/ao.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

ao.py

python sdk for ao https://ao.arweave.dev/

install

Example

import everpay, ao

# ao cred process id
CRED = 'Sa0iBLPNyJQrwpTTG-tWLQU-1QeUAJA73DdxGGiKoJc'
signer = everpay.ARSigner('your ar wallet json file')

# use dry run to get your cred balance
result = ao.dry_run(signer, CRED, '', {'Action':'Balance'})
print(result)

# transfer
recipient = 'your recipient ar address'
message_id, result =ao.send_and_get(signer, CRED, '', {'Action':'Transfer', 'Recipient':recipient, 'Quantity':'1000'})
print(message_id)
print(result)

About

python sdk for ao

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%