manuelmauro/algonaut

Newtypes for app id, asset id, tx id

ivnsch opened this issue · 5 comments

It seems convenient to have types for these ids (similar to e.g. Round)

It seems like a good idea!

from the documentation it seems that app id, asset id, and tx id are of type uint64. Do we want something like type AppId = uint64;?

I'd use a tuple struct, which gives us type safety for free.

thanks for the guidance, will give it a go!

is this still in progress, want to try it out