Closed kentosugama closed 1 year ago
You may be using an out-dated didc. The latest one converts vec nat8
to Blob
.
Another option is that:
import service "ic:canister_id"
automatically fetches the did file from metadata and generate the Motoko binding in the dfx build process. Then there is no need to have a library like this.
You may be using an out-dated didc. The latest one converts
vec nat8
toBlob
.Another option is that:
import service "ic:canister_id"
automatically fetches the did file from metadata and generate the Motoko binding in the dfx build process. Then there is no need to have a library like this.
What about the management canister? I doubt you can fetch it this way.
What about the management canister? I doubt you can fetch it this way.
Maybe it should :-)
Oh! I didn't know about that feature. Yes maybe this library is not needed then.
Just seeing what this would look like before (potentially) creating a separate repo and a library for these definitions.
Some considerations:
didc