merokudao / meroku-protocol

Smart Contracts for the Meroku Protocol.

Home Page:https://app.meroku.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.appNFT & .devNFT contracts (upgradeable)

  • Using @openzeppelin/contracts & @openzeppelin/contracts-upgradeable for standard libraries for Context, Strings, ERC721, ERC721Enumerable

add pvt key in .env file, for onchain deployments add reservedDappNames in ./scripts/reservedDappNames.json

Current deployments are configured for mumbai(Polygon)

npm run deployDappNameList  //to deploy .dappNameList contract
npm run deployDevProxy      //to deploy .devNFT contract
npm run deployAppProxy      //to deploy .appNFT contract
npm run deployAppstoreProxy //to deploy .appStoreNFT contract

npm run verifyDappNameList  //to verify .dappNameList contract
npm run verifyDI            //to verify .devNFT contract
npm run verifyAI            //to verify .appNFT contract
npm run verifyASI           //to verify .appStoreNFT contract

npm run addDappNames        //to add reserved dappNames in the list to avoid their minting in .appNFT

npm run upgradeDevProxy     //to upgrade proxy with new implementation of .devNFT
npm run upgradeAppProxy     //to upgrade proxy with new implementation of .appNFT

npx hardhat compile         //to compile NFT contracts
npx hardhat test            //to test NFT contracts

Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

Try running some of the following tasks:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js

About

Smart Contracts for the Meroku Protocol.

https://app.meroku.org


Languages

Language:JavaScript 58.1%Language:Solidity 41.9%