SilverScript Logo
EXPERIMENTAL — Testnet-12 Only

SilverScript

Kaspa's first high-level smart contract language and compiler. Write DeFi vaults, native asset management, and covenants directly on Kaspa L1.

Key Features

Compiles to Native Kaspa Script
No VM overhead — contracts run directly on L1
CashScript-Inspired Syntax
Loops, arrays, and function calls beyond raw script
UTXO Local State
Complements vProgs for shared state execution
Source-Level Debugger
Step through contracts with the built-in sil-debug CLI
pragma silverscript ^0.1.0;

contract TransferWithTimeout(
    pubkey sender,
    pubkey recipient,
    int timeout
) {
    entrypoint function transfer(sig recipientSig) {
        require(checkSig(recipientSig, recipient));
    }

    entrypoint function timeout(sig senderSig) {
        require(checkSig(senderSig, sender));
        require(tx.time >= timeout);
    }
}

Get Started

Build & Test
git clone https://github.com/kaspanet/silverscript
cargo test -p silverscript-lang
Debug a Contract
cargo run -p cli-debugger -- \
  tests/examples/if_statement.sil \
  --function hello --ctor-arg 3 --arg 1

Kaspa Covenant Roadmap

Tooling
SilverScriptLIVE on Testnet-12
High-level covenant authoring → compiles to Kaspa Script
Consensus
KIP-20 Covenant IDs
Stable UTXO lineage without recursive proofs
Execution
vProgs
Shared state / L2 node framework
Target: May 5, 2026 Covenant Hardfork

Resources

Kaspa runs at 10 BPS — live! 🔷