We are thrilled to have you join us in building unique discoveries with Scroll Canvas, a new product designed for ecosystem projects to interact with users in a more tailored way.
Try Canvas at scroll.io/canvas
Scroll Canvas allows users to showcase on-chain credentials, status, and achievements called Badges issued and collected across the Scroll ecosystem. Users can mint a non-transferable and unique personal persona to collect and display their Badges.
- Canvas: Each Canvas is a smart contract minted through the
ProfileRegistry
contract by the user on Scroll’s website. - Badges: Attestations of achievements and traits verified through the Ethereum Attestation Service (EAS), issued by different projects and the Scroll Foundation. Badges are wallet-bound and non-transferable.
Differences between attestations and NFTs:
Attestation | NFT |
---|---|
Witness Proofs | Tokenized Assets |
Non-transferable | Transferable |
Recorded on disk (blockchain history) | Recorded in memory (blockchain states) |
Prove ownership at a point in time | Exercise custodianship of an asset |
Visit the Developer Documentation in this repo to learn more about Canvas.
See Deployments for the official Canvas contract addresses.
See the Integration Guide for more information.
For questions regarding Canvas and custom badge development, please join Scroll dev support channel on Discord.
First install Node.js
and npm
.
Run the following command to install yarn
:
npm install --global yarn
Install foundryup
, the Foundry toolchain installer:
curl -L https://foundry.paradigm.xyz | bash
If you do not want to use the redirect, feel free to manually download the foundryup
installation script from here. Then, run foundryup
in a new terminal session or after reloading PATH
.
Other ways to install Foundry can be found here.
Run the following command to install all dependencies locally.
yarn
Run the following command to run the contract tests.
yarn test
We welcome community contributions to this repository. For larger changes, please open an issue and discuss with the team before submitting code changes.
Scroll Monorepo is licensed under the MIT license.