Download the PHP package barechain/bitcoin-address without Composer
On this page you can find all versions of the php package barechain/bitcoin-address. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package bitcoin-address
PHP Bitcoin Address
A simple P2PK, P2PKH, P2SH, P2WPKH, P2WSH output script/address parser/generator.
Supported types:
- Pay-To-PubKey (P2PK)
- Pay-To-PubKeyHash (P2PKH)
- Pay-To-Multisig (P2MS)
- Pay-To-ScriptHash (P2SH)
- Pay-To-WitnessPubKeyHash (P2WPKH)
- Pay-To-WitnessScriptHash (P2WSH)
- P2WPKH-over-P2SH
- P2WSH-over-P2SH
- any combination
Supported networks:
- Bitcoin
- Bitcoin Testnet
- Bitcoin Gold
- Bitcoin Cash
- Litecoin
- Litecoin Testnet
- Dogecoin
- Dogecoin Testnet
- Viacoin
- Viacoin Testnet
- Dash
- Dash Testnet
- Zcash
Installation
Examples
Generate a P2PK/P2PKH address:
Generate a P2MS address:
Generate a P2SH address:
Generate a P2WPKH address:
Generate a P2WSH address:
Generate a P2WPKH-over-P2SH address:
Generate a P2WSH-over-P2SH address:
Generate an address from an output script:
All versions of bitcoin-address with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
stephenhill/base58 Version ^1.1
bitwasp/bech32 Version ^0.0.1
btccom/cashaddress Version ^0.0.3
stephenhill/base58 Version ^1.1
bitwasp/bech32 Version ^0.0.1
btccom/cashaddress Version ^0.0.3
The package barechain/bitcoin-address contains the following files
Loading the files please wait ....