https://github.com/dapp-learning-dao/official-website-smart-contract
https://github.com/dapp-learning-dao/official-website-smart-contract
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dapp-learning-dao/official-website-smart-contract
- Owner: Dapp-Learning-DAO
- License: apache-2.0
- Created: 2024-01-19T08:40:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-25T08:58:24.000Z (over 1 year ago)
- Last Synced: 2025-03-24T10:06:53.681Z (about 1 year ago)
- Language: Solidity
- Size: 3.39 MB
- Stars: 0
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Official-website-smart-contract
## support network
optimism , arbi , zksync ,scroll, polygonzkevm
## build
```sh
npx hardhat compile
npx hardhat run scripts/redpacket/2-deployHappyRedPacket.js --network sepolia
npx hardhat run scripts/redpacket/2-deployHappyRedPacket.js --network scroll
npx hardhat run scripts/redpacket/2-deployHappyRedPacket.js --network arbitrum
npx hardhat run scripts/redpacket/2-deployHappyRedPacket.js --network polygonZKEVM
npx hardhat run scripts/redpacket/2-deployHappyRedPacket.js --network linea
// distributor
npx hardhat run scripts/redpacket/2-deployMerkleDistributorFactory.js --network arbitrum
npx hardhat run scripts/MerkleDistributor/2-deployMerkleDistributorFactory.js --network polygonZKEVM
npm run format
or
npx prettier --write --plugin=prettier-plugin-solidity 'contracts/**/*.sol'
npx hardhat verify --network arbitrum 0x075FE5D2CD5D22D744Da94d81658143abf49D589
npx hardhat verify --network scroll 0xC90D844679C0eFEB37522c43711D4856d192BD62
```
## DEPLOYMENT
for more details see [DEPLOYMENT.md](./DEPLOYMENT.md).