Hi, I work on Chainlink.
Below are some weekend projects I've built:
Hi, I work on Chainlink.
Below are some weekend projects I've built:
Hi Team, I am new to external adaptor. I appoligise if I am asking a dumb question. I created an external adaptor (by the nodejs template) --> created bridge on chianlink node --> created a new job to query the oracle which correspond with my chainlink node. But the error msg shows on job run tab saying "error making http request: Post "http://localhost:8080": dial tcp 127.0.0.1:8080: connect: connection refused". I appricate if somebody can give me a hint which part should I do the debug (there are too many elements are involved)? I also attached the related screenshot below.
My adaptor is listening on localhost:8080 port in the same server as my chainlink node.
I query the external adaptor locally and it successfully returns the result. like the attached screenshot. But it failed with the above error when I call it through the oracle contract. Hope somebody could give me a hint
Currently, a validator
object is created in createRequest
in line 22 with
const validator = new Validator(callback, input, customParams)
However, the validator.js class constructor shows as
constructor(input = {}, customParams = {}) {
this.input = input
this.customParams = customParams
this.validated = { data: {} }
this.validateInput()
}
So the external adapter template needs to be updated to
const validator = new Validator(input, customParams)
Otherwise the tests/calls will always fail with the error:
"{"error":{"jobRunID":"1","status":"errored","statusCode":400,"name":"AdapterError","cause":{}},"level":"error","message":"Error validating input.","instanceId":"fc8f1c9b-bcb4-4a2f-ade5-f8d85a116582","timestamp":"2021-06-10T01:48:11.433Z"}"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.