GitXplorerGitXplorer
s

canvas-contracts

public
9 stars
24 forks
2 issues

Commits

List of commits on branch master.
Verified
9cc1a8b0e677d95bda7c329c5966f52955cd2979

fix: update requirements wording (#53)

TThegaram committed 18 days ago
Verified
38ce0dc61f3297f0764d6cc6d9597d4ea6aad77c

feat: update docs (#52)

TThegaram committed 22 days ago
Verified
c08e809076053f294f91e99bbee8956bd64a18c6

feat: add test badge to readme (#51)

TThegaram committed a month ago
Verified
a73926300a16147fd670a21d5dbd1e46b725fe8e

Update deployments.md (#48)

TThegaram committed 2 months ago
Verified
bf63c29cbb4898c8f2ac4ca2a8c565089ba252a7

fix: fix incorrect JSON encoding in ScrollBadgePowerRank example (#47)

TThegaram committed 3 months ago
Verified
a68c8ab9c6f23c3d328ade04ca627fd8856c8ff2

feat(contracts): add IScrollBadgeUpgradeable (#46)

llucianHymer committed 3 months ago

README

The README file for this repository.

Scroll Canvas Contracts

test

Welcome to Scroll Canvas

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

Overview

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.

Key Features

  • 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

Developer Quickstart

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.

Support

For questions regarding Canvas and custom badge development, please join Scroll dev support channel on Discord.

Running the Code

Node.js

First install Node.js and npm. Run the following command to install yarn:

npm install --global yarn

Foundry

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.

Install Dependencies

Run the following command to install all dependencies locally.

yarn

Run Contract Tests

Run the following command to run the contract tests.

yarn test

Contributing

We welcome community contributions to this repository. For larger changes, please open an issue and discuss with the team before submitting code changes.

License

Scroll Monorepo is licensed under the MIT license.