Add docs so that devs know deploying to object rather than resource account is the latest best practice #252
0xbe1
started this conversation in
Dev Doc and Tutorial Feedback
Replies: 1 comment
-
Agreed! Will address this, thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems according to #191 (comment) we should deploy to object rather than resource account. But this is not told anywhere in aptos.dev and I find it a missing. Can you help update docs to include this, also let people know object is preferred over resource account?
UPDATE: just saw the exact content in the preview docs https://preview.aptos.dev/en/build/smart-contracts/learn-move/advanced-guides/object-code-deployment#deploy-code-to-an-object but in https://preview.aptos.dev/en/build/smart-contracts/learn-move/advanced-guides/resource-accounts it still suggests devs can deploy to resource account. should make it clear that object is preferred
Beta Was this translation helpful? Give feedback.
All reactions