Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@api3/airnode-protocol
Advanced tools
@airnode/protocol
@api3/airnode-protocol
The contracts that implement the Airnode protocol
See the docs and the whitepaper for a high level discussion of the protocol.
Airnode.sol
is a central contract that implements the entire protocol.
It is entirely permissionless, i.e., API3 is not its Owner
or has any privileges.
Therefore, it does not need to be duplicated, and all Airnode users will use the "official" Airnode.sol
contract that is already deployed on their chain.
Firstly, Airnode.sol
is a database.
It keeps records of providers, requesters, endpoints, templates and clients (see the docs for what these are) to be referred to while making requests.
In addition, clients use Airnode.sol
to make requests, and Airnodes use it to listen for requests made to them.
In this regard, it can be seen as a common oracle contract that all Airnodes use simultaneously.
This version of the protocol supports the request-response scheme, i.e., the requester makes a request and the Airnode reponds as soon as possible. The protocol will later be extended to support other schemes, most notably publish-subscribe.
Additional schemes do not overlap with request-response significantly, and thus are planned to be implemented as separate contracts (e.g., AirnodeSubscribe.sol
).
In other words, the request-response scheme will soon be finalized and improvements to the protocol will not break it.
The protocol is not finalized yet to get more input about what additional features we should support. Therefore, the contracts are not thoroughly tested and audited yet. Feel free to raise any issues that are not already reported.
FAQs
> The contracts that implement the Airnode protocols
The npm package @api3/airnode-protocol receives a total of 350 weekly downloads. As such, @api3/airnode-protocol popularity was classified as not popular.
We found that @api3/airnode-protocol demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.