Skip to content
Image

Charms ✨

Programmable Tokens on Bitcoin (And Beyond)

Start a new project

Terminal window
charms app new my-token

Implement application logic

pub fn app_contract(
app: &App,
tx: &Transaction,
x: &Data,
w: &Data) -> bool
{
todo!()
}

Check your spells

Terminal window
## edit the spell at ./spells/mint-nft.yaml, then run
charms spell check --spell=./spells/mint-nft.yaml --app-bins=…

These docs follow the Diátaxis framework.

Tutorials

Learn by building, from install to a charm on Bitcoin. Start here →

How-to guides

Task-focused recipes: prove, beam, integrate a wallet, and more. Browse →

Concepts

Understand apps, spells, beaming, and Scrolls. Read →

Reference

The CLI, spell structure, SDK, Prover API, and Scrolls canister. Look up →