Skip to content

Support ENS multicoin EIP-2304 #1839

@vnavascues

Description

@vnavascues
  • Version: 5.11.1
  • Python: 3.7
  • OS: osx/linux/win

ENS PublicResolver
EIP-2304

RESOLVER would require something like this:

  {
      "constant": True,
      "inputs": [
          {
              "name": "node",
              "type": "bytes32"
          },
          {
              "name": "coinType",
              "type": "uint256"
          },
      ],
      "name": "addr",
      "outputs": [
          {
              "name": "ret",
              "type": "bytes"
          }
      ],
      "payable": False,
      "type": "function"
  },

bruno.eth is an ENS domain with multiple coins set up.

By calling addr(bytes32, unit256) on its public resolver with:

  • bytes32: 0x9de0b76f3b87380f0bcb9e41b403c69b88b01fbeaf785e83f38a6879902af71b
  • uint256: 434

You should expect:

  • bytes: 0x0aff6865635ae11013a83835c019d44ec3f865145943f487ae82a8e7bed3a66b

Thanks

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