Skip to content

Installation

multisig is a Python library. It is not a wallet, a node, a signer, or a service. Install it into the application that coordinates your escrow.

Requirements

  • Python 3.11 or newer
  • pip
  • A supported wallet or signer for the chain you use
  • A trusted chain data source for funding, confirmation, and broadcast evidence

The core package has no runtime dependencies. Chain support is optional and imported lazily. If an optional dependency is missing, the chain module raises DependencyError.

Install the package

pip install multisig

Install one chain extra:

pip install "multisig[bitcoin]"
pip install "multisig[evm]"
pip install "multisig[monero]"

Install all chain extras:

pip install "multisig[all]"

Optional extras

bitcoin: adds embit and coincurve for descriptors, addresses, PSBTs, and signature verification.

evm: adds the Ethereum ABI, address, hashing, and signature libraries used for Safe transactions and EIP 712 digests.

monero: adds cryptography and pycryptodome for address validation, approval signatures, and hashing.

all: adds all supported chain dependencies.

Verify the install

import multisig_escrow

print(multisig_escrow.__version__)

Expected output:

0.1.0

Check that the terms authenticity helper is available:

from multisig_escrow import require_trusted_terms

print(require_trusted_terms.__name__)

Install from source

git clone https://github.com/klydz/multisig.git
cd multisig
python -m venv .venv
source .venv/bin/activate
pip install ".[all,test]"

On Windows, activate the environment with:

.venv\Scripts\activate

Monero native verifier

The Monero Oxide verifier is a native binary. It is not included in the wheel or the source distribution.

Build it from the pinned source in the repository:

cargo build --release --manifest-path tools/monero_oxide_verify/Cargo.toml

Select it explicitly:

export MONERO_OXIDE_VERIFY_BIN="$PWD/tools/monero_oxide_verify/target/release/monero_oxide_verify"

Production deployments must build from a pinned source revision, verify the dependency graph and binary digest, and ship the binary through a signed release channel. Missing, failing, or malformed verifier output fails closed.

Read Monero before using the Monero adapter.

Upgrades

Pin the version you deploy. Read the release notes and the security document before upgrading. A new release can change validation rules, accepted payloads, or the required verifier contract.

Next

Continue with Quick Start or read Core Concepts.