How to get the Account Identifier from Principal in Motoko?

I think I tried that but I’m getting some errors like it doesn’t recognize Word8 and can’t find Prim.word8toNat. Am I doing something wrong?

Just checked the PR from @crusso

Maybe this one would work? GitHub - crusso/motoko-hex at 0.6

This seems more like it, thanks!

1 Like
1 Like