Signed-source integration#
Use @seesaw/core for reading source state and building source-market
instructions in TypeScript. The private @seesaw/source-proof workspace
package provides source discovery and public signed-result capture. The
source runner (unavailable reference) is the corresponding
operator command.
- Read the market's finalized source state and policy. For an open, resolve,
halt, or close-time update, use
seesaw source prepare-requestwith the market address, operation, and deployment ID. Prepare the request as the wallet that will submit the packet. - Run the source runner with the request file and the policy's required registered witnesses. Each witness fetches the source itself and signs the canonical result. The runner saves the evidence and emits a hex packet.
- Submit the packet using
seesaw source open,resolve,halt, orupdate-closewith--market,--deployment-id, and--payload. For a public resolution submitted by a keeper, prepare the request for the keeper wallet and use the runner's keeper inbox handoff.
Check the finalized transaction before publishing evidence. Public evidence can be uploaded to the indexer and looked up by the digest accepted on chain. Credential-bearing evidence stays with the requester. Follow the runner's credential-file instructions for qualification builds that admit OpticOdds.