Image for running a ChainLink node, to participate in the first decentralized oracle network.
1M+
Chainlink is middleware to simplify communication with blockchains. Here you'll find the Chainlink Golang node, currently in alpha. This initial implementation is intended for use and review by developers, and will go on to form the basis for Chainlink's decentralized oracle network. Further development of the Chainlink Node and Chainlink Network will happen here, if you are interested in contributing please see our contribution guidelines. The current node supports:
Examples of how to utilize and integrate Chainlinks can be found in the examples directory.
go get -d github.com/smartcontractkit/chainlink && cd $GOPATH/src/github.com/smartcontractkit/chainlinkmake installchainlink helpIn order to run the Chainlink node you must have access to a running Ethereum node with an open websocket connection. Any Ethereum based network will work once you've configured the chain ID. Ethereum node versions currently tested and supported:
NOTE: By default, chainlink will run in TLS mode. For local development you can either disable this by setting CHAINLINK_DEV to true, or generate self signed certificates using tools/bin/self-signed-certs or manually.
To start your Chainlink node, simply run:
$ chainlink local node
By default this will start on port 6688, where it exposes a REST API.
Once your node has started, you can view your current jobs with:
$ chainlink jobspecs
View details of a specific job with:
$ chainlink show $JOB_ID
To find out more about the Chainlink CLI, you can always run chainlink help.
Check out the wiki's pages on Adapters and Initiators to learn more about how to create Jobs and Runs.
You can configure your node's behavior by setting environment variables which can be, along with default values that get used if no corresponding environment variable is found. The latest information on configuration variables are available in the docs.
External adapters are what make Chainlink easily extensible, providing simple integration of custom computations and specialized APIs. A Chainlink node communicates with external adapters via a simple REST API.
For more information on creating and using external adapters, please see our external adapters page.
For the latest information on setting up a development environment, see the guide here.
$ go build -o chainlink
$ ./chainlink
$ cd $GOPATH/src/github.com/smartcontractkit/chainlink
$ go test ./...
$ cd $GOPATH/src/github.com/smartcontractkit/chainlink/evm
$ yarn install
$ yarn run test-sol
For more tips on how to build and test Chainlink, see our development tips page.
Chainlink's source code is licensed under the MIT License, and contributions are welcome.
Please check out our contributing guidelines for more details.
Thank you!
Content type
Image
Digest
sha256:1967fca79…
Size
443.2 MB
Last updated
about 7 hours ago
docker pull smartcontract/chainlink:2.66.0