Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.12 KB

File metadata and controls

43 lines (29 loc) · 1.12 KB

CNT Proxy

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.

App Tags

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

Building

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_bin

Run tests:

cargo test

Documentation

  • Contract Logic — identity computation, tag mapping, validation rules
  • Build and Deploy — prerequisites, build process, release profile
  • Spells — writing and checking transaction spells

License

MIT