To compile this Aleo program, run:
leo run get_reward
Storing my Discord username "the_liolik#3786"
-
Convert "the_liolik#3786" to Base58 > "4Fte3TYDESFwQoFSitC13"
-
Decrypt Base58 "4Fte3TYDESFwQoFSitC13" to INT > "604423837765371544759072838070515766"
-
Storing "604423837765371544759072838070515766" as a field type
-
➡️ Output
• { owner: aleo1xvlh6eyf5lgfv2z5za47j6qkh3uv5e0ga6gdzg5l4rssheymxsqqsnkgc4.private, discord_username: 604423837765371544759072838070515766field.private, amount: 101u64.private, _nonce: 4114874251515989834421702505041058013293543730216157692419564769394314805954group.public }
-
Sample for decode/encode here: https://www.dcode.fr/base-58-cipher