It is responsible for encoding, verifying and computing checksums for Tron addresses and computing special addresses, such as those enerated by and for contracts under various situations.
For more information, see the documentation.
Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.
const {
getAddress,
isAddress,
getIcapAddress,
getContractAddress,
getCreate2Address
} = require('@tronproject/address');
MIT License