Deploy Oracle Program (Upload to SEDA Network)

Deploy an Oracle Program to SEDA Core, capture Program ID, and post a Data Request. Includes env template and command checkpoints.# Deploy + execute via SEDA Core Core uses an onchain request lifecyc

This page is the deployment step for Oracle Programs. It applies whether you plan to execute via SEDA Core or SEDA Fast later. Output of this page is: Oracle Program ID.

Canonical URL: https://docs.seda.xyz/home/for-agents/agent-modules/deploy-oracle-program-upload-to-seda-networkarrow-up-right

Source file: modules/50-execute-core.md

Authoritative references:

This runbook deploys an Oracle Program to SEDA Core and posts a Data Request.

Rule: Do not proceed unless your wallet is funded (testnet faucet) and you have built + tested your OP locally.


Prereqs

  • You built and tested the Oracle Program: modules/20-build-op.md

  • You have wallet + tokens: modules/30-wallet-and-tokens.md


1) Configure .env

Create or edit .env in the project root and set the following:

SEDA_RPC_ENDPOINT=https://rpc.testnet.seda.xyz
SEDA_EXPLORER_URL=https://testnet.explorer.seda.xyz

# Your mnemonic (required to upload binaries / interact with DRs)
SEDA_MNEMONIC=
# Set after upload:
ORACLE_PROGRAM_ID=

Checkpoint (confirm variables exist without leaking secrets):


2) Deploy (upload OP) and capture Oracle Program ID

Run:

Checkpoint:

  • output includes an oracleProgramId

  • copy it into .env as ORACLE_PROGRAM_ID


3) List Oracle Programs (sanity check)

Run:

Checkpoint:

  • your oracleProgramId appears in the list


4) Post a Core Data Request

Run:

Checkpoint:

  • output includes request identifier(s) and a result table

  • you can open the explorer link and view lifecycle details


Next step (optional)

Consume results from EVM:

  • modules/60-prover-deployments.md

  • modules/60-relay-evm-hardhat.md

Last updated

Was this helpful?