0.2.3 • Published 2 years ago

@peakd/hive-wallet-sdk v0.2.3

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
2 years ago

hive-wallet-sdk

The simple way to support all the wallets of the Hive blockchain.

IMPORTANT: The package is still under development and things may break unexpectedly.

Installation

$ npm i @peakd/hive-wallet-sdk

Basic usage

import { getWallet } from '@peakd/hive-wallet-sdk'

// Get wallet reference
// Supported wallet IDs: 'peakvault', 'keychain', 'metamask'
const wallet = await getWallet('peakvault')

// Use wallet
const json = {
  message: `Sending json from ${wallet.name}`
}
// Request custom json
const res = await wallet.customJson('muwave', 'test', 'posting', json)

Documentation

You can find the docs here

0.2.3

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.21

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.2.2

2 years ago

0.1.0

2 years ago

0.0.101

2 years ago

0.0.55

2 years ago

0.0.50

2 years ago

0.0.36

2 years ago

0.0.31

2 years ago

0.0.34

2 years ago

0.0.29

2 years ago

0.0.28

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago