Skip to Content
⚠️ Alert: Sylan is under active development—only trust contract/wallet addresses announced on our official channels; we will never DM you, ask for funds, or run surprise airdrops/presales.
ProviderReference

Reference — Snapshot & Signing

Snapshot (EIP‑712 primaryType: Snapshot)

{ apiId: bytes32, seqNo: uint256, providerTs: uint64, // unix ms when you produced the snapshot ttl: uint64, // ms (0 = no TTL) contentHash: bytes32 // keccak256(canonical JSON) }

Domain

name: "SylanProviderSnapshot" version: "1" chainId: <cfg.chainId> verifyingContract: <cfg.consensusAddress>

Signature

  • Viem account derived from providerSignerKey
  • Returned as providerSig in your JSON response

Content Hash

contentHash = keccak256(canonicalStringify(payload)) // canonicalStringify: JSON stringify with sorted object keys

Sequence Storage

Sequence numbers are persisted per apiId in ~/.sylan/seq.json. You can change the directory via storageDir in advanced setups.

Last updated on