Skip to content

Bitnob-Community/bitnob-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BITNOB PHP SDK

A PHP sdk to interact with bitnob's API

Installation

With Composer

composer require bitnob/bitnob-php-sdk

REQUIREMENTS

  • PHP 8.0+

Usage

Authentication

Generate an API KEY from the Bitnob dashboard

Setup

<?php
include "vendor/autoload.php";

use Bitnob\Client\Options;
use Bitnob\Client\BitnobSdk;

$env = 'production'; or // sandbox
$apikey = 'sk.8fcdc.a23474b7d2612534df';

$options = new Options($env);
$bitnobSdk = new BitnobSdk($apikey, $options);

Example

$response = $bitnobSdk->addresses()->generateUsdtAddress('TRX', 'hello@gmail.com');

About

Official PHP SDK to interact with Bitnob's API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages