From d29d1e806b91412dc304ec74aeb27b8dd94a29e4 Mon Sep 17 00:00:00 2001 From: fanyarachel <43579854+fanyarachel@users.noreply.github.com> Date: Fri, 11 Oct 2024 23:51:44 +0800 Subject: [PATCH] Isabellewei/canvas (#367) * fix the title * Unbold the text under toggle list * Update the content * update content based on the comments --------- Co-authored-by: isabellewei --- .../en/developers/guides/canvas-badge-integration.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/content/docs/en/developers/guides/canvas-badge-integration.mdx b/src/content/docs/en/developers/guides/canvas-badge-integration.mdx index df3b8aea1..338142f29 100644 --- a/src/content/docs/en/developers/guides/canvas-badge-integration.mdx +++ b/src/content/docs/en/developers/guides/canvas-badge-integration.mdx @@ -20,7 +20,7 @@ We are thrilled to have you join us in building unique badges on Scroll Canvas, ### Canvas -Each Canvas is a `Profile` smart contract, minted by the users through the `ProfileRegistry` contract on Scroll. Canvas is not transferrable and is unique to each wallet. +Each Canvas is a `Profile` smart contract, minted by the users through the `ProfileRegistry` contract on Scroll. Canvas is not transferrable and unique to each wallet. (You can check out Canvas contracts [here](https://github.com/scroll-tech/canvas-contracts)) Canvas is an open onchain profile database of user identities and achievements ([check out dashboard built by community on Dune](https://dune.com/soodoo/scroll-marks)). @@ -40,8 +40,8 @@ Developers can design badges in two ways: | Badge Structure | Description | | --- | --- | -| **`Singleton badges`** | static attestations based on a certain user action/attribute | -| **`Leveled badges`** | dynamic attestations based on the progression of the users’ onchain | +| **`Singleton badges`** | static attestations based on a certain user action/attribute. | +| **`Leveled badges`** | dynamic attestations based on the progression of the users’ onchain activities | ## Before you Start @@ -60,7 +60,7 @@ For Canvas and badge questions, please join the [Scroll dev support channel](htt ### Visual Format Request: -- Maximum resolution: 480px x 480px +- Minimum resolution: 480px x 480px - Optimal resolution: 600px x 600px - File size: Under 300KB @@ -153,6 +153,7 @@ Since **badges are permissionless**, Scroll Foundation may not troubleshoot indi ## Step 3 `Test`: Sanity Check 1. Once your badge has been deployed on Scroll, you can auto-check some (but not all) of these requirements by running `yarn check-badge` ([link to check badge script](https://github.com/scroll-tech/canvas-contracts/blob/master/script/CheckBadge.s.sol)). + - If your badge minting transaction reverts, we recommend debugging using `cast`: ```bash