Skip to content

0xA2C853779F505A7C4316B1eC019d8fDfa6cAF958MATIC faucet on Polygon network

License

Notifications You must be signed in to change notification settings

Wehlage16/purple-faucet

 
 

Repository files navigation

Purple Faucet contract

Purple Faucet is a faucet on Polygon network.

This repository includes the smart contract code powering Purple Faucet app.

Project setup

Env variables

Create .env by copying .env.example in the project root. Fill the required variables:

  • OWNER_MNEMONIC - contract deployer private key

Commands

# Start local hardhat network
npx hardhat node
# Compile contract
yarn compile
# Deploy the contract on local network
yarn deploy
# Run tests
yarn test
# Tests with coverage
yarn coverage
# Linting
yarn lint:sol

Deploying to live network

# Deploy to Mumbai testnet
yarn deploy -- --network mumbai
# Deploy to Polygon mainnet
yarn deploy -- --network polygon

Licence

Published under the MIT License.

About

0xA2C853779F505A7C4316B1eC019d8fDfa6cAF958MATIC faucet on Polygon network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • TypeScript 71.2%
  • Solidity 28.8%