Monolythium/Build/Guides/Using the SDK

Using the SDK.

Source-level SDK orientation while development network 69420 is stale. Verify the published package, tag, exports, protocol compatibility, and current endpoint status before use; keep economic signing disabled.

· Safe outcome

A local, version-pinned read integration.

Start with fixtures or a local node, classify remote responses as registered, stale, degraded, or advancing, and keep private keys inside a wallet or local signer. A hosted MCP service cannot hold a wallet or sign for you.

· Install

Add the SDK.

# Inspect versions and integrity before installation
$ pnpm view @monolythium/core-sdk versions --json
$ cargo search monolythium-core-sdk
· Steps

5 numbered steps.

01
Pin

Verify and pin a release.

Compare the registry package to the canonical repository tag and release notes. Do not assume this page reflects the latest exports or a published package.

02
Local

Use fixtures or a local node first.

Validate serialization, address handling, error cases, and version negotiation without depending on a remote economic network.

03
Read

Separate identity from health.

Read the registered chain identity, head height, and latest timestamp independently. A successful response must not be labeled live if the head is stale.

04
Sign

Keep authority in the wallet.

The browser wallet uses standard BIP-39-to-ML-DSA-65 recovery and an encrypted extension-local vault. Never pass a mnemonic or raw key to Stele, hosted MCP, logs, or browser storage outside the wallet.

05
Gate

Disable economic submission.

No mainnet is running. Treat transaction creation, broadcast, finality, markets, escrow, and spending-policy behavior as unavailable until a versioned release proves each capability.

· Verify

Expected public-network classification.

chain_id: 69420 identity: registered rpc: reachable observed_height: 74907 latest_timestamp: 2026-07-08T22:39:05Z status: degraded_stale economic_writes: disabled

This dated snapshot was observed on 16 July 2026. Re-probe before use and require actual advancement over time before changing the classification.

Keep the integration local-first.

Use the canonical SDK documentation and source tag for exact APIs. Move to remote reads only with explicit degraded-state handling, and do not enable economic writes before mainnet and capability release gates are complete.