Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nextra] Object transfer instructions #703

Merged
merged 2 commits into from
Nov 14, 2024
Merged

[nextra] Object transfer instructions #703

merged 2 commits into from
Nov 14, 2024

Conversation

kshitjee
Copy link
Contributor

Description

It's common to use a deployer account and set upgradability permissions in the deployment script.

Checklist

  • Do all Lints pass?
    • Have you ran pnpm spellcheck?
    • Have you ran pnpm fmt?
    • [x ] Have you ran pnpm lint?

@kshitjee kshitjee requested a review from a team as a code owner November 12, 2024 18:54
Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developer-docs-nextra ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 4:57am

@kshitjee kshitjee changed the title [nextra]Object transfer instructions [nextra] Object transfer instructions Nov 12, 2024

Here's how you can do it via CLI, here your `deployer_account` should be the current owner of the object.
```bash
aptos move run —-function-id 0x1::object::transfer -—args address:<object_address> address:<new_owner_address> —-profile <deployer_account_profile>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command uses em-dashes () instead of regular hyphens (-), which will cause the command to fail when copied and pasted. The correct command should use regular hyphens:

aptos move run --function-id 0x1::object::transfer --args address:<object_address> address:<new_owner_address> --profile <deployer_account_profile>

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@gregnazario gregnazario merged commit dbbae78 into main Nov 14, 2024
5 checks passed
@gregnazario gregnazario deleted the kc/object-transfer branch November 14, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants