A comprehensive repository of Internet Computer (IC) canister build recipes using Handlebars templates.
This repository serves as the official Dfinity recipe repository for various ICP projects. Recipes are specified as Handlebars templates that generate build configurations for different types of IC canisters.
Recipes are consumed by referencing them in your icp.yaml
file:
canister:
name: my-canister
recipe:
type: prebuilt
url: https://github.com/dfinity/icp-recipes/releases/download/v1.0.0/recipes/prebuilt/recipe.yml
configuration:
path: ../dist/my-canister.wasm
sha256: 17a05e36278cd04c7ae6d3d3226c136267b9df7525a0657521405e22ec96be7a
- prebuilt: For using pre-compiled WASM files
- assets: For the official IC assets canister with asset synchronization
- motoko: For compiling Motoko source code
- rust: For building Rust canisters with Cargo
See Recipe Authoring Guide for guidelines on creating new recipes.
This repository follows semantic versioning. Each release publishes recipe artifacts that can be referenced by URL.
- Recipe validation framework
- Advanced testing infrastructure
- Template repository for creating custom recipe libraries
- Enhanced documentation with interactive examples
- Community recipe submission process
Contributions are welcome! Please see the contribution guide for more information.
This project is licensed under the Apache-2.0 license.