Skip to content

Scott-Canning/chainlink_keepers_counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hardhat Chainlink Keepers Demo Project

Demonstration of Chainlink Keepers on Kovan testnet. Owner has ability to toggle counter on/off.

.env:

KOVAN_URL= <node provider API key>
KOVAN_KEY= <private key>
ETHERSCAN_KEY= <Etherscan API key>
POLYGONSCAN_KEY <Polygonscan API key>
CONTRACT_ADDRESS= <deployed address>

Deploy new contract:

npx hardhat run scripts/deploy.js --network kovan

Kovan ETH/LINK faucet:

https://faucets.chain.link/kovan

Register Upkeep:

https://docs.chain.link/docs/chainlink-keepers/register-upkeep/#how-funding-works

Verify contract:

npx hardhat verify --network kovan <contract_address> <constructor args> 

Event listener script:

npx hardhat run scripts/listener.js --network kovan   

Events emitted on automated counter increments

image

About

Simple Keepers Tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published