As an engineer,
I want to investigate if we can mint Scroll Canvas badges from our frontend,
So that we can ensure the minting flow works correctly before full implementation.
Acceptance Criteria
GIVEN I have one or more valid VCs,
WHEN I call the mintBadge() function of the ScrollDevVerifier smart contract with the list of my VCs,
THEN the corresponding Scroll badges are minted.
GIVEN I have one or more valid VCs,
WHEN I call the mintBadge() function of the ScrollDevVerifier smart contract with one or more VCs,
AND at least one VC is not valid for this use case (either bad signature, bad payload, provider, etc.),
THEN no badge shall be minted,
AND the transaction should be reverted with a proper error.
User Story:
As an engineer, I want to investigate if we can mint Scroll Canvas badges from our frontend, So that we can ensure the minting flow works correctly before full implementation.
Acceptance Criteria
GIVEN I have one or more valid VCs, WHEN I call the mintBadge() function of the ScrollDevVerifier smart contract with the list of my VCs, THEN the corresponding Scroll badges are minted.
GIVEN I have one or more valid VCs, WHEN I call the mintBadge() function of the ScrollDevVerifier smart contract with one or more VCs, AND at least one VC is not valid for this use case (either bad signature, bad payload, provider, etc.), THEN no badge shall be minted, AND the transaction should be reverted with a proper error.
Product & Design Links:
Tech Details:
Open Questions:
Notes/Assumptions: