A hands-on bootcamp for building confidential computing workflows with Chainlink Runtime Environment (CRE).
π₯οΈ Environment Setup
Please complete the following steps before the bootcamp to ensure a smooth learning experience.
This Tutorial
This tutorial is available at:
https://smartcontractkit.github.io/CRE-Confidential-bootcamp/
Important Prerequisites
To get the most out of this bootcamp, we recommend preparing the following environment before you start. Some items will be briefly covered in class so we can spend more time on hands-on work.
Required
- Node.js v20 or later - Download here
- Bun v1.3 or later - Download here
- CRE CLI - Installation guide
- CRE account - Sign up at cre.chain.link and complete
cre login(see CRE CLI Quick Setup) - Deployment access - Fill in this form with your own information to get deployment access
- Git - Download here
Optional (only needed for the onchain write exercise)
- Add the Ethereum Sepolia network to your wallet - Add it here
- Get Sepolia ETH from a faucet - Chainlink Faucet
Note: Both case studies serve deterministic API data from a local mock server, so you can complete every demo without a real LLM API key.
Recommended
- π Install mdBook - to build and read this book locally
cargo install mdbook
Reference Code Repository
The two case studies used in this bootcamp come from the official CRE templates repo. We will clone and walk through them together in class:
git clone https://github.com/smartcontractkit/cre-templates.git
The two case studies live at:
| Case Study | Path |
|---|---|
| AI Audit Firewall | cre-templates/starter-templates/confidential-workflows/ai-audit-firewall |
| Automated Liquidation Protection | cre-templates/starter-templates/confidential-workflows/automated-liquidation-protection |
Note: You donβt need to read the code ahead of time! We will walk through the key parts line by line during the bootcamp. Just clone the repo in advance.