A little long-winded but I was originally inspired by an interview between Chainlink and Gains Network where there was some difficulty clarifying how Gains' custom Chainlink DON operated and thought it would be very helpful to facilitate the creation of DONs if there were some tool that could visually simulate the interactions between Chainlink nodes. Getting all node operators and users on the same page about how a DON operates will be extremely important... and hard!

I worked backward from this big idea to think about what the first steps to achieve it may be and decided that a similar visual tool for the creation of Chainlink job specs (and their simulated execution) would be a great first step.

What it does

I've created a drag and drop web-based editor to make it easier to generate Chainlink job specs in TOML format. The generated code can be copied into the Chainlink node's job configuration panel.

How we built it

Everything is client-side. The app is built with Next.js, Tailwind, React Flow and React DnD.

Challenges we ran into

Other than the challenge of thinking of ways to make the app as intuitive as possible I was just short on time to create something which covers the full range of job configuration options.

I have also noticed a few inconsistencies in the Chainlink docs around some of the v2 tasks so I will look to go back and suggest some edits when I get chance to investigate what the correct content should be.

Accomplishments that we're proud of

Pleased with the overall UX and getting something that kind of works!

What we learned

Learned more about the huge variety of Chainlink job types, tasks, and configuration options for each.

What's next for Chainlink Job Spec Viz

  • Implement remaining job types and tasks.
  • Allow the reverse process (pasting a completed job spec and displaying a visual representation of it).
  • Extend to simulate inputs and execution of the pipeline.
  • Extend to visual simulation of several Chainlink nodes interacting with one another.

Built With

  • next.js
  • react
  • tailwindcss
  • vercel
+ 3 more
Share this project: