A Charms app that issues proxy tokens representing Cardano native assets (CNTs). Cardano assets are locked in a cellar, and matching proxy tokens are minted on the Charms layer. The cellar contract enforces 1:1 backing — proxy token deltas must exactly match the Cardano asset deltas.
| Tag | Name | Description |
|---|---|---|
c |
Cellar | Validates that locked CNT deltas match proxy token deltas |
n |
NFT | Non-fungible proxy token; validates CIP68 metadata references |
t |
Token | Fungible proxy token; delegates validation to the cellar |
Install the Wasm target and build:
rustup target add wasm32-wasip1
cargo update
app_bin=$(charms app build)Get the verification key:
charms app vk $app_binRun tests:
cargo test- Contract Logic — identity computation, tag mapping, validation rules
- Build and Deploy — prerequisites, build process, release profile
- Spells — writing and checking transaction spells
MIT