Skip to content

nftprotect/nftprotect-contracts-v2

Repository files navigation

Project Overview

This project is a second version of NFT Protect protocol. The main contracts involved are:

  • UserRegistry: Manages users and their successors.
  • RequestsHub: Handles requests for ownership adjustment, ownership restoration, and burning of entities.
  • NFTProtect2: Applies ownership adjustments, ownership restoration, and burning of entities.

The project also includes hardhat scripts for deploying these contracts (deploy.ts), verifying them (verify.ts), and updating the README.md file with the deployed contract addresses (updateReadme.ts).

Deployment

Contracts are deployed using the deploy.ts script. This script checks if a contract has already been deployed on the network, and if not, deploys it.

yarn build
yarn deploy --network sepolia

Verification

After deployment, contracts can be verified using the verify.ts script. This script reads the contract data from contracts.json and verifies each contract on the network.

yarn verify --network sepolia

Configuration

To configure contracts automatically after deployment, run the following:

yarn configure --network sepolia

This script performs smart contracts configuration based on contracts.json and arbitrators.json.

Contracts

Sepolia

About

NFT Protect smartcontracts v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published