Skip to main content
You’re viewing an old version of the Arkade contracts documentation. Go to Your first contract for the current version.
Every page in this tab starts from the code below. It connects to the operator on Mutinynet, a Bitcoin test network, so you can fund contracts with test coins.
The SDK is built on the @scure libraries. Use @scure/base for hex and base64, and @scure/btc-signer for raw scripts.

Path helpers

Build each path with one of these SDK helpers. Each one writes exactly the script shape the operator accepts (Spending path rules).