yarn add elastos-wallet-js
or
npm install elastos-wallet-js
yarn
ornpm install
to install dependenciesyarn test
to run tests
https://elastos-wallet-lib-javascript.readthedocs.io/
https://codesandbox.io/s/github/chutium/Elastos.ORG.Wallet.Lib.Javascript/tree/master/sandbox
- getSinglePublicKey
- getSinglePrivateKey
- getMasterPublicKey
- getAddress
- generateMnemonic
- getSeedFromMnemonic
- sign
- verify
- createTx
- generateRawTransaction
- sendRawTx
- generateSubPrivateKey
- generateSubPublicKey
- getPublicKeyFromPrivateKey
- isAddressValid
- getIdChainMasterPublicKey
- generateIdChainSubPrivateKey
- generateIdChainSubPublicKey
- getDid
- getMultiSignAddress
- multiSignTransaction
- serializeMultiSignTransaction