Giter VIP home page Giter VIP logo

brs-wrapper-0.1-alpha's Introduction

PHP_BRS_wrapper_0.1-Alpha

PHP class for usage of BRS 2.5.1 (https://github.com/burst-apps-team/burstcoin)

Requires PHP and CURL enabled on the webserver For usage and understanding see documentation at https://burstwiki.org/en/the-burst-api/ and https://burstwiki.org/en/the-burst-api-examples/

Installation

For external usage set $BRS->set_api_url('URL'); where URL could be like http://77.66.65.240:8125/ (Public BRS installation)

For internal usage go to the BRS 2.5.1 Download the source here: https://github.com/burst-apps-team/burstcoin To install follow the guide here: https://burstwiki.org/en/brs-linux-installation/#installing-brs

Once installed set $BRS->set_api_url('localhost:8125'); in your script Make sure tcp/8123 is open in your firewall for peer trafic or else you will net get peers as you should

Author

Zoh https://twitter.com/Zoh63392187

Code sample

$BRS = new BRS();

// URL must be an online BRS instance. The one below can be change at will but is free to use and hosted by explorer.burstcoin.network $BRS->set_api_url('http://77.66.65.240:8125/');

// Setting account $BRS->set_account('BURST-9LSF-V4WN-34E8-4WCMR');

// Fetching account trades $result = $BRS->getTrades();

// Print the result print_r($result);

brs-wrapper-0.1-alpha's People

Contributors

zoh63392187 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.