Actions

External Initiators

From Chainlink Community Wiki

Revision as of 20:48, 9 January 2023 by Devtrace (talk | contribs) (Created page with "=External Initiators+ [https://docs.chain.link/chainlink-nodes/external-initiators/building-external-initiators/ Official Chainlink Docs for External Initiators] ---- ==Example Details for the Document== To help get a better understanding of how external initiators work, we will run through an example in the doc. The example is writing three pieces of information on-chain; two strings and an uint. '''String 01:''' <code>FeedName</code> '''String 02:''' <code>FeedID</c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

=External Initiators+ Official Chainlink Docs for External Initiators


Example Details for the Document

To help get a better understanding of how external initiators work, we will run through an example in the doc. The example is writing three pieces of information on-chain; two strings and an uint. String 01: FeedName String 02: FeedID Uint: 01234567.89


Create External Initiator

In order to create an external initiator, we need to get access to the Chainlink command line (CLI)

We'll accomplish this by entering into our Chainlink docker container

docker exec -it $CHAINLINK_CONTAINER_NAME /bin.bash

You will be prompted to log in. Your login credentials are the same email address and password combination you use to login to the web UI

Once authenticated, we can create our external initiator. chainlink initiators create $EXTERNAL_INITIATOR_NAME $EXTERNAL_INITIATOR_URL

In the above example command, the $EXTERNAL_INITIATOR_NAME would be whatever you want it to be. Whatever name you give it, will appear as the name in the database, so I recommend you name it something specific to the job.