Is it bad practice to make a canister call with a principal as an argument?

I have an actor class that I want to use to instantiate a new canister for each principal that calls said actor class. I want to use the user’s principal as the argument for the actor class instantiation. Is this bad practice? if so, what would be best practice?

Nothing wrong with that. A principal is just an identifier, and when you want to identify a user, it’s the right thing to use.

2 Likes

Thank you, kindly good sir/ma’am/non-binary person