solana-labs / explorer

Explorer for Solana clusters
https://explorer.solana.com
MIT License
222 stars 285 forks source link

explorer: add ANS domain names to account details and enable searching by domain names #205

Closed tonivlad closed 1 month ago

tonivlad commented 1 year ago

Problem

Add ANS (Alternative Name Service) by Onsol Labs domain name support to the Explorer

ANS is a protocol similar to Bonfida's SNS (.sol) that enables any project on Solana to have their own TLD ( .anything ) with a few extra features like

We're starting with a few communities/projects to enable TLDs for them before going public with the protocol.

The process to create a new TLD is first come first serve but currently involves talking to us, because we are trying to filter the first projects to make sure they are they are projects that have stood the test of time and have a long term plan. We're doing this also because we want to see what other features they require.

we're currently in talks with:

also talking with

We are already included in Dialect's sdk to enable sending messages to our domains https://github.com/dialectlabs/sdk/

To make all this happen we wrote three programs:

  1. ANS - alternative name service
  2. TldHouse - enables creation and management of the TLDs through the ANS let's a project (TLD owner) chose to let the community claim domains using
    • any SPL token
    • SOL
    • only owners of a certain NFT collection can claim/buy a domain
  3. NameHouse - domain NFT wrapping/unwrapping to enable trading on any NFT marketplace

Onsol Labs is currently self funded/bootstrapped but we applied for a grant from Solana Foundation both through the normal channel and the MonkeDao initiative.

Being included in the Solana Explorer would help a lot with our other integration efforts.

The long term plan for the protocol is to go decentralised - a good example what we have in mind is ENS on Ethereum.

Proposed Solution

solana-labs/solana#29277

ngundotra commented 1 year ago

Thank you for explaining your contracts! We want to allow ecosystem projects to add their own annotations and (to some extent) UI for their smart contracts in the new year. We will explain how we plan on doing this in a separate issue in the new year.

ngundotra commented 1 year ago

Hey thank you for bringing this up. We're not considering changes to the explorer UI that prioritize one protocol over another right now. However, we would love to support this as much as we can through the framework proposed here: https://github.com/solana-labs/explorer/issues/196

ngundotra commented 1 year ago

If you have a proposal on how to handle searching for programs, more generally than just for ANS name extensions, let us know :)

ngundotra commented 1 month ago

Merged via #368