Setup
Before starting, you will need:
- An EVM chain endpoint URL
- The chain ID corresponding to your chain
- The private key of an account funded with LINK, and the chain's native token
(to pay transaction fees)
- The LINK address, LINK-ETH feed address, fast gas feed address
for your chain
- Go
- Running at least 2 nodes with the keeper job. Have some balance on each of them.
The endpoint URL can be a locally running node, or an externally hosted one like
alchemy. Your chain ID will be a number
corresponding to the chain you pick. For example the Rinkeby testnet has chain
ID 4. Your private key can be exported from MetaMask.
Note: Be careful with your key. When using testnets, it's best to use a separate
account that does not hold real funds.
- "cd" into the keeper scripts directory
cd <YOUR LOCAL CHAINLINK REPO>/core/scripts/chaincli
- Create
.env
file based on the example .env.example
To see all available commands, run the following:
go run main.go --help