Wayfinder
The @ar.io/wayfinder-core
library provides intelligent gateway routing and data verification for accessing Arweave data through the AR.IO network. It's the foundational package that powers all other Wayfinder tools.
What is Wayfinder?
Wayfinder Core is a JavaScript/TypeScript library that:
- Intelligently Routes Requests: Automatically selects the best AR.IO gateway for each request
- Verifies Data Integrity: Cryptographically verifies that data hasn't been tampered with
- Handles Failures Gracefully: Automatically retries with different gateways when requests fail
- Provides Observability: Emits events and telemetry for monitoring and debugging
- Works Everywhere: Compatible with browsers, Node.js, and edge environments
Installation
Basic Configuration
Advanced Configuration
With Routing Strategy
With Data Verification
Full Configuration Example
Next Steps
- request(): How to fetch Arweave data using Wayfinder
- resolveUrl(): Use dynamic URLs for transaction IDs, ArNS names, etc.
- Gateway Providers: Understand gateway discovery options
- Routing Strategies: Explore different routing algorithms
- Verification Strategies: Learn about data integrity verification
- Telemetry: Set up monitoring and observability