Skip to content

Commit 80cc605

Browse files
JohnCariburmecia
andauthored
feat(infura): add Infura WASM FDW for blockchain data (supabase#547)
* feat(infura): add Infura WASM FDW for blockchain data Add a new WebAssembly Foreign Data Wrapper for querying blockchain data via Infura JSON-RPC API. Supports Ethereum, Polygon, and other EVM-compatible networks. Features: - 5 resource types: blocks, transactions, balances, logs, chain_info - Query pushdown for block numbers, transaction hashes, and addresses - Vault integration for secure API key storage (api_key_id option) - Rate limit handling with exponential backoff retry - Import foreign schema support for auto-generating tables Closes supabase#394 * feat(infura): add documentation and source files * feat(infura): add FDW implementation and tests * test(infura): add mock server endpoints and smoke test * test(infura): add Infura FDW smoke test * fix issues and improve docs * add missing columns in test case --------- Co-authored-by: Bo Lu <[email protected]>
1 parent 515fea7 commit 80cc605

12 files changed

Lines changed: 1498 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
| [Firebase](./wrappers/src/fdw/firebase_fdw) | A FDW for Google [Firebase](https://firebase.google.com/) |||
2121
| [HelloWorld](./wrappers/src/fdw/helloworld_fdw) | A demo FDW to show how to develop a basic FDW. | | |
2222
| [HubSpot](./wasm-wrappers/fdw/hubspot_fdw) | A Wasm FDW for [HubSpot](https://www.hubspot.com/) |||
23+
| [Infura](./wasm-wrappers/fdw/infura_fdw) | A Wasm FDW for [Infura](https://www.infura.io/) blockchain data |||
2324
| [Logflare](./wrappers/src/fdw/logflare_fdw) | A FDW for [Logflare](https://logflare.app/) |||
2425
| [Notion](./wasm-wrappers/fdw/notion_fdw) | A Wasm FDW for [Notion](https://www.notion.so/) |||
2526
| [Orb](./wasm-wrappers/fdw/orb_fdw) | A Wasm FDW for [Orb](https://www.withorb.com/) |||

docs/catalog/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Each FDW documentation includes a detailed "Limitations" section that describes
2424
| Firebase |||||||
2525
| Gravatar |||||||
2626
| HubSpot |||||||
27+
| Infura |||||||
2728
| Iceberg |||||||
2829
| Logflare |||||||
2930
| Notion |||||||
@@ -51,6 +52,7 @@ See [Developing a Wasm Wrapper](../guides/create-wasm-wrapper.md) for instructio
5152
| Cloudflare D1 | [Supabase](https://supabase.com) | [Link](cfd1.md) | [Link](https://github.com/supabase/wrappers/tree/main/wasm-wrappers/fdw/cfd1_fdw) |
5253
| Gravatar | [Automattic](https://automattic.com) | [Link](gravatar.md) | [Link](https://github.com/Automattic/gravatar-wasm-fdw) |
5354
| HubSpot | [Supabase](https://supabase.com) | [Link](hubspot.md) | [Link](https://github.com/supabase/wrappers/tree/main/wasm-wrappers/fdw/hubspot_fdw) |
55+
| Infura | [Supabase](https://supabase.com) | [Link](infura.md) | [Link](https://github.com/supabase/wrappers/tree/main/wasm-wrappers/fdw/infura_fdw) |
5456
| Notion | [Supabase](https://supabase.com) | [Link](notion.md) | [Link](https://github.com/supabase/wrappers/tree/main/wasm-wrappers/fdw/notion_fdw) |
5557
| Orb | [Supabase](https://supabase.com) | [Link](orb.md) | [Link](https://github.com/supabase/wrappers/tree/main/wasm-wrappers/fdw/orb_fdw) |
5658
| Paddle | [Supabase](https://supabase.com) | [Link](paddle.md) | [Link](https://github.com/supabase/wrappers/tree/main/wasm-wrappers/fdw/paddle_fdw) |

0 commit comments

Comments
 (0)