Skip to content

bitsika/binance-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitsika BinanceSdk

A Laravel Package to connect with Bitsika's Binance wrapper

Installation

PHP 7.4+ and Composer are required.

Add this to your composer.json

"repositories": {
    "dev-package": {
        "type": "vcs",
        "url": "[email protected]:bitsika/binance-sdk.git"
    }
},

To install the package bash:

composer require bitsika/binance-sdk:dev-master

Configuration

You can publish the configuration file using this command:

php artisan vendor:publish --provider="Bitsika\BinanceSdk\BinanceServiceProvider"

A configuration-file named binance-sdk.php with will be placed in your config directory

Methods

Here are some of the methods available

  • Wallet Creation

    • createWallet()
    • createWalletAndEncrypt()
  • Retrieve Wallet

    • getAccountFromPrivateKey()
    • getAccountFromKeystore()
  • Wallet Balance

    • getBalance()
    • getTokenBalance()
  • Transfer

    • transferBNB()
    • transferToken()
    • transferBNBFromKeystore()
    • transferTokenFromKeystore()
  • Transaction

    • getTransactionReceipt()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages