Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.94 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.94 KB

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