Vordium Python SDK
The AI Layer for Crypto.
Install
pip install vordium
Quick Start
Initialize your agent
vordium init
Python
from vordium import Agent
agent = Agent()
print(agent.address)
print(agent.balance)
Run autonomously
import asyncio
from vordium import Agent
agent = Agent()
async def strategy(agent):
print(f"Block {agent.block} | {agent.balance} VORD")
asyncio.run(agent.run(strategy=strategy))
Agent Operator (session-key trading, bounded by on-chain caps)
Point an AI at your agent. A session key trades within on-chain caps (AA1436) — it can never withdraw or change caps (owner-only). The SDK is a convenience + local pre-check; the chain is the authority. Full guide: OPERATOR.md.
from vordium import SessionSigner, AgentBox, Operator
signer = SessionSigner.from_env() # reads VORDIUM_SESSION_KEY (never hardcode)
box = AgentBox() # graceful reads (None until predeploys live)
op = Operator(owner="0xYourTradingAccount", signer=signer, box=box)
caps = box.read_caps(op.owner) # None until the agent predeploys go live
resp = op.place_order( # local cap pre-check -> session-sign -> submit
pair_id=1, side=0, size=10**18, price=250000000000,
leverage_bps=20000, client_nonce=1, caps=caps,
)
Templates you run on your own infra: examples/operator_market_maker.py,
examples/operator_momentum.py, examples/operator_grid.py.
CLI Commands
vordium init Create new agent wallet
vordium status Check chain status
vordium balance Check VORD balance
vordium fund Get testnet VORD
vordium send <to> <amount> Send VORD
vordium run agent.py Run agent script
vordium Interactive mode
Network
| Chain ID | 713714 |
| RPC | https://rpc.vordium.com |
| Explorer | https://vordscan.io |
| Faucet | https://faucet.vordium.com |
Links
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 vordium-0.3.0.tar.gz.
File metadata
- Download URL: vordium-0.3.0.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fb987ca92c5aba0719e7043a73ce76195ed6d1624da4b511124084f86eef5dd
|
|
| MD5 |
7e7979ba01d1228e504171c148a62ea7
|
|
| BLAKE2b-256 |
606b3ab959c56547858269210272aec6a9ef787bb5c3ee10c552536e86000eba
|
File details
Details for the file vordium-0.3.0-py3-none-any.whl.
File metadata
- Download URL: vordium-0.3.0-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237a42308581f37408f68d68316b0f1483bf961970fc744206470da307539698
|
|
| MD5 |
d09ba3f9d69836d4800d48a91e10c521
|
|
| BLAKE2b-256 |
d66a482dfe4338a00d2023b7e3ab14c7cee942ade429fc76b02c0a42436e8edc
|