cypherSolana - 5. Gaming on Sol - new users
Updated 2023-02-07
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with star_atlas_users as (select
signers[0] as user,
min(block_timestamp) as first_tx
from solana.core.fact_events
where succeeded
and program_id = 'ATLocKpzDbTokxgvnLew3d7drZkEzLzDpzwgrgWKDbmc'
group by user),
daily_new_star_atlas as (select
date_trunc('day', first_tx) as date,
count(*) as new_users,
sum(new_users) over (order by date asc rows between unbounded preceding and current row) as cum_users,
'star atlas' as label
from star_atlas_users
group by date),
aurory_users as (select
signers[0] as user,
min(block_timestamp) as first_tx
from solana.core.fact_events
where succeeded
and program_id = 'STkwf3sbMapjy7KV3hgrJtcVvY4SvRxWQ8pj4Enw1i5'
group by user
),
daily_new_aurory_users as (select
date_trunc('day', first_tx) as date,
count(*) as new_users,
sum(new_users) over (order by date asc rows between unbounded preceding and current row) as cum_users,
'aurory' as label
from aurory_users
group by date),
genopets_users as (select
signers[0] as user,
min(block_timestamp) as first_tx
Run a query to Download Data