Executable example catalog#
Generated from the example registry. Use an authorized checkout with locked dependencies. Commands run from the repository root. Offline execution means fixture computation or instruction construction. It does not mean chain submission. The Node tutorial also has compilation and missing-configuration startup checks. Funded local-chain rows establish only the drills in their linked evidence report. They do not qualify a public deployment. The registry records source paths, prerequisites, expected results, tests, and last execution dates. Commands marked verification only check source or builds. The runtime runner reports them as skipped.
| Task | Runtime | Evidence | Command |
|---|---|---|---|
signed local-chain Rust journey | rust | Funded local chain | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --features rpc --example local_journey -- read |
signed local-chain Python journey | python | Funded local chain | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/local_journey.py read |
01-http-client | typescript | Source only | bun run packages/core/examples/01-http-client.ts |
02-ws-orderbook | typescript | Source only | bun run packages/core/examples/02-ws-orderbook.ts |
build a limit buy and a guarded take-profit sell | typescript | Source only | bun run --cwd packages/core vitest run src/__tests__/examples.test.ts |
04-authenticated-positions | typescript | Source only | bun run packages/core/examples/04-authenticated-positions.ts |
05-referral-and-fees | typescript | Source only | bun run packages/core/examples/05-referral-and-fees.ts |
06-build-unsigned-tx-instruction | typescript | Source only | bun run packages/core/examples/06-build-unsigned-tx-instruction.ts |
07-build-all-high-level-instructions | typescript | Offline execution | bun run --cwd packages/core vitest run src/__tests__/examples.test.ts |
08-read-decode-and-price | typescript | Source only | bun run packages/core/examples/08-read-decode-and-price.ts |
09-advanced-order-management | typescript | Offline execution | bun run --cwd packages/core vitest run src/__tests__/examples.test.ts |
10-read-only-agent | typescript | Offline execution | bun run --cwd packages/core vitest run src/__tests__/documentation-examples.test.ts |
11-authorized-execution | typescript | Offline execution | bun run --cwd packages/core vitest run src/__tests__/documentation-examples.test.ts |
12-node-quickstart | typescript | Funded local chain | node scripts/docs_examples.mjs --build-node && node scripts/docs_journey.mjs "${SEESAW_DOCS_NODE_INPUTS:?set SEESAW_DOCS_NODE_INPUTS}" --execute-local-fixture && node scripts/docs_recovery_drill.mjs "${SEESAW_DOCS_NODE_INPUTS}" --execute-local-fixture |
node-journal | typescript | Offline execution | bun run --cwd packages/core vitest run src/__tests__/documentation-examples.test.ts |
build a limit buy and a guarded take-profit sell | rust | Source only | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example build_place_order |
create_market_bundle | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example create_market_bundle |
pyth_byo_key | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example pyth_byo_key |
creator_claim_all | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example creator_claim_all |
funding_lifecycle | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example funding_lifecycle |
http_client | rust | Source only | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example http_client --features http |
idle_seat_recovery | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example idle_seat_recovery |
instruction_cookbook | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example instruction_cookbook |
market_lifecycle | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example market_lifecycle |
order_maintenance | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example order_maintenance |
position_cleanup | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example position_cleanup |
referral_resolve_and_lock | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example referral_resolve_and_lock |
spline_lifecycle | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example spline_lifecycle |
ws_orderbook | rust | Source only | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example ws_orderbook |
builder_consent | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example builder_consent |
complete_set_merge | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example complete_set_merge |
external_lifecycle | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example external_lifecycle |
governance_lifecycle | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example governance_lifecycle |
mirror_admin | rust | Source only | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example mirror_admin |
source_cleanup | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example source_cleanup |
mirror_creation | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example mirror_creation |
operator_controls | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example operator_controls |
preallocation_maintenance | rust | Source only | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example preallocation_maintenance |
reward_maintenance | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example reward_maintenance |
trading_variants | rust | Offline execution | MAX_TOTAL_SHARES=1000000000 cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example trading_variants |
currency_governance | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example currency_governance |
build a limit buy and a guarded take-profit sell | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/build_place_order.py |
create_market_bundle | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/create_market_bundle.py |
creator_claim_all | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/creator_claim_all.py |
funding_lifecycle | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/funding_lifecycle.py |
http_client | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/http_client.py |
idle_seat_recovery | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/idle_seat_recovery.py |
instruction_cookbook | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/instruction_cookbook.py |
market_lifecycle | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/market_lifecycle.py |
order_maintenance | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/order_maintenance.py |
position_cleanup | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/position_cleanup.py |
referral_resolve_and_lock | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/referral_resolve_and_lock.py |
spline_lifecycle | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/spline_lifecycle.py |
ws_positions | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/ws_positions.py |
builder_consent | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/builder_consent.py |
complete_set_merge | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/complete_set_merge.py |
external_lifecycle | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/external_lifecycle.py |
governance_lifecycle | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/governance_lifecycle.py |
mirror_admin | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/mirror_admin.py |
source_cleanup | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/source_cleanup.py |
mirror_creation | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/mirror_creation.py |
operator_controls | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/operator_controls.py |
preallocation_maintenance | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/preallocation_maintenance.py |
reward_maintenance | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/reward_maintenance.py |
trading_variants | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/trading_variants.py |
currency_governance | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/currency_governance.py |
stream snapshot refresh and reconnect recovery | typescript | Offline execution | bun run --cwd packages/core vitest run src/__tests__/documentation-examples.test.ts |
14-resumable-redemption | typescript | Offline execution | bun run --cwd packages/core vitest run src/__tests__/durable-redemption-example.test.ts |
15-browser-trading | typescript | Funded local chain | node scripts/docs_examples.mjs --build-browser && node scripts/docs_browser_journey.mjs "${SEESAW_DOCS_BROWSER_SEED:?set SEESAW_DOCS_BROWSER_SEED}" --execute-local-fixture |
browser-journal | typescript | Funded local chain | bun run --cwd packages/core vitest run src/__tests__/browser-tutorial-example.test.ts |
native-tutorial | typescript | Funded local chain | node scripts/docs_examples.mjs --typecheck (verification only) |
tutorial-rpc | typescript | Funded local chain | node scripts/docs_examples.mjs --typecheck (verification only) |
tutorial-session | typescript | Funded local chain | node scripts/docs_examples.mjs --typecheck (verification only) |
16-currency-governance | typescript | Offline execution | bun run --cwd packages/core vitest run src/__tests__/examples.test.ts |
18-discovery-rank | typescript | Source only | bun packages/core/examples/18-discovery-rank.ts |
record a market with the RPC source and replay it with the seesaw-replay binary | typescript | Source only | bun run packages/core/examples/16-replay-market.ts |
discovery_rank | rust | Source only | SEESAW_RPC_URL=<rpc url> cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --features rpc --example discovery_rank |
discovery_rank | python | Source only | SEESAW_RPC_URL=<rpc url> PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/discovery_rank.py |
replay, reproduce, simulate or compute metrics from a recording with the Rust SDK | rust | Source only | node scripts/run_replay_sdk_examples.mjs rust |
replay, reproduce, simulate or compute metrics from a recording with the Python SDK | python | Source only | PYTHONPATH=packages/sdk-python node scripts/run_replay_sdk_examples.mjs python |
17-embed-widget | typescript | Offline execution | bun run packages/core/examples/17-embed-widget.ts |
embed_widget | rust | Offline execution | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example embed_widget |
embed_widget | python | Offline execution | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/embed_widget.py |
strategy lifecycle and bounded cancellation | typescript | Source only | bun run packages/core/examples/19-strategy-lifecycle.ts |
managed maker quotes | typescript | Source only | bun run packages/core/examples/20-managed-maker-quotes.ts |
strategy lifecycle and bounded cancellation | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example strategy_lifecycle |
managed maker quotes | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example managed_maker_quotes |
strategy lifecycle and bounded cancellation | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/strategy_lifecycle.py |
managed maker quotes | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/managed_maker_quotes.py |
wallet strategy history | typescript | Source only | bun run packages/core/examples/21-strategy-history.ts |
wallet strategy history | rust | Source only | cargo run --locked -p seesaw-sdk --features http --example strategy_history |
wallet strategy history | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/strategy_history.py |
build a source-market resolution instruction | typescript | Source only | bun packages/core/examples/22-source-result.ts |
build signed-source lifecycle instructions | rust | Source only | cargo run --locked -p seesaw-sdk --example source_result |
build source-market lifecycle instructions | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/source_result.py |
build fixture witness registration instructions | rust | Source only | cargo run --locked -p seesaw-sdk --example register_attested_witness |
read source discovery, analytics and mirror lookup fixtures | rust | Source only | cargo run --locked -p seesaw-sdk --features http --example source_discovery |
read source discovery, analytics and mirror lookup fixtures | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/source_discovery.py |
read and verify a source evidence fixture | rust | Source only | cargo run --locked -p seesaw-sdk --features http --example source_evidence |
decode synthetic signed-source state and prepared receipt | rust | Source only | cargo run --locked -p seesaw-sdk --example source_status |
read finalized signed-source status directly from Solana RPC | typescript | Source only | bun packages/core/examples/27-source-status.ts "$SEESAW_MARKET_ADDRESS" |
read a known market, positions and open orders during an API outage | typescript | Source only | bun packages/core/examples/30-rpc-escape-hatch.ts "$SEESAW_MARKET_ADDRESS" "$SEESAW_USER_ADDRESS" |
read accepted source witness evidence from a finalized transaction | typescript | Source only | bun packages/core/examples/29-accepted-source-evidence.ts "$SEESAW_MARKET_ADDRESS" "$SEESAW_SOURCE_SIGNATURE" |
read accepted source witness evidence from a finalized transaction | rust | Source only | cargo run --locked -p seesaw-sdk --features rpc --example read_source_acceptance -- "$SEESAW_MARKET_ADDRESS" "$SEESAW_SOURCE_SIGNATURE" |
read finalized signed-source status directly from Solana RPC | rust | Source only | cargo run --locked -p seesaw-sdk --features rpc --example read_source_status -- "$SEESAW_MARKET_ADDRESS" |
prepare a stop offline, verify the fixture wallet's signed message, and build the nonce closure instruction | rust | Source only | cargo run --locked -p seesaw-sdk --example stop_loss |
prepare a stop offline, verify the fixture wallet's signed message, and build the nonce closure instruction | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/stop_loss.py |
open a keeper session to list, register or forget stops | rust | Source only | cargo run --locked -p seesaw-sdk --features http --example stop_loss_keeper_list |
open a keeper session to list, register or forget stops | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/stop_loss_keeper_list.py |
read exchange API instruments, a ticker, a book and freshness | rust | Source only | cargo run --locked -p seesaw-sdk --features http --example exchange_api |
read exchange API instruments, a ticker, a book and freshness | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/exchange_api.py --api-url "$SEESAW_API_URL" |
read River gateway subaccounts, a book, fee schedules and resting simple orders | rust | Source only | cargo run --locked -p seesaw-sdk --features http --example river_gateway |
read River gateway market data and optionally consume both signed streams | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/river_gateway.py --gateway-url "$RIVER_GATEWAY_URL" --key-id "$RIVER_KEY_ID" --subaccount-id "$RIVER_SUBACCOUNT_ID" --river-id "$RIVER_ID" |
consume one data frame from a signed River book or private order stream | rust | Source only | cargo run --locked -p seesaw-sdk --features river-websocket --example river_gateway_stream -- orders |
read a known market, positions and open orders from finalized RPC without the indexer | rust | Source only | cargo run --locked -p seesaw-sdk --features rpc --example rpc_escape_hatch -- "$SEESAW_MARKET_ADDRESS" "$SEESAW_USER_ADDRESS" |
read accepted source witness evidence from a finalized transaction | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/read_source_acceptance.py --rpc-url "$SEESAW_RPC_URL" --market "$SEESAW_MARKET_ADDRESS" --signature "$SEESAW_SOURCE_SIGNATURE" |
read the next permissionless native Pyth action from finalized Solana RPC | typescript | Source only | bun packages/core/examples/31-read-pyth-market-end.ts |
read the next permissionless native Pyth action from finalized Solana RPC | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/read_pyth_market_end.py --rpc-url "$SEESAW_RPC_URL" --market "$SEESAW_MARKET_ADDRESS" |
read finalized signed-source status directly from Solana RPC | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/read_source_status.py --rpc-url "$SEESAW_RPC_URL" --market "$SEESAW_MARKET_ADDRESS" |
read the next permissionless native Pyth action from finalized Solana RPC | rust | Source only | cargo run -p seesaw-sdk --features rpc --example read_pyth_market_end |
plan the next native Pyth snapshot, resolution, or expiry from finalized RPC | rust | Source only | cargo run -p seesaw-sdk --features http,rpc --example plan_pyth_market_end |
prepare an unsigned cancel and withdrawal group from account snapshots | rust | Source only | cargo run --locked -p seesaw-sdk --example cancel_and_withdraw -- MARKET.bin BOOK.bin MARKET OWNER ORDER_ID ATOMS |
prepare an unsigned cancel and withdrawal group from account snapshots | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/cancel_and_withdraw.py MARKET.bin BOOK.bin MARKET OWNER ORDER_ID ATOMS |
build wallet and ledger trades with final balance assertions | typescript | Source only | bun run packages/core/examples/23-atomic-balance-guard.ts |
build native position and expired-order cleanup alternatives | typescript | Source only | bun run packages/core/examples/24-native-position-cleanup.ts |
build unsigned authority, treasury, and market governance instructions | typescript | Source only | bun run packages/core/examples/25-market-governance.ts |
build maker series, quote, attachment and exit instructions | typescript | Source only | bun run packages/core/examples/26-spline-lifecycle.ts |
read a known market, positions and open orders during an API outage | python | Source only | SEESAW_API_URL=http://127.0.0.1:1 SEESAW_RPC_URL=<rpc url> PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/rpc_escape_hatch.py "$SEESAW_MARKET_ADDRESS" "$SEESAW_USER_ADDRESS" |
store and authenticate a synthetic encrypted vault record offline | typescript | Source only | bun run packages/core/examples/confidential-vault.ts |
authenticate a synthetic encrypted vault record only for its account | rust | Source only | cargo run --locked -p seesaw-sdk --features confidential --example confidential_vault |
authenticate a synthetic encrypted vault record only for its account | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/confidential_vault.py |
read River gateway market data, consume streams and optionally place one simple order | typescript | Source only | RIVER_GATEWAY_URL=<url> RIVER_KEY_ID=<id> RIVER_SUBACCOUNT_ID=<id> RIVER_KEY_PEM=<path> RIVER_ID=<id> bun run packages/core/examples/32-river-gateway.ts |
list the stops a stop-loss keeper holds for a wallet | typescript | Source only | STOP_LOSS_KEEPER_URL=<url> SEESAW_WALLET=<address> SEESAW_WALLET_KEY_PEM=<path> bun run packages/core/examples/33-stop-loss-keeper.ts |
read the indexer's exchange-style API: symbols, a book, trades and candles | typescript | Source only | SEESAW_API_URL=<api url> bun run packages/core/examples/34-exchange-api.ts |
set each place-order control on its own unsigned instruction | typescript | Source only | bun run packages/core/examples/35-order-controls.ts |
estimate NO taker fills against two spline seats and build the orders | typescript | Source only | bun run packages/core/examples/36-spline-no-taker-fill.ts |
plan an outcome-aware NO buy and compile the best route | typescript | Source only | bun run packages/core/examples/37-outcome-aware-route.ts |
order_controls | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/order_controls.py |
spline_no_taker_fill | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/spline_no_taker_fill.py |
outcome_aware_route | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/outcome_aware_route.py |
fetch Pyth Pull evidence with a personal Hermes key and plan its posting | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/byo_pyth_key.py --rpc-url "$SEESAW_RPC_URL" --payer "$SEESAW_PAYER" --feed-id "$PYTH_FEED_ID" |
initialize currency treasuries, roll up and claim referral fees, withdraw protocol fees | typescript | Source only | bun run packages/core/examples/38-currency-treasuries.ts |
currency_treasuries | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/currency_treasuries.py |
top up an attached seat and sample it against the liquidity floor | typescript | Source only | bun run packages/core/examples/39-seat-maintenance.ts |
seat_maintenance | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/seat_maintenance.py |
build every signed-source market route from shared vectors | typescript | Source only | bun run packages/core/examples/40-source-market-routes.ts |
administer a source deployment's witness registry, measurements and profile policy | typescript | Source only | bun run packages/core/examples/41-source-admin.ts |
register_attested_witness | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/register_attested_witness.py |
approve, update and revoke builder fee consent and decode an approval | typescript | Source only | bun run packages/core/examples/42-builder-consent.ts |
create a referral treasury shard, roll up referral fees and update operational parameters | typescript | Source only | bun run packages/core/examples/43-referral-shards-and-operations.ts |
creator_fee_claim | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/creator_fee_claim.py |
place conditional, iceberg, peg and smart-taker parents through a River gateway | typescript | Source only | bun run packages/core/examples/44-river-complex-orders.ts |
river_complex_orders | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/river_complex_orders.py |
currency_treasuries | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example currency_treasuries |
seat_maintenance | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example seat_maintenance |
creator_fee_claim | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example creator_fee_claim |
river_complex_orders | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --features http --example river_complex_orders |
rebuild and verify every signed-source artifact from the shared vectors | typescript | Source only | bun run packages/core/examples/45-verify-source-result-artifacts.ts |
verify_source_result_artifacts | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/verify_source_result_artifacts.py |
drive the raw indexer API client: auth, raw methods, wallet signing, circuit breaker | typescript | Source only | bun run packages/core/examples/46-api-client-transport.ts |
page the Kalshi source catalog to pick a signed-source market ticker | typescript | Source only | bun run packages/core/examples/47-kalshi-source-catalog.ts |
read the trader leaderboards for every period | typescript | Source only | bun run packages/core/examples/48-leaderboards.ts |
leaderboards | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/leaderboards.py |
leaderboards | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --features http --example leaderboards |
fee_schedule | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example fee_schedule |
estimate a taker fill fee and conserve its quote atoms | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/taker_fee_estimate.py |
build a Pyth Pull market-creation bundle with a personal Hermes key | typescript | Source only | bun run packages/pyth-pull/examples/byo-pyth-key.ts |
create a native market and capture its end snapshot with a personal Hermes key | typescript | Source only | bun run packages/pyth-pull/examples/byo-key-create-and-snapshot.ts |
recover the rent of an abandoned signed-source draft | typescript | Source only | bun run packages/core/examples/49-recover-source-draft.ts |
account_services | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/account_services.py |
bridge_and_relay | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/bridge_and_relay.py |
account_services | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --features http --example account_services |
bridge_and_relay | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --features http --example bridge_and_relay |
run one source keeper step: read finalized state, pick the due action, plan it | typescript | Source only | bun run packages/core/examples/50-source-keeper-step.ts |
drive every wallet account service against a fixture indexer | typescript | Source only | bun run packages/core/examples/51-wallet-account-services.ts |
plan a checked Relay bridge deposit and poll it to its final phase | typescript | Source only | bun run packages/core/examples/52-bridge-deposit.ts |
read relayed Pyth updates and refuse one for another feed | typescript | Source only | bun run packages/pyth-pull/examples/relay-updates.ts |
derive a wallet's daily-challenge progress from its trade fills | typescript | Source only | bun run packages/core/examples/53-daily-challenge-progress.ts |
open up the signed-source wire codecs: primitives, route payloads, route shapes and evidence URLs | typescript | Source only | bun run packages/core/examples/54-source-result-codecs.ts |
derive and round-trip Polymarket V2 event, condition and position ids | typescript | Source only | bun run packages/core/examples/55-polymarket-v2-ids.ts |
journal an opaque sign-and-send attempt, block a duplicate, then acknowledge and retry | typescript | Source only | bun run packages/core/examples/56-opaque-attempt-journal.ts |
read the typed indexer routes, including the schema-checked wallet routes | typescript | Source only | bun run packages/core/examples/57-api-routes.ts |
estimate a taker fill fee and conserve its quote atoms | typescript | Source only | bun run packages/core/examples/58-taker-fee-estimate.ts |
read the public achievement catalog | typescript | Source only | bun run packages/core/examples/59-achievement-catalog.ts |
read a listed outcome through the standalone CCXT adapter | typescript | Source only | bun run packages/ccxt-read-adapter/examples/read-market.ts |
read markets, orders, referrals, discovery, the exchange API and public evidence from the indexer | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/http_reads.py |
build market, order and spline instructions for a program at a custom address | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/explicit_program_builders.py |
parse and round-trip every ACE execution-contract vector | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/ace_execution_contract.py |
derive and round-trip Polymarket V2 event, condition and position ids | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/polymarket_v2_ids.py |
call every River gateway route with signed requests against a loopback fixture | python | Source only | PYTHONPATH=packages/sdk-python python3 packages/sdk-python/examples/river_gateway_client.py |
read markets, orders, referrals, discovery and the exchange API from the indexer | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --features http --example http_reads |
call every River gateway route with signed requests against a loopback fixture | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --features http --example river_gateway_client |
encode, decode and validate every compact instruction body | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example compact_bodies |
decode binary-recorder event bodies with the typed family decoders | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example log_events |
decode program accounts from raw data with the codecs readers | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example account_decoders |
build the client instruction set for a program at a custom address | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example client_explicit_program |
build the low-level instruction set from explicit accounts for a custom program id | rust | Source only | cargo run --locked --manifest-path packages/sdk-rust/Cargo.toml --example instruction_builders |
Use runtime support, the Node tutorial, the browser tutorial, and recovery for the supported boundaries.
@seesaw/hooks is private. A signed journey is qualified only for the runtime and evidence recorded in its row.
http_client and WebSocket samples require services. Their presence does not establish service availability.
The signed source-result examples use synthetic fixtures for instruction construction.
creator_claim_all parses fixture earnings. It does not send a claim transaction.
create_market_bundle uses an explicit fixture supply cap in share atoms.
Run node scripts/docs_examples.mjs --write --symbols after changing source inclusions or root exports.
Run the same command without --write to detect drift.
Read and validate a market#
Use validated account reads. The reader example uses decodeMarketAccount after owner and PDA checks.
Check layout and related account fields before transaction construction.
Place an order#
Use the Node tutorial for explicit review and authorization. Use building transactions for unsigned instruction construction.
Resolve a source market#
Use the signed source-result examples to build a resolution instruction. The program verifies the signed statement and the deployment's witness registry when the instruction lands.
Cross-language vectors#
Rust and Python use the shared protocol vectors. Vector parity does not establish a complete signed workflow.