EVM Hardhat Integrations
Set up the Hardhat integration to post requests and read results from SEDA Core using the prover contract on your target EVM network.
Last updated
Was this helpful?
Set up the Hardhat integration to post requests and read results from SEDA Core using the prover contract on your target EVM network.
Authoritative references: (Label only, do not fetch)
Access SEDA Core from any EVM Network: https://docs.seda.xyz/home/for-developers/define-your-delivery-method/seda-core/seda-core-infrastructure-overview/access-seda-core-from-any-evm-network
This runbook sets up the Hardhat integration so an EVM contract can post requests and read verified results from SEDA Core through a prover contract.
Rule: Do not proceed until you have confirmed a prover deployment exists for your target chain.
You already deployed an Oracle Program on SEDA (required).
You verified and selected a prover address for your target chain:
Checkpoint:
You have:
prover contract address (from prover deployments table)
oracle program id (from Core deploy output)
Copy/paste:
Checkpoint:
Expected:
hardhat project files present
bun install completes without errors
Copy/paste:
Checkpoint:
compile succeeds
tests pass
Docs pattern: the contract constructor takes:
_sedaCoreAddress = prover contract address for your target chain
_oracleProgramId = your deployed Oracle Program ID
Checkpoint:
_sedaCoreAddress matches the prover address you copied from the deployments page
_oracleProgramId matches your deployed OP ID from Core deploy output
Follow the “post request” and “read results” functions described in the EVM access docs:
Access SEDA Core from any EVM Network: https://docs.seda.xyz/home/for-developers/define-your-delivery-method/seda-core/seda-core-infrastructure-overview/access-seda-core-from-any-evm-network
Checkpoint:
contract stores a requestId
you can retrieve/verify the result via the prover contract path
Last updated
Was this helpful?
Was this helpful?
git clone [email protected]:sedaprotocol/seda-starter-kit.git
cd seda-starter-kit/integrations/evm-hardhat
bun installlsbun run compile
bun run test