Admin based smart contract faucet with a simple time-out mechanism, it allows an admin to specify the airdrop amount and the timeout.
- Install nodejs and then install pnpm
npm install -g pnpm
- Install dependencies
pnpm i
- Build the UI package
pnpm build:ui
(You only need to do this once) - Run the example with
pnpm smart_faucet
insmart-faucet
directory (i.e. right here) - Visit http://localhost:5173 in your browser.
For any questions about building front end applications with useink, join the Element chat.