Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iov-one/iov-ledger-iovns
A Node.js package to connect to the IOV app on Ledger devices.
https://github.com/iov-one/iov-ledger-iovns
ledger ledger-wallet typescript typescript-library
Last synced: about 2 months ago
JSON representation
A Node.js package to connect to the IOV app on Ledger devices.
- Host: GitHub
- URL: https://github.com/iov-one/iov-ledger-iovns
- Owner: iov-one
- License: apache-2.0
- Created: 2019-02-02T17:47:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T06:14:30.000Z (almost 3 years ago)
- Last Synced: 2024-10-01T18:48:18.159Z (3 months ago)
- Topics: ledger, ledger-wallet, typescript, typescript-library
- Language: TypeScript
- Homepage:
- Size: 791 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @iov/ledger-bns
[![npm version](https://img.shields.io/npm/v/@iov/ledger-iovns.svg)](https://www.npmjs.com/package/@iov/ledger-iovns)
This package provides an adaptor to use the IOV Ledger app as a wallet.
It should also demonstrate how to implement an additional Wallet outside of @iov/keycontrol
that can be dynamically loaded by any app in initialization.## Getting started
Create a wallet for signing with a Ledger. All further functionality is provided by the `UserProfile`.
```ts
import { UserProfile } from "@iov/core";
import { IovLedgerWallet } from "@iov/ledger-iovns";const profile = new UserProfile();
profile.addWallet(new IovLedgerWallet());
```## API Documentation
Docs are not published at the moment. To generate them locally run
```
$ yarn install
$ yarn docs
```and check the `./docs` folder.
## License
Copyright 2018-2020 IOV SAS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.