
Product
Introducing Repository Labels and Security Policies
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
ERC-7412 is the implementation of an Ethereum Improvement Proposal to provide a mechanism for loading data from a trusted provider on-chain, on-demand. Its a successor to the more constrained EIP-3668.
This repository contains a basic reference implementation for a client library enabling ERC-7412 support and a test demonstrating its functionality.
Currently, there are 3 off-chain data providers officially supported. They are automatically loaded and processed by the library if observed:
To learn more about using ERC-7412, see the integration guide.
The library uses pnpm
. The usual node.js project commands apply:
pnpm install
pnpm build
pnpm test
A series of test scripts are included in the repository. For example, to run the Pyth test:
RPC_URL=... pnpm test:e2e:pyth
Other oracle provider may require credentials from the provider or other environment variables, depending on the provider.
FAQs
Reference implementation for usage of EIP-7412
The npm package erc7412 receives a total of 1,502 weekly downloads. As such, erc7412 popularity was classified as popular.
We found that erc7412 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.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
Research
Security News
Socket researchers uncovered malicious npm and PyPI packages that steal crypto wallet credentials using Google Analytics and Telegram for exfiltration.
Product
Socket now supports .NET, bringing supply chain security and SBOM accuracy to NuGet and MSBuild-powered C# projects.