0.1.0 • Published 7 days ago

@peakd/hive-wallet-sdk v0.1.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
7 days 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'
const wallet = await getWallet('peakvault')

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

Get all available wallets

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

// Get all available wallets
const allWallets = await getAvailableWallets()
0.1.0

7 days ago

0.0.101

8 days ago

0.0.55

4 months ago

0.0.50

4 months ago

0.0.36

4 months ago

0.0.31

4 months ago

0.0.34

4 months ago

0.0.29

7 months ago

0.0.28

7 months ago

0.0.25

7 months ago

0.0.24

7 months ago

0.0.23

7 months ago

0.0.22

7 months ago

0.0.21

7 months ago