SiltDocumentation Litepaper
Appearance
Docs/Build against the Silt SDK

Build against the Silt SDK

An explorer can use standard Substrate RPC to follow blocks and read metadata. Applications use the Silt runtime API to read balances, subnets, staking positions and the order book for each alpha/SILT pair. Both interfaces run on the same node. Obtain the expected genesis hash from a trusted network announcement or operator. Check it and the runtime version when connecting.

Public mainnet endpoints

Send JSON-RPC requests to https://rpc.siltnetwork.org/. Connect to wss://rpc.siltnetwork.org/ws for subscriptions or to inspect extrinsics and events in Polkadot.js Apps. Siltapp also offers an indexed history API for mining credits, unlock heights, signed transaction receipts and direct transfers. Request GET /history/v1/status first to see the indexed tip, the finalized height and whether the results are stale. Open Polkadot.js Apps · History API and pagination

For example, GET /history/v1/blocks/1 returns the first miner credit and its unlock height. GET /history/v1/accounts/{address} returns the account’s mining totals and an activity page. A mined block can still be provisional after its reward has matured. Live first-block response · Live index status

Read a finalized snapshot

With the matching silt-wallet codec on your PATH, the Python client handles the SCALE encoding and verifies the RPC genesis. Set SILT_RPC and SILT_GENESIS for your network. Run from the repository root. This example needs a running node and uses public data only.

PYTHONPATH=substrate/clients python3 - <<'PY'
import os
from sdk_wallet import Chain

chain = Chain("silt-wallet", os.environ["SILT_RPC"], os.environ["SILT_GENESIS"])
height, block = chain.head()
version = chain.call("state_getRuntimeVersion", block)
supply = chain.query("Supply", block)
print(height, block, version["specVersion"], supply["fee"])
PY

chain.head() reads chain_getFinalizedHead and then the header at that hash. Pin every query in a snapshot to that hash. During early PoW the finalized head may still be genesis while the best mined head advances. Old hashes require a node that retains the relevant state.

At the wire level, chain_getBlockHash with [0] reads the chain identity. state_getMetadata with [blockHash] returns the FRAME metadata at that block. state_call invokes a runtime API with SCALE-encoded arguments. The example below represents the supply query. Replace the block placeholder with the full 32-byte hash from your RPC.

{"jsonrpc":"2.0","id":1,"method":"state_call","params":["SiltApi_holder_query","0x00","<finalized block hash>"]}

The RPC result is a hex string. Pass that JSON string to silt-wallet query-decode to decode the answer. To encode other requests, send their JSON to silt-wallet query-encode. For example, {"Book":{"asset":[86,69,67,84,79,82]}} asks for the VECTOR book and encodes to 0x0618564543544f52. Supply fields and order quantities use integer grains. Raw order prices use SILT grains per lot. Price and lot conventions

Pallets and transactions

Release tools read the finalized authority and proposal from SiltTransactions. Anyone can relay two offline signatures approving a release or roster change. Incoming stewards use their own keys to confirm a roster change before activation. These operations have a separate signing format from a holder's payment or grading transaction. Read the current stewards and inspect a proposal

The SDK runtime registers three FRAME pallets. JavaScript tooling commonly lowercases the first letter of a pallet name and converts call names to camel case.

Pallet and index What a client will find
System (0) FRAME system state and events, including extrinsic status.
Silt (1) Chain storage including parameters, committee and launch state. This pallet defines storage only.
SiltTransactions (2) The public transaction wrapper submit (call 1) and the block producer's mandatory begin (call 0) and begin_pos (call 2). Release and steward operations occupy calls 3–6 for releases and signer rotation.

A wallet sends SiltTransactions.submit(SignedTx). The outer Substrate extrinsic uses the bare format. Silt verifies the inner signature, nonce and action against the chain. Application operations live inside that action. For example, Paid → Market → Immediate is a price-limited immediate trade and Paid → Epoch contains subnet scoring operations. Subtensor's subtensorModule extrinsics and the usual balances.transfer and staking.nominate call paths are absent from this runtime. Runtime declaration · Submit and block-stage calls · Economic call families

Use the Silt wallet or CLI for transaction signing. Silt identifies as silt-pq and accepts ML-DSA-65 account signatures. Clients check both the runtime identity and the pinned genesis. Ask recipients for their Silt receiving address. The prefix-42 encoding alone identifies neither the network nor the key type. Wallet guide · CLI guide

Before prompting for a signature, check the expected genesis, supported runtime and transaction version, nonce, amounts and fee at one block. Sign locally and send the resulting extrinsic bytes through author_submitExtrinsic. That RPC returns the extrinsic hash. An account's economic receipt has a separate transaction ID. For final success, check inclusion of the exact bytes, then the signer's nonce and the receipt's error field at that block. An included action can fail after its fee has been collected. On timeout, look up the original transaction before asking for another signature. Signing and receipt examples

Port a Bittensor client

Use SiltSubtensor(endpoint, genesis) from silt_subtensor or AsyncSiltSubtensor from silt_async_subtensor for metagraphs, UID lookup, endpoint publication and supported weight operations. The tested Bittensor 10.3.0 workers kept their Axon, Dendrite and Synapse protocol. A v11 team runs its own HTTP transport and should verify its hotkey authentication and chain calls on Silt. Match only the adapter calls your application uses and check the return units. The runtime's SiltApi v3 exposes holder_query, consensus_state, account_nonce and staking_reward. The Rust query and answer types define the on-wire read interface. Small subnet pilot · Supported calls · Bittensor SDK migration · Query schema · Subnet guide

Polkadot.js Apps can inspect Silt blocks, metadata and events. For example, a successful signed economic action appears under siltTransactions.submit with a settlement event. Use a Silt client for its inner signature. Open the block explorer