- Faucet Smart Contract - The Faucet Smart Contract, tests, deployment scripts and other related files. (HardHat&Foundry)
- Web App - The Web App, tests, request token with a GitHub&Discord Next-Auth integration. (React&Next.js)
- Discord Bot - The Discord Bot, request token on Discord (Node.js&AWL Lambda)
- Subgraph - The Subgraph, faucet smart contract events indexed on Alchemy&The Graph (Alchemy&The Graph)
cd smart_contract
npm installnpx hardhat compilenpx hardhat testnpx hardhat run scripts/deploy.js --network <networkName>cd web-app
yarnyarn devcd discord-bot
npm installnpm run registernpm run deploy- Subgraph on Alchemy for Faucet Contract on Goerli
- Subgraph on TheGraph for Faucet Contract on Goerli
cd subgraph
yarn global add @graphprotocol/graph-cli
yarngraph init --studio faucet-goerligraph auth --studio <studio-access-token>
cd faucet-goerli
graph codegen && graph build
graph deploy --studio faucet-goerli