writing-arkade-contracts

Installation
SKILL.md

Writing Arkade Contracts

This skill is used from a fresh project. The compiler is not already checked out.

git clone --depth 1 https://github.com/arkade-os/compiler.git compiler

Ignore compiler/. arkadec is that checkout. The v0.1.0-test release still compiles the removed .scriptPubKey accessor. This checkout compares .script, a ScriptPubKey, and the SDK 0.5 loader reads that artifact. Commit the .ark file, the artifact, and the covenant-viz README story in one commit. Leave the compiler checkout untracked. Paths below are inside the clone.

A file may open with pragma arkade ^0.1.0;. The contracts in compiler/examples/ do.

Run arkade-product first. This file records those choices. It does not invent them.

The leaf rule

A covenant function with no matching tapscript is the server plus the function-tweaked emulator. Anyone who can build that transaction can pass the require. A require checks the transaction. It does not identify who may move the coins.

A leaf that is the receiver's signature names their key on the script they took the coins on, as compiler/examples/option/option_intent.ark does. Spending those coins is the signature. A standing address accepts sats and names the outputs in its constructor. The submitter does not choose them.

Installs
6
GitHub Stars
7
First Seen
Oct 15, 2026