Skip to content

💡 Integration and support of DRep handles within DRep Directory #3155

@Ryun1

Description

@Ryun1

Area

Delegation Pillar

Is there new design needed?

Yes

What?

What are handles?

  • handles are a widely used Cardano address resolution service

  • Handles work by minting a handle NFT and storing this at a payment address

    • the handle holder can then tell people his handle i.e $ryun1
    • tooling such as block explorers and wallets allow users to search addresses by a handle, and then show the user the address where that handle is, so for $ryun1 it is addr1q86dnpkv
    • this is nice, as to send me ada, you don't need to remember my address, you can just remember my handle.
    • tools and wallets can resolve a handle to an address via the handle api

GovTool integration

  • Handles are in the late stages of adding support for DRep ID resolution, and have reached out to see if GovTool could integrate handle support
  • We should be able to resolve handles to DRep IDs using the handle API
  • We should be able to resolve DRep IDs to handles using the handle API

Links

Please, see below the information to resolve DRep Handles:

https://public.koralabs.io/documentation/DRepResolution.pdf

As mentioned on the doc above, you can also use our API to resolve DRep Handles:

Mainnet: https://api.handle.me/swagger/

Preview: https://preview.api.handle.me/swagger/

Preprod: https://preprod.api.handle.me/swagger/

This is an API call for the NFT SubHandle $goose@drep on Mainnet:
https://api.handle.me/handles/goose@drep

Why?

  • Handles are widely used in the ecosystem
  • Simple integration using handle's api, is not a big technical lift for GovTool
  • Should deliver value to users

How?

Suggested Integration

(@m-i-k-e to review)

  1. Searching for DRep in directory via handle
  • add logic to the DRep directory search, so when a user searches an ada handle GovTool uses the handle API to resolve this to the DRep ID and then uses the DRep ID on the normal search logic
  • this should be a simple addition; if search term starts with $ index handle API of DRep ID
  1. Resolve payment addresses provided via DRep metadata
  • when registering as a DRep, users could provide a ada handle, GovTool could resolve this to a payment address
  1. Showing associated handles on DRep details page
  • It might be nice to show if the DRep has a handle associated with their DRep ID
  • we can move this to a second issue, once 1. and 2. is achieved

(Optional) User Story with acceptance criteria

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions