Skip to content

Instantly share code, notes, and snippets.

@darobin
Created May 4, 2026 14:24
Show Gist options
  • Select an option

  • Save darobin/b1b6a7bd2c441e5fd743e9ebd15d6c5e to your computer and use it in GitHub Desktop.

Select an option

Save darobin/b1b6a7bd2c441e5fd743e9ebd15d6c5e to your computer and use it in GitHub Desktop.
Delegated Routing with RASL

Delegated Routing with RASL

This specification adds RASL support to IPFS Delegating Routing.

The rasl Delegated Routing Protocol

In the peer schema, the Protocols key accepts a list of protocols that can be routed with. This specification adds one keyword value: rasl.

When the rasl protocol keyword is provided, the peer schema object must also have a rasl key, the value of which is an array of hosts (no scheme, no port, etc.). The array of hosts is intended to be used in the same way as the hints in RASL URLs: for any given CID, a RASL URL is constructed using that host and other parts specified in the RASL spec, and retrieveal from the resulting URL is attempted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment