This repository contains the smart contracts for NFT Protect. The system consists of several contracts responsible for various functions, including arbitration, user identity management, coupon generation and redemption, and NFT protection.
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
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
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.
To export ABI run this command:
yarn export-abi
This project is licensed under the GNU GPL v2.1 license.