0xHaM-dTotal Onboarding Users to Projects vs. Non-Projects
    Updated 2025-04-30
    -- forked from New Users vs. Onboarding Users to Projects @ https://flipsidecrypto.xyz/edit/queries/9ca6a0d0-052c-44b3-a76c-b4d21a102a55
    with projectsTb as (
    select
    address,
    project_name as project,
    label_type
    from
    near.core.dim_address_labels
    where
    project_name is not null
    and label_type not in ('chadmin', 'cex', 'token', 'fungible_token')
    and project_name != 'Exchanges'
    ),
    near_new_users as (
    select
    tx_signer,
    min(BLOCK_TIMESTAMP) as min_date
    from
    near.core.fact_transactions
    where
    tx_signer not in (
    select
    address
    from
    projectsTb
    )
    GROUP BY
    1
    ),
    all_near_new_users as (
    select
    count(distinct tx_signer) as n_near_users
    from
    near_new_users
    ),
    new_usersTb as (
    Last run: about 1 month ago
    TYPE
    N_NEW_USERS
    1
    Onboarding Users to Projects63463493
    2
    Non-Projects New Users9926878
    2
    78B
    210s