multisig

command
v0.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2026 License: LGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Runnable version of every multi-sig code block from docs/examples.md. Each function is a 1:1 copy of the doc example, with only two changes:

  • Placeholder addresses replaced with real Nile testnet addresses
  • keys.GetPrivateKeyFromHex() replaced with keys.GenerateKey() (unless a real private key is provided via env or flag)

If this file fails to run, the documentation is wrong.

Usage:

go run ./examples/multisig                          # dry-run (no broadcast)
MULTISIG_KEY=<hex> go run ./examples/multisig       # live mode (key from env)
go run ./examples/multisig -key <private-key-hex>   # live mode (key from flag, unsafe: visible in shell history)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL