Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explorer: add ANS domains integration #29277

Closed
wants to merge 13 commits into from

Conversation

tonivlad
Copy link

Problem

Summary of Changes

Added ANS (Alternative Name Service) Protocol domains to the Explorer

  • search by domain
  • list owned domains

ANS enables any project on Solana to have their own TLD ( .anything )

currently only .poor domains are enabled in the protocol

we are in talks with MonkeDAO, ThugDao, Frakt and a few other projects to enable .monke, .thug, .frakt, etc

Fixes #

Previews

  1. Owned domains

explorer_owned

  1. Search by domain
    explore_solana

@github-actions github-actions bot added the explorer Related to the Solana Explorer webapp label Dec 15, 2022
@mergify mergify bot added the community Community contribution label Dec 15, 2022
@mergify mergify bot requested a review from a team December 15, 2022 15:21
@ngundotra
Copy link
Contributor

ngundotra commented Dec 15, 2022

@tonivlad can you please open an issue, tagged with explorer that describes what ANS domains are, how to register them, who manages them, etc?

Also can you link to the onsol/tldparser package's github please?

@ngundotra ngundotra changed the title ANS domains integration explorer: ANS domains integration Dec 15, 2022
@ngundotra ngundotra changed the title explorer: ANS domains integration explorer: add ANS domains integration Dec 15, 2022
@aeyakovenko
Copy link
Member

is there a registration process for a TLD? or is it first come first serve?

@hydrogenbond007
Copy link
Contributor

🫡

@tonivlad
Copy link
Author

@ngundotra I will open an issue tomorrow explaining how everything works

@tonivlad
Copy link
Author

@ngundotra

ps: it's a bit wordy but I wanted to give more context

@tonivlad
Copy link
Author

@aeyakovenko

The process to create a new TLD is first come first serve but currently involves talking to us

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

please check out solana-labs/explorer#205, I added some context there

@solserer-labs
Copy link

This is really dope! I think this is an extremely valuable addition to Solana and will set us apart and make us first movers in the domain name space instead of being followers. Right now there is only "native" token extensions such as .eth .sol in the space. These are nice but I think allowing folks/projects/communities to personalize their own TLDs can add a lot of value for everyone. In the future I fully expect ANS to be integrated into browsers such as brave and some of these TLDs to become as prominent as something like .io or .ai in the legacy TLD space.

@cloakd
Copy link

cloakd commented Dec 19, 2022

Nice PR, would be good to get this in & ensure parity across other explorers for the naming house so users have a consistent UX when utilizing the Naming service across dApp's - Both BlokHost & AlphaBatem are also in the process of supporting ANS on their explorers currently

@ngundotra
Copy link
Contributor

We will come back to this in the new year!

@joshua-sx
Copy link

Good idea!

@stegaBOB
Copy link
Contributor

stegaBOB commented Jan 3, 2023

Are the ANS programs open source? I briefly looked but couldn't find them anywhere.

I think the expiration feature is cool, but it could also be implemented around the SNS program too (since the parent registry can transfer child domains). As far as I know, Bonfida doesn't actually control the program anymore. It is in the SPL for anyone to use. They just have their own registry account (which anyone can make) and the .sol and stuff are registered under their account. Having more names is cool, but adding another implementation of a primitive that already exists seems like it will make dealing with names quite a bit more cumbersome in the future.

@ngundotra
Copy link
Contributor

We're working on generalizing Contract homepages so ecosystem teams can add information about how to use their smart contracts.

solana-labs/explorer#196 lays out what we think is acceptable. What would you help you reformat ANS into this sort of contract? We are open to discussing changes on that issue :)

@github-actions github-actions bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Jan 24, 2023
@github-actions github-actions bot closed this Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution explorer Related to the Solana Explorer webapp stale [bot only] Added to stale content; results in auto-close after a week.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants