anonwallet_micro/anonwallet-micro-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

anonwallet_micro/anonwallet-micro-php

最新稳定版本:1.0.0

Composer 安装命令:

composer require anonwallet_micro/anonwallet-micro-php

包简介

Official PHP SDK for AnonWallet anonymous cryptocurrency payment gateway for sending micro transactions

README 文档

README

Official PHP SDK of AnonWallet.Net Anonymous Cryptocurrency Payment Gateway for sending Micro Transactions

Install guide

You can install anonwallet plugin using composer in your project using:

composer require anonwallet_micro/anonwallet-micro-php

Usage

Include namespace of package wherever you want to use this library

include_once './vendor/autoload.php';
use AnonWallet\AnonWallet_micro;

$api_key = 'Your Micro Payments/Faucet API Key';

$obj = new AnonWallet_micro($api_key);

Get Balance of specific coin


$currency = 'BTC'; //If currency parameter is not specified, default currency is BTC

$balance = $obj->balance($currency);

Get currencies available

$currencies = $obj->currencies();

Check linked address

$currency = 'BTC'; //If currency parameter is not specified, default currency is BTC
$address = '1Btcdemoforwardaddress'; // Linked address if it belongs to AnonWallet Micro Payments system

$address = $obj->check_address($currency, $address);

Send a payment

$currency = 'BTC'; //If currency parameter is not specified, default currency is BTC
$amount = '0.01'; // Numeric double amount to be send from your account
$address = '1Btcdemowithdrawaladdress'; //The receiver linked address from AnonWallet system

$send = $obj->send($currency, $amount, $address);

You can find more references on our API Documentation (https://anonwallet.readme.io)

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-02