This template provides an end-to-end starting point for bringing your own custom data feed on-chain with the Chainlink Runtime Environment (CRE). It showcases local simulation and the core CRE workflow patterns.
What This Template Does Components:
- Contracts (Solidity) under projectRoot/contracts/evm/src: ReserveManager, SimpleERC20, BalanceReader, MessageEmitter
- CRE Workflow that fetches your off-chain data and optionally performs chain writes based on configurable triggers (cron or EVM log).
Key Technologies:
- CRE (Chainlink Runtime Environment) – orchestrates workflows with DON consensus.
TypeScript: Update .env (private key), install dependencies (bun install --cwd ./my-workflow), configure RPC in project.yaml, deploy contracts, configure config.json and workflow.yaml, run cre workflow simulate.
Go: Update .env, configure RPC in project.yaml, deploy contracts, run cre generate-bindings evm, edit config.json and workflow.yaml, run cre workflow simulate my-workflow.
Pre-deployed addresses on Ethereum Sepolia: ReserveManager, SimpleERC20, BalanceReader, MessageEmitter (see README).
Security Considerations
- Demo project – Not production-ready.
- Demo contracts – Not audited; do not use as-is in production.
- Use your own RPCs – For stability and performance, prefer private RPCs for deployment and chain writes.
- Secrets hygiene – Keep real secrets out of version control; use secure secret managers for .env values.