1.0.1 • Published 4 months ago

erc7412 v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

ERC-7412

Sequence Diagram

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:

  • Pyth
  • Chainlink
  • Redstone

To learn more about using ERC-7412, see the integration guide.

Development Information

The library uses pnpm. The usual node.js project commands apply:

pnpm install
pnpm build
pnpm test

Run the integration 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.

1.0.1

4 months ago

1.0.0

4 months ago

0.3.0

10 months ago

1.0.0-0

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.16

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.0

2 years ago