Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/merokudao/meroku-protocol
Smart Contracts for the Meroku Protocol.
https://github.com/merokudao/meroku-protocol
app-distribution meroku nft
Last synced: 5 days ago
JSON representation
Smart Contracts for the Meroku Protocol.
- Host: GitHub
- URL: https://github.com/merokudao/meroku-protocol
- Owner: merokudao
- Created: 2023-05-23T06:27:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-27T12:00:01.000Z (9 months ago)
- Last Synced: 2024-04-15T05:03:56.719Z (7 months ago)
- Topics: app-distribution, meroku, nft
- Language: JavaScript
- Homepage: https://app.meroku.org
- Size: 926 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# .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.jsonCurrent deployments are configured for mumbai(Polygon)
```shell
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 contractnpm 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 contractnpm 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 .appNFTnpx 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:
```shell
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
```