placecodex / ccoincrypto
test package
dev-master
2022-06-08 12:52 UTC
Requires
- php: ^7.2
- ext-curl: *
- ext-gmp: ^7.2
- ext-json: *
- ext-openssl: *
- bitwasp/bitcoin: ~1.0
- guzzlehttp/guzzle: ^6.3|^7.0
- illuminate/encryption: *
- kornrunner/keccak: ^1.1.0
- mbezhanov/ethereum-converter: dev-master
This package is not auto-updated.
Last update: 2025-01-16 01:33:41 UTC
README
A php library for the generation of bitcoin, litecoin and dogecoin wallets
-
BTC *mainnet *testnet
-
LTC *mainnet *testnet
-
DOGE coming soon *mainnet *testnet
How use
install
composer require placecodex/ccoincrypto
use
require('vendor/autoload.php');
use Placecodex\CCoincrypto\Wallet;
print_r($Wallet->btc()); print_r($Wallet->btctestnet());
print_r($Wallet->ltc()); print_r($Wallet->ltctestnet());
response
Array ( [privatekey] => cU3kKbuaaC82BTQSr8VWyiLuNGzUh2oBeVsgFhp7CjmqpeqtNXMa [coin] => BTC [name] => Bitcoin [network] => testnet [address] => mu9fCZczwZ7N7gN8hqc8wFe4wEBFqLB4AF )