ain-py 1.3.0

Creator: railscoderz

Last updated:

0 purchases

ain-py 1.3.0 Image
ain-py 1.3.0 Images

Languages

Categories

Add to Cart

Description:

ainpy 1.3.0

ain-py
A python version of ain-js.
Installation
pip install ain-py

Examples
from ain.ain import Ain
import asyncio

ain = Ain('https://mainnet-api.ainetwork.ai/')

async def process():
accounts = await ain.db.ref('/accounts').getValue()
print(accounts)

loop = asyncio.get_event_loop()
loop.run_until_complete(process())

Test How-To

Clone AIN Blockchain and install

git clone [email protected]:ainblockchain/ain-blockchain.git
yarn install


Start blockchain locally

bash start_local_blockchain.sh


Run tests

tox

License
This project is licensed under the MIT License

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.