Namespace NArk.Arkade.Scripts
Classes
- ArkadeNofNMultisigTapScript
An N-of-N multisig tapscript leaf that binds an ArkadeScript body to the emulator's signing authority. The leaf's owner set is the base multisig owners plus one tweaked pubkey per emulator — each tweak computed as
emulator_pubkey + tagged_hash("ArkScriptHash", arkadeScript) · G(see Tweak(TaprootPubKey, ReadOnlySpan<byte>)).
- ArkadeOpcodeRegistry
Combined opcode-name registry covering both standard Bitcoin opcodes (via NBitcoin's NBitcoin.Op) and the Arkade extension opcodes from ArkadeOpcode. Mirrors the ts-sdk's
OPCODE_NAMES/OPCODE_VALUEStables so ASM round-trips agree across SDKs.
- ArkadeScript
Encode/decode + ASM helpers for ArkadeScript — the Bitcoin-Script superset the emulator executes. Mirrors the ts-sdk's
ArkadeScriptcoder (and itstoASM/fromASMhelpers) so that the same script bytes round-trip across the .NET, TypeScript, and Go SDKs.
- ArkadeScriptNum
Sign-magnitude little-endian encoder/decoder for ArkadeScript numeric pushes, matching Bitcoin Script's standard
CScriptNumserialization rules but without the 4-byte (or 8-byte) range cap.
Interfaces
- IArkadeBoundScriptBuilder
Marker interface for ScriptBuilders that produce a tapscript leaf bound to an ArkadeScript body — i.e. leaves the emulator co-signs only after executing the attached script.
Enums
- ArkadeOpcode
Arkade Script extension opcodes — the introspection / byte-string / asset / EC helpers that ArkadeScript adds on top of standard Bitcoin Script.