Skip to content

blockchainrc/bip39

 
 

Repository files navigation

how to use HDWSDK as http api?

$ npm install

# example 127.0.0.1:3021/newMnemonic
$ npm start

$ npm run dev

$ npm run build

Open http://localhost:3021, That's all!

how to use HDWSDK in html?

<!DOCTYPE html>
<html>
    <head lang="en">
        <meta charset="utf-8" />
        <title>HdWallet SDK</title>
        <meta content="HdWallet SDK" name="description"/>
        <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    </head>
    <body>
        <script src="hdwsdk.min.js"></script>
    </body>
</html>

Press F12, in the console, type "window.hdWallet", it's the instance you could use in your code.

License

This BIP39 tool is released under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.

About

A web tool for converting BIP39 mnemonic codes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.0%
  • CSS 5.0%
  • HTML 2.0%