JSPM

hash-sdk-test

2.1.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q12022F
  • License MIT

A javascript based library that makes life easy, integrating and using Hedera services.

Package Exports

  • hash-sdk-test

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hash-sdk-test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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