@glosfer/hw-app-hycon

Ledger Hardware Wallet Node JS API for Hycon.

Stats

StarsIssuesVersionUpdatedCreatedSize
@glosfer/hw-app-hycon
100.0.84 years ago4 years agoMinified + gzip package size for @glosfer/hw-app-hycon in KB

Readme

Hardware app Hycon

Ledger Hardware Wallet Node JS API for Hycon.

Examples

import Transport from "@ledgerhq/hw-transport-node-hid";
// import Transport from "@ledgerhq/hw-transport-u2f"; // for browser
import Hycon from "@glosfer/hw-app-hycon";
const getHyconAddress = async () => {
  const transport = await Transport.create();
  const hycon = new Hycon(transport);
  const result = await hycon.getAddress("44'/1397'/0'/0");
  return result.stringAddress;
};
getHyconAddress().then(a => console.log(a));

Install dependencies

yarn

Build

yarn build

Deploy

Checklist before deploying a new release:

  • you have the right in the glosfer org on NPM
  • you have run npm login once (check npm whoami)
  • Go to master branch
    • your master point on glosfer repository (check with git config remote.$(git config branch.master.remote).url and fix it with git branch --set-upstream master origin/master)
    • you are in sync (git pull) and there is no changes in git status
  • Run yarn once, there is still no changes in git status

deploy a new release

 yarn clean
 yarn
 yarn build
 yarn run publish

then, go to /releases and create a release with change logs.

Issues & Pull Requests

If you have an issue, feel free to add it to the Issues tab. If you'd like to help us out, the Pull Request tab is a great place to start.

If you have found a security bug, please contact us at security@glosfer.com.

Authors

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.