Skip to content

Multiaddr URI scheme #165

Open
Open

Description

@MarcoPolo

I'd like to propose the following URI scheme for multiaddrs: multiaddr:<string-encoded-multiaddr>.

This would give us the ability to pass in a multiaddr where a URI is expected (e.g. HTTP redirects). A bit more context here: libp2p/specs#568.

I don't think any multiaddrs in use today are incompatible with the generic URI syntax. Specifically section 3.3 for Paths.

Activity

  1. MarcoPolo commented on Aug 26, 2023

    @MarcoPolo
    ContributorAuthor

    For multiaddr components that use multibase, the generator of the URI string should ensure the multibase used is valid as a path segment.

  2. Erudition commented on Oct 16, 2025

    @Erudition

    Yesss! This would provide a clear migration path to multiaddr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions