Installation
Install the dango package from PyPI. Requires Python 3.14 or newer.
Install
uv add dangoDependencies
The wheel pulls in three runtime dependencies automatically:
eth-account(>= 0.10) — secp256k1 primitives and BIP-39 mnemonic supportrequests(>= 2.31) — sync HTTP transport for GraphQL queries and mutationswebsocket-client(>= 1.5) — WebSocket transport forgraphql-transport-wssubscriptions
The SDK is sync-only. There is no asyncio surface.
Verify
from dango.info import Info
from dango.utils.constants import MAINNET_API_URL
info = Info(MAINNET_API_URL, skip_ws=True)
print(info.query_status())If the import resolves and query_status() returns a dict with a chainId key, the install is good.
Next
- First call — a runnable read query
- Project setup — environment variables, networks, signer construction