How to use SignerCap? #54
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 21 replies
-
@gregnazario Hi Greg, would appreciate any help on this. |
Beta Was this translation helpful? Give feedback.
-
@memxor can you confirm that the @publisher account is the account which publishes the resource_account? |
Beta Was this translation helpful? Give feedback.
-
@memxor i believe i see the issue. the publisher account needs to be a different account than the resource_account. can you try creating a different account, such as @deployer to publish the @publisher resource account? |
Beta Was this translation helpful? Give feedback.
-
can you try:
also believe this cli command pass in the named address |
Beta Was this translation helpful? Give feedback.
-
Thanks @MoonShiesty for helping out. It looks like this person is trying to use resource accounts to deploy contracts? Here is a tutorial I wrote for this: https://github.com/aptos-labs/developer-docs/blob/main/apps/docusaurus/docs/tutorials/programmatic-upgradeable-module.md Soon in mainnet, there will be a way to deploy code to objects, which makes the entire user experience much simpler. Will update the community on when that'll happen. |
Beta Was this translation helpful? Give feedback.
can you try:
aptos move create-resource-account-and-publish-package --seed MY_SEED --address-name publisher
also believe this cli command pass in the named address
publisher
, so you can wildcardpublisher = "_"
in the[addresses]
section (you'll still need it in[dev-addresses])
, but the way you did it should also work