Vordium LabsDocs

Python SDK

Install the published SDK, choose a network, and the modules it offers — orders, sessions, agents, feeds and the bridge.

Bash
pip install vordium==1.4.6

The source is public at github.com/Vordium/vordium-sdk and every release on PyPI is published from it with a verifiable provenance attestation.

Choose a network

Python
from vordium import use_network
use_network("testnet")      # or "mainnet"

Every address the SDK uses then comes from that network's own spec. Before signing, the SDK reads the chain id and genesis of the node it sends to and refuses to sign if they are not the network you chose.

Modules

ModuleWhat it does
vordium.Vordexmarkets, oracle and mark prices, the book, funding, positions, balance; places and cancels orders signed by a session key
vordium.domainsthe EIP-712 domains, salts and separators for a chain id and genesis
vordium.eip712the typed data and digest of every operation; sign_op, sign_agent_op
vordium.agent_opsagent registration, renaming, policies, lock clearing; sign_owner_op builds the exact /submit body
vordium.policythe agent policy rules, checked before you sign
vordium.mmbatch requests, cancel all, modify, Market Maker Protection, one nonce clock per account
vordium.schedule_cancelthe dead-man switch
vordium.feedsthe market-maker feeds with snapshot, sequence and gap handling (standard library only)
vordium.bridge_v4deposit checks, withdrawal intents, deposit and withdrawal status

Examples

The Python quickstart and your first agent are complete, tested programs. A read:

Python
# pip install vordium==1.4.6
from vordium import Vordex, use_network

use_network("testnet")
dex = Vordex()
for m in dex.markets()[:3]:
    print(m["symbol"], m["mark_price"])        # this list carries plain decimal prices

Network facts last checked against the network 2026-10-22 13:00:37 UTC · mainnet spec v28 · testnet spec v8

On this page