HAS Wrapper library
Installation
Usage
import HAS from 'hive-auth-wrapper'
// Your application information
const APP_META = {name:"myapp", description:"My HAS compatible application", icon:undefined}
// Create an authentication object
const auth = {
username: "username" // required - replace "username" with your Hive account name (without the @)
expire: undefined
key: undefined
}
// Retrieving connection status
const status = HAS.status()
console.log(status)Configuration
Authentication
Broadcasting transactions
Signing a challenge
Last updated