JSPM

@hethers/address

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 357
  • Score
    100M100P100Q98769F
  • License MIT

Utilities for handling EVM Addresses for hethers.

Package Exports

  • @hethers/address
  • @hethers/address/lib.esm/index.js
  • @hethers/address/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 (@hethers/address) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hashgraph Address Utilities

This sub-module is part of the hethers project. It is a fork of the original ethers project sub-module.

It is responsible for encoding, verifying and computing checksums for addresses and computing special addresses, such as those enerated by and for contracts under various situations.

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 {
    getAccountFromTransactionId,
    asAccountString,
    getChecksumAddress,
    getAddress,
    isAddress,
    getIcapAddress,
    getCreate2Address,
    getAddressFromAccount,
    getAccountFromAddress,
    parseAccount,
    Account,
    AccountLike
} = require("@hethers/address");

License

MIT License