HEAT support libraries for Node.js and the browser
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
With HEAT-SDK you get full client-side/offline functionality of everything involving HEAT cryptocurrency. This includes but is not limited to:
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.
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()
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>
Generated using TypeDoc