api3dao / airnode-starter Goto Github PK
View Code? Open in Web Editor NEWstarter project for deploying an Airnode and making requests to it
License: MIT License
starter project for deploying an Airnode and making requests to it
License: MIT License
Currently, the tutorial uses an Airnode deployed on AWS as a serverless function. This has a few downsides:
The tutorial should use Airnode client by default and provide serverless Airnode instructions as an alternative flow.
We need a v0.1.0 for airnode starter. It's currently being worked on at the 0.1.0_setup
branch.
It has been reported that it's difficult to follow the flow on Windows because things don't work. This is likely to do with UNIX path convention being hardcoded in some scripts. We need to do the modifications so that the repo is portable.
Currently, the tutorial uses Ropsten, but both the chain and its faucets are very unstable. The tutorial should use Hardhat Network (Ganache alternative) by default and provide public chain instructions as an alternative flow.
When making requests on arbv4 sometimes it seems like the request didn't work because it can stall indefinetely waiting for fulfillment or even return a price of zero. When I go back and try to see if the request was fulfilled correctly though by querying for the requestId again a second time it is always correct.
Sometimes I would notice that the request would be fulfilled correctly and the ethers filtering picks it up but when querying past events with web3 it cannot find the ClientRequestFulfilled event yet for a very short time. So there seems to be issues with querying arbitrum events with both Ethers and Web3, with them disagreeing on if an event was emitted sometimes or other times ethers just misses the event completely.
So overall the issue seems to be with latency and emitted event querying on arbitrum, airnode works fine if you just wait a few seconds after fulfillment to query the request output value (sometimes it works instantly just fine though). This can end up in the airnode-starter test appearing as if it didn't work.
If you let me know a way to debug this better happy to work some more on it.
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.