Skip to content

Latest commit

 

History

History
71 lines (42 loc) · 1.62 KB

README.md

File metadata and controls

71 lines (42 loc) · 1.62 KB

Chainlink-keepers

Chainlink-keepers repository is a comprehensive codebase that leverages chainlink keepers implementation on polygon. Chainlink keepers automate smart contracts using a secure and hyper-reliable decentralized network that uses the same external network of node operators that secures billions in value.

Getting started

  • Clone this repository
git clone https://github.com/integrations-Polygon/Chainlink-keepers.git
  • Navigate to Chainlink-keepers
cd Chainlink-keepers
  • Install dependencies
npm install

or

yarn

Deploy your smart contract

To deploy your smart contract, first you would need to freshly compile your smart contract by simply running this command.

npx hardhat clean

and

npx hardhat compile

After that, to actually deploy the smart contract run this command

npx hardhat run --network mumbai ./scripts/keepersdeploy.js

Verify your deployed smart contract (OPTIONAL)

It is always a good practice to verify your smart contract for future debugging sessions by simple running this command. Add polygnscan api key in hardhat.config file

npx hardhat verify --network mumbai <deploy-contract-address> <if-any-arguments-seperated-by-space>

Test Smart contract automation

Contributing:

If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request. We welcome community contributions.