chaincli

command
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 1 Imported by: 0

README

Setup

Before starting, you will need:

  1. An EVM chain endpoint URL
  2. The chain ID corresponding to your chain
  3. The private key of an account funded with LINK, and the chain's native token (to pay transaction fees)
  4. The LINK address, LINK-ETH feed address, fast gas feed address for your chain
  5. Go
  6. 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.

  1. "cd" into the keeper scripts directory
cd <YOUR LOCAL CHAINLINK REPO>/core/scripts/chaincli
  1. Create .env file based on the example .env.example

To see all available commands, run the following:

go run main.go --help

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL