Quick Start

Install the library

The best way to interact with our multisig API is to use our official SDK:

# Install via NPM
npm install --save hive-multisig-sdk

Create an Instance of Hive Mutisig SDK

Simply create an instance, by passing the window element (used for Keychain calls), and if needed, some options :

const multisig = new HiveMultisig(window: Window,options?:MultisigOptions); 
Name
Description
Type

window

Window element

Window

options?.socketAddress

Websocket URL

string

options?.apiAddress

Multisig API URL

string

options?.clientAddress

RPC Client URL

string

Get Instance

To make sure you always use a single instance of HiveMultisig,you can make use of getInstance static method, using the same parameters.

const multisig = HiveMultisig.getInstance(window: Window,options?:MultisigOptions); 

Last updated