Skip to content

Team-Hycon/hw-app-hycon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hardware app Hycon

npm

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 [email protected].

Authors

License

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

About

Node.js library for Hycon's ledger hardware wallet.

Resources

License

Stars

Watchers

Forks

Packages

No packages published