Relaunching Labels! 🎉 #2634
Replies: 5 comments 30 replies
-
tagging in all contributors of labels to kickoff the discussion! If you're okay with the changes, please give a thumbs up. When we have approval from enough contributors then I will go ahead and refactor the folders/labels (everything besides You all will be tagged on the PR again for final review before it goes through. @hildobby @gentrexha @henrystats @MSilb7 @markusbkoch @Hosuke @Stefenon @0xRobin @agaperste @jeff-dude @soispoke @catherine-2 @AlexTheLion123 @jackiep00 |
Beta Was this translation helpful? Give feedback.
-
For The trade-off is that it's more confusing when there are multiple versions, but it's also a more flexible framework. |
Beta Was this translation helpful? Give feedback.
-
Sorry if none of what I'm going to say makes sense. I'm not familiar with labels on Dune V2, only V1. Labels are extremely useful and we've grown to become quite dependent on them in our queries and dashboards, and have been missing them since https://dune.com/labels was taken down. IIUC the proposed architecture reduces creator's freedom by limiting them to a fixed set of label types, whereas today (or in V1 at least) they can/could create types and names. My concern is that this risks stifling innovation. To illustrate what I mean, imagine we are labelling animals instead of addresses and we define that the only label types allowed are In other words, users should continue to be able to create dimensions (types) and assign to objects (addresses) a value (name) in that dimension. |
Beta Was this translation helpful? Give feedback.
-
I see that you, in the current schema, mention that the blockchain column is of type string. This wasn't the case until now, and it was of type List[string]. Is the plan to use just string from now? I've never understood the rationale behind the original type. |
Beta Was this translation helpful? Give feedback.
-
this is now closed, the labels have been merged :) you can query explore them here https://dune.com/queries/2010522?d=11&category_e15077=dex |
Beta Was this translation helpful? Give feedback.
-
Relaunching Labels
Labels were first launched in October 2022, and have seen a steady growth from individual contributors in both static (manually labeled addresses) and query-based sources. Here is the current schema:
We want to make it easier to contribute and use labels, as right now, there is very little structure for query labels (those outside of static labels like CEX or multisig).
The first step towards doing this is being more specific on what can go into a
category
, and adding alabel_type
column that clarifies the types of labels we will accept. There will also be alabel_name
column to make it easier to navigate aggregated labels tables by category. There will also be aversion
column that defaults to 1 for all labels until there is some conflict (i.e. two different methodologies for the same model.Label Types:
Here’s a list of label types:
This is just the starting list. If a label is created that clearly fits inside a new type, we will create a type for it. The idea is to try and keep types smaller in number and very clear so that it's easier for analysts to navigate, use, and contribute to.
Example Hierarchies:
To make this clear, let’s do some examples.
Category: NFT
Category: Social
Category: DEX
Migration of Current Labels:
I promise it isn’t as scary as it sounds. We will start by reorganizing the folder of labels structure to look like this:
At a glance, it should be easy to explore from category down to label level.
After the folders and files are reorganized, we can clean up the actual schemas/sql. Most static labels need a
label_type
column added, and then that’s it. Many of the query-based models likedex_traders
(here will need to be changed; henrystats and gentrexha mainly created these.Models like
ens
andcontracts
will be hard to edit without breaking many people’s queries, so we will leave that alone.For aggregated labels, there will also be a
label_name
column added. so withinlabel_nft.sql
, thelabel_name
forlabel_nft_volume
will benft_volume_percentile
.Once the structure of labels is in a good state and all cleaned up, we can launch a hackathon with rewards for the most creative, useful, memetic, etc. We’re really excited about unlocking the potential of labels more (and making it more multiplayer)!
Beta Was this translation helpful? Give feedback.
All reactions