multiformats / multiformats/multiaddr

Protocol for blockchain addressing

Open
#156 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
482
Forks
87
PR merge metrics
No merged PRs in 30d

Description

This project aims to identify things "in a network", and for the most part focuses on the TCP/IP networking stack, but extends into the IPFS network and Onion/Tor network too.

But I don't see a means to indicate content to be looked up on a blockchain? IPFS content has a lot of usage with blockchain-based projects, and if there were reflexive ways for referring back to blockchain-based data, I think that would be very helpful.

Similar to how the main README gives examples of /http/example.com/index.html and /tls/sni/example.com/http/example.com/index.html for accessing web content (not just connecting to the web server that controls the content), I believe the following for blockchain-related content would fit that pattern:

/web3/<CHAINID>/<ADDRESS>/<FUNCTION>.<RETURN_TYPE>
/web3/<CHAINID>/ens/<ENS_NAME>/<FUNCTION>.<RETURN_TYPE>

This proposal puts the chain ID first, which makes this different than ERC4804 in the ordering of the address parts, but the other logic of turning functions into path parts from ERC4804 could apply here too.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the main README's address examples and compare the proposed /web3 paths with ERC4804. This issue needs a protocol design decision before implementation can begin; done would be an agreed addressing specification, including chain, address or ENS, function, and return-type handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain
Domain
blockchain, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.