@colony/purser-ledger

v1.4.1
A javascript library to interact with a Ledger based ethereum wallet
ethereum javascript wallet colony software-wallet monorepo purser ledger hardware-wallet and 1 more...

@colony/purser-ledger

A javascript library to interact with a Ledger based Ethereum wallet.

It extracts all the complexity from setting up, maintaining and interacting with it, while providing you with a predictable interface.

Installation

yarn add @colony/purser-ledger

Quick Usage

import { open } from '@colony/purser-ledger'

const wallet = await open();

await wallet.setDefaultAddress(12); // Optional - Select another address from the ones available

console.log(wallet); // { address: '...', otherAddrresses: [...], publicKey: '...' }

Documentation

You can find more in-depth description for this module's API in the purser docs.

Contributing

This package is part of the purser monorepo package.

Please read our Contributing Guidelines for how to get started.

License

The purser-ledger library along with the whole purser monorepo are MIT licensed.

npm i @colony/purser-ledger

Metadata

  • MIT
  • Whatever
  • Raul Glogovetan
  • released 7/22/2019

Downloads