How to determine whether the principal is a canister or an identity account
1 Like
“ and there is intentionally no mechanism to tell canister ids and user ids apart”
2 Likes
How to get canisters code
you can not get the canister code,but you can get the candid on ic.rocks through the canisterId
How to get the interfaces of canisters
If it’s a Motoko canister you can search by canister id here to get the interface: https://k7gat-daaaa-aaaae-qaahq-cai.ic0.app
If it’s not available there you check the project GitHub repo or contact the developer (maybe also ask them to serve the candid from their canister or create a listing above).
1 Like
the dfinity UI candid canister also work,just put the canister ID and you will get the candid