Build · 1 of 4

Toolchain setup

Zero-install first: kascov.io runs covenant code in the browser — the fastest way to try the language before installing anything.

Silverscript (the covenant language)

You need a Rust toolchain (rustup.rs). Then:

git clone https://github.com/kaspanet/silverscript
cd silverscript
cargo test -p silverscript-lang

Compile a contract with silverc:

cargo run -p silverscript-lang --bin silverc -- contract.sil
cargo run -p silverscript-lang --bin silverc -- contract.sil -o artifact.json

And step through a contract in the CLI debugger:

cargo run -p cli-debugger -- silverscript-lang/tests/examples/if_statement.sil \
  --function hello --ctor-arg 3 --ctor-arg 10 --arg 1 --arg 2

The repo's own docs from here: the tutorial, the covenant declaration spec, and the KCC20 book for token patterns.

Argent (the app language)

git clone https://github.com/argent-lang/argent
cd argent
./check.sh

Build one of the in-repo example apps and inspect the result:

cargo run -- build examples/tickets.ag --out examples/build/tickets
cargo run --bin argentc -- inspect examples/build/tickets

Honest caveat, checked 2026-09-10: Argent has no tagged release and describes itself as not yet release-ready — set it up to prototype, not to hold funds.

All commands above are verbatim from the two repositories' READMEs, checked 2026-09-10. A container-tested end-to-end run is planned alongside deeper guides; until then, expect the usual Rust first-build wait on cargo test.