A friendly, Pythonic wrapper for the Nado Protocol SDK
Project description
Pynado
A friendly, Pythonic wrapper for the Nado Protocol SDK. Pynado simplifies the interaction with the Nado Protocol by abstracting low-level details and handling unit conversions automatically.
Installation
pip install pynado
Usage
1. Setup
Create a .env file in your project root to store your private key securely:
NADO_PRIVATE_KEY='your_private_key_here'
2. Basic Example
Initialize the client and check your account details:
from pynado import Nado
# Initialize the client (defaults to TESTNET and loads key from .env)
client = Nado()
# Access properties directly
print(f"Wallet Address: {client.address}")
print(f"USDT Balance: {client.balance:,.2f}")
3. Advanced Initialization
You can also pass arguments explicitly if you prefer not to use environment variables or need to switch networks:
client = Nado(private_key="0x...", mode="MAINNET")
Features
- Simple Interface: One class (
Nado) to rule them all. - Automatic Scaling: Handles 18-decimal scaling for you (returns
floatfor balances). - Environment Friendly: Native support for
.envfiles.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pynado-0.1.1.tar.gz.
File metadata
- Download URL: pynado-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed9f2039cace050dd269d347c5082a1d599530b5189bddb353427920dc93eeff
|
|
| MD5 |
520ff73bdc95661566d2a1206d61329e
|
|
| BLAKE2b-256 |
856fc72e7591297515e3679feac2e52ee0843a2b1eb29fc84a9ef91ba13d7068
|
File details
Details for the file pynado-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pynado-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04dee351dd33d1c6b5bdab41b0656c62dbd37ae6473585d441a9682d0c50c2cf
|
|
| MD5 |
96c1bc160ceda245e0222b5ed7bcd43a
|
|
| BLAKE2b-256 |
6e4a360be3322d42b59814359a04c49bcf51b360487e7ae721dbf5fbb88727dd
|