@vutr/purser-trezor

1.2.6 • Public • Published

@colony/purser-trezor

A javascript library to interact with a Trezor 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-trezor

Quick Usage

import { open } from '@vutr/purser-trezor'

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-trezor library along with the whole purser monorepo are MIT licensed.

Package Sidebar

Install

npm i @vutr/purser-trezor

Weekly Downloads

0

Version

1.2.6

License

MIT

Unpacked Size

179 kB

Total Files

43

Last publish

Collaborators

  • vutr