Skip to main content

arc76-bitcoin

ARC76 Account

Deterministic ARC76 account derivation for Bitcoin (native SegWit / bech32 addresses).

Usage

pip install arc76-bitcoin
from arc76.bitcoin import get_account, get_email_account

account = get_account(password)  # slot 0
print(account.address())         # bech32 P2WPKH address, e.g. "bc1..."
print(account.wif())             # WIF-encoded private key

email_account = get_email_account(email, password)

Both functions return a BitcoinAccount(private_key, public_key):

  • private_key — the raw 32-byte secp256k1 private key (identical to the ARC76 seed).
  • public_key — the 33-byte compressed secp256k1 public key.
  • .address(hrp="bc") — the native SegWit (bech32, P2WPKH) address; pass hrp="tb" for testnet.
  • .wif() — the WIF-encoded private key (compressed-public-key convention).

Elliptic-curve operations use coincurve, Python bindings for libsecp256k1 — the same constant-time, side-channel-hardened library Bitcoin Core itself uses for secp256k1. RIPEMD-160 (for the address hash) is taken from pycryptodome rather than the standard library, since hashlib's ripemd160 depends on OpenSSL's legacy provider being enabled (not guaranteed on OpenSSL 3.0+); pycryptodome ships its own implementation so address derivation doesn't silently vary by platform.

Please use a password of at least 50 characters for real accounts — the account's security is entirely the password's security.

⚠️ Same-curve chains share the literal same private key. arc76-bitcoin, arc76-bitcoincash, and arc76-ethereum derive the identical secp256k1 private key from the same password/email/slot — leaking the key on one of those chains leaks it on all of them. Use a different password (or slot) per chain if you need isolation.

Metadata

Release files for arc76-bitcoin 1.2.2026080407

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arc76-bitcoin 1.2.2026080407
File Size Uploaded
arc76_bitcoin-1.2.2026080407.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arc76-bitcoin 1.2.2026080407
File Interpreter ABI Platform
arc76_bitcoin-1.2.2026080407-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / arc76_bitcoin-1.2.2026080407.tar.gz

Download URL arc76_bitcoin-1.2.2026080407.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2c91f85ce0f6765fe9a5846ed945378f22c412348f2d4271fd3f5e3b3fb4d11b
BLAKE2b-256 checksum
How to use checksums
fb17503b5a09a452720593d839ce4c05b6ac312e7be22a3560a8e4844cd0e68a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

Release files / arc76_bitcoin-1.2.2026080407-py3-none-any.whl

Download URL arc76_bitcoin-1.2.2026080407-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9122b37b93d77872194411f946ab3a8bcdf99670ee342aa3425edba5c1472d57
BLAKE2b-256 checksum
How to use checksums
dbc26bd4cd950cd4b51d26aa0a63207cf7f41f02c98ea50adfec38ac85855c97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.2026080407 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page