select
date_trunc('week',block_timestamp) as week ,
count(distinct buyer_address) as Buyers ,
count(distinct seller_address) as Sellers ,
sum(price) as sum_price_eth
FROM ethereum.core.ez_nft_sales
where project_name = 'cryptopunks'
and price is not null
and price <> 0
group by 1
order by 1