承接 muvon/bitclout-node-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

muvon/bitclout-node-api

Composer 安装命令:

composer require muvon/bitclout-node-api

包简介

Implementation of Bitclout API interaction through its node

README 文档

README

This package allows to interract with Bitclout node with exposed API

Installation

To install it just use composer

composer require muvon/bitclout-node-api

How to use

First of all create install of NodeAPI class

use Muvon\Bitclout\NodeAPI;

$node = NodeAPI::create([
  'read_url' => 'https://api.bitclout.com',
  'write_url' => 'https://api.bitclout.com',
  'mnemonic' => 'your mnemonic of 12 words'
]);

Config array description:

  • read_url - url we use for read api calls;
  • write_url - url we use for write api calls;
  • url - you can pass single url for read and write operations if its the same;
  • mnemonic - main account that used as reader and signer for all requests;
  • private_key - pass hexed private key if not passed mnemonic;
  • public_key - required only in case if you use private key as hex. In case you use mnemonic it's derived from it.

Methods available and instructions to use

generateAddress(): array

Generate new address and return full info about it

Return value is array with that structur

  {
    "address": "BC1... address",
    "public": "public key in hex format",
    "secret": {
      "private": "private key in hex format of hd path: m/44'/0'/0'/0/0",
      "seed": "main seed derived from 12 words",
      "mnemonic": "12 words mnemnoic",
    }
  }

Tests

  • Get profile by username
  • Get profile by pubkey
  • Get address transactions

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-05-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固