Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EasyWallet

A more specific Wallet interface for easier usage.

The difference to the generic Wallet interface is that the easy wallet implements most commonly used methods out of the box and no additional hassle with additional API calls is needed.

example
 const api = composeApi({nodeHost: 'http://localhost:8125' })
 const {privateSignKey} = generateMasterKeys(secret)
 const wallet = new MyEasyWallet(api, privateSignKey);
 const {transaction} = await wallet.pay({
     // your args here
 })

Hierarchy

  • EasyWallet

Implemented by

Index

Methods

Methods

pay