Concordium alias account address generation

I’m trying to understand Concordium account aliases. I just found this page Concordium Client transactions — Concordium documentation. I need to generate new addresses on request for a user account (without having his private key, just the canonical account). Can I get the first bytes 29 bytes of the canonical account and then append aliasIndex.toString(16).padStart(6, '0'); where aliasIndex is an integer? Otherwise, do I have to comply with a particular format?


The three last bytes of the canonical address determines the alias.

Depending on which language you use, you can use one of our SDKs for this.





Thank you very much @EmilLai

You’re very welcome!