heat-sdk
HEAT support libraries for use in Node.js and any (modern) browser
Last updated a year ago by heatledger .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install heat-sdk 
SYNC missed versions from official npm registry.

HEAT Nodejs / Browser libraries

Travis styled with prettier Dev Dependencies NPM version

HEAT support libraries for Node.js and the browser

Links

HEAT-SDK API browse all classes, interfaces, methods includes links to their source code implementation.

HEAT REST API OpenAPI, heat server

GITHUB Heat-Ledger-Ltd/heat-sdk

Functionality

With HEAT-SDK you get full client-side/offline functionality of everything involving HEAT cryptocurrency. This includes but is not limited to:

  • Full HEAT API wrapper
  • Support for real-time updates through HEAT websocket API
  • Complete client side support for both constructing and parsing binary transaction data
  • Full client side encryption/decryption support for transaction attachments
  • Support for all other low-level HEAT functionality. But all client side, no server needed! (publickeys, accountids, transaction signatures etc.)

Samples

All samples open in https://runkit.com/ which gives you a live Nodejs environment, feel free to play around change the code samples, click RUN and see the output.

NODEJS | API ACCESS

NODEJS | GENERATE ACCOUNT

BROWSER | GENERATE ACCOUNT

NODEJS | DEX USD to HEAT

BROWSER | DEX USD to HEAT

BROWSER | BLOCK WHEN?

BROWSER | WEBSOCKETS

Usage

Node

Install heat-sdk

npm install heat-sdk --save

When using TypeScript install @typings with

npm install @types/heat-sdk --save

Require heat-sdk and use it in your project

var {HeatSDK} = require('heat-sdk')
var sdk = new HeatSDK()
sdk.payment("mike@heatwallet.com","99.95")
   .publicMessage("Happy birthday!")
   .sign("my secret phrase")
   .broadcast()

Browser

heat-sdk comes as an UMD module which means you could either require or import {heatsdk} from 'heat-sdk' or simply load as <script src=""> and access it through window.heatsdk

<html>
  <head>
    <script src="heat-sdk.js"></script>
    <script>
      var sdk = new heatsdk.HeatSDK()
      sdk.payment("mike@heatwallet.com","99.95")
         .publicMessage("Happy birthday!")
         .sign("my secret phrase")
         .broadcast()
    </script>
  </head>
</html>

Current Tags

  • 2.1.0                                ...           latest (a year ago)

32 Versions

  • 2.1.0                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.12.7                                ...           a year ago
  • 0.12.6                                ...           a year ago
  • 0.12.5                                ...           a year ago
  • 0.12.4                                ...           a year ago
  • 0.12.3                                ...           a year ago
  • 0.12.2                                ...           a year ago
  • 0.12.1                                ...           a year ago
  • 0.12.0                                ...           a year ago
  • 0.11.0                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.8.0                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
  • 0.0.0                                ...           2 years ago
  • 0.0.0-development                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |