towoju5/bitpowr
Composer 安装命令:
composer require towoju5/bitpowr
包简介
Bitpowr Laravel package for wallet address
README 文档
README
Authentication Authentication is handled using your public/secret key token or API key included in the Authorization header of each request. Please create an account or contact bitpowr support to get your keys.
📘 All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail. The Authorization header must be sent for every request unless stated otherwise. Not doing so will result in an unauthorized response.
Using Public and Secret Key This uses the public and secret keys of your account to gain access to your account using the API. To use this, you would need to concat them in this format {public_key:secret_key} and encode it to base64 encoding before passing it to the header. This method gives you admin access to your account and won't be able to restrict keys
Authorization: Bearer <ENCODED_TOKEN>
Mode/Network The mode and network of the account basically depend on the keys you are using to authorize. To connect to the mainnet environment, ensure your keys are for LIVE mode and if you want to test use the TEST keys. In Production, ensure you are using the LIVE keys which make your account interact with the mainnet Network.
Rate Limiting If too many requests are received using the same access token, that access token will be throttled. Throttled requests will receive a response with a status code of 429 and will contain a Retry-After header that indicates how many seconds the user should wait before making additional requests. Please design your client to adhere to the Retry-After header, and not the current rate limit.
Supported Blockchains We currently support 11 public blockchains to be used right from your API and dashboard. We are continuously adding new blockchains every day.
Supported Chains
Bitcoin BITCOIN (BTC) BTC MAINNET, TESTNET Available
Litecoin LITECOIN (LTC) LTC MAINNET, TESTNET Available
Bitcoin Cash BITCOINCASH (BCH) BCH MAINNET, TESTNET Available
Dogecoin DOGECOIN (DOGE) DOGE MAINNET, TESTNET In Progress
Ethereum ETHEREUM (ETH) ETH, ERC20 (USDC, BUSD, USDT, DAI, LINK) MAINNET, TESTNET (ETH only) Available
Polygon POLYGON (MATIC) MATIC, ERC20 (USDC_MATIC, USDT_MATIC) MAINNET, TESTNET (MATIC only) Available
Binance Smart Chain BSC (BNB) BNB, ERC20 (USDC_BSC, BUSD_BSC) MAINNET, TESTNET (BNB only) Available
Tron TRON (TRX) TRX, ERC20 (USDT_TRON) MAINNET, TESTNET (TRX only) Available
Solana SOLANA (SOL) SOL, SPL tokens MAINNET, TESTNET (SOL only) Available
Terra TERRA (LUNA) LUNA, UST MAINNET, TESTNET (LUNA only) Under Maintainance
Ripple RIPPLE (XRP) XRP MAINNET Comming Soon
Stellar STELLAR (XLM) XLM MAINNET Available
Fantom FANTOM (FTM) FTM MAINNET, TESTNET Comming Soon
Ronin RONIN (RON) RON, SLP MAINNET, TESTNET (RON only) Comming Soon
Celo CELO (CELO) CELO, cUSD, cEUR MAINNET, TESTNET (CELO only) In Progress
Bantu BANTU (XBN) XBN MAINNET, TESTNET Available
Supported Assets
BTC BITCOIN MAINNET, TESTNET Available
LTC LITECOIN MAINNET, TESTNET Available
BCH BITCOINCASH MAINNET, TESTNET Available
ETH ETHEREUM MAINNET, TESTNET Available
USDC ETHEREUM MAINNET Available
USDT ETHEREUM AINNET Available
BUSD ETHEREUM MAINNET Available
LINK ETHEREUM MAINNET Available
MATIC POLYGON MAINNET, TESTNET Available
USDC_MATIC POLYGON MAINNET Available
USDT_MATIC POLYGON MAINNET Available
BSC (BNB) BSC MAINNET, TESTNET Available
USDC_BSC BSC MAINNET Available
BUSD_BSC BSC MAINNET Available
TRON (TRX) TRON MAINNET, TESTNET Available
USDT_TRON TRON AINNET Available
SOL SOLANA MAINNET, TESTNET Available
LUNA TERRA MAINNET
XBN BANTU MAINNET, TESTNET Available
Installation
You can install the package via composer:
composer require towoju5/bitpowr
Usage
Using via Facede:
app('bitpowr');
Via namespace
use Towoju5\Bitpowr\Bitpowr; $bearerToken = <API_KEY> $bitpowr = new Bitpowr($bearerToken);
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email github@towoju.com.ng instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
towoju5/bitpowr 适用场景与选型建议
towoju5/bitpowr 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 136 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 11 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「towoju5」 「bitpowr」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 towoju5/bitpowr 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 towoju5/bitpowr 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 towoju5/bitpowr 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel wrapper around Bitnob virtual cards Rest API.
Localpayment offers a fully localized payments solution that connects you with several local payment methods in many countries in emerging markets.
Laravel wrapper around reloadly data and airtime Rest API.
php package for Dellyman rest API.
Simple smart meta manage for laravel/middey Technology
A simple PHP wrapper for fixedfloat API
统计信息
- 总下载量: 136
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-17