@hethers/address
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

Dependents (8)

Package Sidebar

Install

npm i @hethers/address

Weekly Downloads

517

Version

1.2.0

License

MIT

Unpacked Size

43.9 kB

Total Files

22

Last publish

Collaborators

  • kalinatodorova
  • daniel.k.ivanov