JSPM

  • Created
  • Published
  • Downloads 2056120
  • Score
    100M100P100Q208340F
  • License MIT

Wallet management utilities for KeyStore and Crowdsale JSON wallets.

Package Exports

  • @ethersproject/json-wallets
  • @ethersproject/json-wallets/lib.esm/index.js
  • @ethersproject/json-wallets/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ethersproject/json-wallets) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Secret Storage JSON Wallet Utilities

This sub-module is part of the ethers project.

It is responsible for encoding, decoding, encrypting and decrypting JSON wallet formats.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    isCrowdsaleWallet,
    decryptCrowdsale,

    isKeystoreWallet,
    decryptKeystore,
    decryptKeystoreSync,
    encryptKeystore,

    getJsonWalletAddress,

    decryptJsonWallet,
    decryptJsonWalletSync,

    // Types

    ProgressCallback,

    EncryptOptions

} = require("@ethersproject/json-wallets");

License

MIT License