The dapp I am building is supposed to generate an address out of the backend canister’s principal as the owner and the user’s principal as subaccount.
The address it generates allows the user to copy it and paste it on the plug wallet to send some ICP to it.
But when I attempt to send ICRC tokens to the generated address, the wallet complains because of some invalid characters such as “8” and “9”.
How can I generate a text address that can be copied and pasted as the recipient on any wallet such as plug to send some ICRC tokens to it ?