Miss any of our Open RFC calls?Watch the recordings here! »

hash-sdk

2.1.9 • Public • Published

Hash Javascript SDK

Hash Javascript SDK lets developers connect their web apps to the Hedera Hashgraph platform. Allowing users to interact with apps on any modern browser.

Documentation

See the Developer Documentation

Installation

# Via NPM:
    npm install --save hash-sdk
    
# Via Yarn:
    yarn add hash-sdk

Usage

You can integrate by simply importing hash-sdk into your program. Now, instead of just Composer Chrome Extension opening, a modal will show instead with an option to input a private key or mnemonic. It works across all modern desktop and mobile browsers such as Chrome, Safari, Brave and Firefox.

// add to your project
import hash from 'hash-sdk'

// start modal 
await hash.selectMiddleware();

// send transactions like you're used to
hash.triggerCryptoTransfer(data, (err,res)=>{...);

Install

npm i hash-sdk

DownloadsWeekly Downloads

72

Version

2.1.9

License

MIT

Unpacked Size

982 kB

Total Files

52

Last publish

Collaborators

  • avatar