Skip to content

moonwallet/verax-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DappSheriff x Verax

DappSheriff issues NFT attestations on Verax. Once user mints their ERC721 review, DappSheriff attestates the user on Verax.

Contracts:

ECDSA Module

DappSheriff allows all users to mint their reviews, but they need to be attested by DappSheriff. DappSheriff uses ECDSA module to attest the users permit.

To get the signature for the permit, users simply need to get calldata from DappSheriff's client, which will already contain data for the NFT mint and Verax attestation.

Attestation Schema

Verax's SchemaRegistry accepts this parameters:

function createSchema(
    string memory name,
    string memory description,
    string memory context,
    string memory schemaString
)

DappSheriff sends this parameters:

  • name - "DappSheriff Review Attestation"
  • description - "Proof of user's review on DappSheriff"
  • context - "review"
  • schemaString - "string dappSheriffTokenId"

Portal

DappSheriff has decided to use the default portal created by Portal Registry

function deployDefaultPortal(
  address[] calldata modules,
  string memory name,
  string memory description,
  bool isRevocable,
  string memory ownerName
)

DappSheriff sends this parameters:

  • modules - []
  • name - "DappSheriff Portal"
  • description - "Portal to issue review attestations"
  • isRevocable - false
  • ownerName - "dappsheriff.com"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published