Deterministic ARC76 account derivation for Bitcoin Cash (CashAddr addresses). https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0076.md
Project description
arc76-bitcoincash
Deterministic ARC76 account derivation for Bitcoin Cash (CashAddr addresses).
Usage
pip install arc76-bitcoincash
from arc76.bitcoincash import get_account, get_email_account
account = get_account(password) # slot 0
print(account.address()) # CashAddr address, e.g. "bitcoincash:q..."
print(account.wif()) # WIF-encoded private key (same encoding Bitcoin uses)
email_account = get_email_account(email, password)
Both functions return a BitcoinCashAccount(private_key, public_key) — Bitcoin Cash uses the
same secp256k1 keys as Bitcoin, only the address format differs:
private_key— the raw 32-byte secp256k1 private key (identical to the ARC76 seed).public_key— the 33-byte compressed secp256k1 public key..address(prefix="bitcoincash")— the CashAddr (P2PKH) address..wif()— the WIF-encoded private key (the same encodingarc76-bitcoinuses).
Elliptic-curve operations use coincurve (Python
bindings for libsecp256k1, the same library
Bitcoin Core uses). CashAddr encoding is implemented internally against the
CashAddr spec
rather than via a third-party dependency, since no actively-maintained CashAddr package exists
on PyPI; it's covered by known-answer tests shared with the dotnet/typescript packages.
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, andarc76-ethereumderive 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 (orslot) per chain if you need isolation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arc76_bitcoincash-1.1.2026080321.tar.gz.
File metadata
- Download URL: arc76_bitcoincash-1.1.2026080321.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
742b9e3efd8bbfe73646d467056583057d84a3fbe3835a90b2454c1e3d26cbaf
|
|
| MD5 |
4d271e07bdcefe9a419ce9600522e79c
|
|
| BLAKE2b-256 |
87b66b705df1804b462591a3f6fd6491618e6b1f316ad207a12cd621d7987810
|
Provenance
The following attestation bundles were made for arc76_bitcoincash-1.1.2026080321.tar.gz:
Publisher:
publish-pypi.yml on scholtz/ARC76Account
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arc76_bitcoincash-1.1.2026080321.tar.gz -
Subject digest:
742b9e3efd8bbfe73646d467056583057d84a3fbe3835a90b2454c1e3d26cbaf - Sigstore transparency entry: 2337247239
- Sigstore integration time:
-
Permalink:
scholtz/ARC76Account@aa8378e8f748d495bd97683b383d1cbd590b6ba4 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/scholtz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@aa8378e8f748d495bd97683b383d1cbd590b6ba4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file arc76_bitcoincash-1.1.2026080321-py3-none-any.whl.
File metadata
- Download URL: arc76_bitcoincash-1.1.2026080321-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7db28149b0a0e95ba5b3e58fc10f0c48f59a97a7be3938dea9517fbfe9ca5ec0
|
|
| MD5 |
2dce0ce0204a7480c14c88d0af3dd3f8
|
|
| BLAKE2b-256 |
bb67259cd634d16949a761874edda05748885e3e913c317b987f3936361f99da
|
Provenance
The following attestation bundles were made for arc76_bitcoincash-1.1.2026080321-py3-none-any.whl:
Publisher:
publish-pypi.yml on scholtz/ARC76Account
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arc76_bitcoincash-1.1.2026080321-py3-none-any.whl -
Subject digest:
7db28149b0a0e95ba5b3e58fc10f0c48f59a97a7be3938dea9517fbfe9ca5ec0 - Sigstore transparency entry: 2337247257
- Sigstore integration time:
-
Permalink:
scholtz/ARC76Account@aa8378e8f748d495bd97683b383d1cbd590b6ba4 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/scholtz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@aa8378e8f748d495bd97683b383d1cbd590b6ba4 -
Trigger Event:
push
-
Statement type: