hash-sdk-test
TypeScript icon, indicating that this package has built-in type declarations

2.1.6 • 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)=>{...);

/hash-sdk-test/

    Package Sidebar

    Install

    npm i hash-sdk-test

    Weekly Downloads

    2

    Version

    2.1.6

    License

    MIT

    Unpacked Size

    982 kB

    Total Files

    52

    Last publish

    Collaborators

    • vshall20