How to use the @aeternity/aepp-sdk/es/utils/bytes.toBytes function in @aeternity/aepp-sdk

To help you get started, we’ve selected a few @aeternity/aepp-sdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aeternity / aepp-aeproject-js / packages / aeproject-utils / utils / contract-utils.js View on Github external
function decodedHexAddressToPublicAddress (hexAddress) {

    const publicKey = Crypto.aeEncodeKey(toBytes(hexAddress, true));

    return publicKey;
}