Agent documentation index: llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Skip to main content

Developer Guides

These guides explain how to build a Flare Compute Extension (FCE) on Coston2 with the FCE Go scaffold example and the fce command line interface. See the FCC overview for more information about the protocol.

Work in progress

FCC is in the final stages of development. Use Coston2 for every guide on this page, and expect the scaffold, fce, and contract interfaces to change.

Start Here​

Build Your First Extension

Deploy the scaffold template to Coston2 and send it one instruction and one direct action.

Examples​

External API Extension

Read a price from three public APIs inside the TEE, and store the median only after the contract checks the TEE signature.

Direct Actions Extension

Move a secret into the TEE, encrypted to the TEE public key with ECIES, so it is not onchain or in the image.

Wallets Extension

Sign an EVM transaction with a wallet key that tee-node generates inside the TEE and never lets out.

Run the Image on a TEE Machine​

To deploy a TEE on Google Cloud follow this guide.

Deploy a TEE on Google Cloud

Terraform creates a Confidential Space tee-machine, a public tee-proxy, and a C-chain indexer in your Google Cloud project.

Also Useful

To learn more about the FCC, check out the following pages: