Skip to content

Isabellewei/canvas #367

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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)).

Expand All @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down