定制 andkom/php-bitcoin-wallet 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

andkom/php-bitcoin-wallet

Composer 安装命令:

composer require andkom/php-bitcoin-wallet

包简介

A simple PHP library for reading Bitcoin wallet.dat file.

README 文档

README

A simple PHP library for reading Bitcoin wallet.dat file.

Installation

composer require andkom/php-bitcoin-wallet

Usage

<?php

use AndKom\Bitcoin\Wallet\Wallet;
 
// create wallet instance
$wallet = new Wallet();
$wallet->read("/path/to/wallet.dat");
 
// check if wallet is encrypted
if ($wallet->isEncrypted()) {
 
    // print wallet master key
    echo $wallet->getMasterKey()->getEncryptedKey() . "\n";
     
    // decrypt wallet
    $wallet->decrypt("password");
}
 
// print stored keys
foreach ($wallet->getKeys() as $key) {
    echo $key->getPrivateKey()->toWif() . " => " . $key->getPublicKey()->getAddress()->getAddress() . "\n";
}

统计信息

  • 总下载量: 67
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 18
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 4
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固