Skip to content

Update token guides for Cadence 1.0 #787

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

Merged
merged 4 commits into from
May 30, 2024
Merged

Update token guides for Cadence 1.0 #787

merged 4 commits into from
May 30, 2024

Conversation

joshuahannan
Copy link
Member

Updates the ft, nft, and metadata views guides for Cadence 1.0
I'm currently working on updating Chase's example repos, so those should be ready soon.
I'm hoping to get a review on this first though in case there are any changes I need to make to the code

Copy link

vercel bot commented May 21, 2024

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

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2024 3:27pm

Copy link
Contributor

@sisyphusSmiling sisyphusSmiling left a comment

Choose a reason for hiding this comment

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

Looks great! Left a couple smaller suggestions, mostly just about consistency and linked repos being updated

@joshuahannan
Copy link
Member Author

@chasefleming I opened PRs in your repos with the changes from these guides:

Can you please review this PR and those two PRs so we can get everything merged an updated? Thanks!

Copy link
Member

@chasefleming chasefleming left a comment

Choose a reason for hiding this comment

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

I started noting the sections with line break issues but maybe there is a formatting in your editor to just do it all in one go.

@@ -17,22 +17,55 @@ Fungible tokens are digital assets that are interchangeable and indistinguishabl

## Vaults on Flow

On the Flow blockchain, fungible tokens are stored in structures called vaults. Think of a vault as a digital piggy bank. When you transfer tokens from one vault to another:
On the Flow blockchain and in the Cadence programming language,
fungible tokens are stored in structures called resources.
Copy link
Member

Choose a reason for hiding this comment

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

Looks like there are line breaks here when they shouldn't be.

Copy link
Member Author

Choose a reason for hiding this comment

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

We've always had a policy at Flow (at least in the Cadence and protocol teams), that we keep lines in docs at <100 characters because it makes it easier to leave comments and suggestions for the docs in code reviews. I thought it was also a policy in the Devex team too, but maybe it was forgotten about. I prefer to keep it this way

@joshuahannan
Copy link
Member Author

@chasefleming I addressed your comments and pushed some new changes. As I said in my reply, the line break thing was intentional, so don't worry about that

@joshuahannan joshuahannan merged commit 8873230 into main May 30, 2024
3 checks passed
@joshuahannan joshuahannan deleted the token-guides branch May 30, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants