OnChain Summer @ Base Chain
XMTP Contribution & Impact
Definitions
OCS: OnChain Summer
Contribution: The size, in absolute (amount) and relative (percentage) terms, that a given group is/adds to a population.
Impact: The change in a metric compared to baseline after applying a specific stimuli.
Other
- The analysis is focused on the period 9-31/08/2023 (OCS dates) as messaging was active during that period and its effects were stronger and more directly related to it.
- It should be noted that users could still mint NFTs after the end of OCS. Aggregate OCS metrics DO take that into account. Base metrics however, are limited to ONLY that period as its metrics remain relatively high compared to OCS metrics which decline substantially after OCS's end. The above choices were made to avoid distortion of the comparison of the two groups.
Further Research
Provided more time, data and compute the following topics would be examined to make this analysis more robust:
- Add retention metrics for the following weeks/months and examine the evolution of all metrics until today assuming all the addresses of August belong to one/the same cohort.
- Use another test to assess the relationship between (message/no message) variable and the metrics variables. Namely, Spearman correlation would be the first candidate.
- Examine all Base activity of the addresses that participated in OCS and not limit the analysis to the OCS related activity. This would test if a user's behavior outside of OCS is affected by the messaging and the general behavior within OCS, thus if there is a bigger impact on Base's growth. This is not an obvious cause-effect relationship, but a user's positive experience on a campaign may affect the user's actions on the chain in general so worth to explore further.
- Examine all interactions of the 50k addresses on Base Chain no matter if they participated on OCS or not. In this case, Experiment group would be the 50k addresses, Control group would be all Base addresses without the one's in Control group and the time frame would be from August 2023 forward. The analysis would follow the exact same approach with this one, as the only changes are the group definitions and the time frame.
- Examine how OCS affected XMTP (sign-ups mostly).
Background Info
https://onchainsummer.xyz/ - An onchain festival that celebrates art, culture, music, gaming, & more — with daily mints in collaboration with 50+ of the world's leading brands, creators, & artists.
OnChain Summer had 24 campaigns / quests. To create the population of all wallet addresses that participated in the festival, we examine/include all wallets that minted at least one NFT on any of the following campaigns. The tracked quests are:
Bridge to Base, Base Day One, FWB, Parallel, anotherblock, Coca-Cola, Stand with crypto, Zora, Pixelmon, Mirrors Welness Club, Indelible, Manifold, Highlight, Onboard, Optimism, Atari, Rainbow, Iskra, OAK, Opensea, Bonfire, Fini, Showtime (some)
OnChain Summer took place during August 9th-31st, 2023.
Why Test it
Metrics help track the behavior of different groups and observe relevant effects, relationships and differences. Testing the statistical significance of metrics helps assess how random or real these observed differences are while providing a level of confidence for that assessment. It also helps for inference and generalization.
Choose the Right Test
To compare the means for all the metrics (continuous variables) of two independent groups where normality and balanced distribution is assumed, the t-test is the most appropriate approach.
Other Good Contenders (if time permitted):
->Spearman correlation coefficient: suitable for monotonic relationships, linear or not
->Regression (preferred with more independent variables but possible alternative)
->Welch t-test if variances are unequal
Examine Assumptions & Stress Test them with Counter-Examples
-> Continuous Variables: Variables are discrete but have a wide range and precision to the integer level.
-> Independent Groups: Technically they are, but behavior could in theory be affected by what other users do.
-> Normality and balanced distribution: Normality and balance can be assumed for big enough numbers but is not always the case. Same applies for variance.
Apply T-test
One-sided Two Independent Sample T-Test for each metric that is evaluated:
Null Hypothesis (H0): There is no significant difference in the means between the two groups. (μB=μA)
Alternative Hypothesis (H1): The mean of the first distribution (Control) is less than the mean of the second distribution (Experiment). (μB>μA)
Expectation is that XMTP contribution will increase most metrics this is why we chose the 1-sided t-test (one direction is of interest).
A small p-value would reject the Null Hypothesis and confirm the Alternative Hypothesis for the respective confidence level.
Statistical Significance
Mathematical Derivation
mean1,mean2-> averages
s1,s2->standard deviations
n1,n2-> sample sizes
t-stat:
d = mean1 - mean2
df = n1 + n2 - 2.0 (degrees of freedom)
svar = ((n1 - 1) * v1 + (n2 - 1) * v2) / df
denom = np.sqrt(svar * (1.0 / n1 + 1.0 / n2))
t = d / denom
P-value:
Can be obtained from relevant tables with three inputs
- t-stat (see above)
- degrees of freedom (see above)
- sides of distribution
The calculation has been done using the aggregate stats off chain on a Python notebook and imported back for illustration purposes. You can see the relevant code (commented below the query) on query_3405356.
Chart Details
- The BASE NFT Mints graph shows the daily mints on Base Chain for the last 200 days. The purpose of this graph is to show the impact of OCS on minting NFTs on Base Chain and how that compares to other periods of the life of the chain.
- To measure the significance of OCS for Base Chain, 3 metrics were tracked (transactions, ETH transferred and users). These metrics can be tracked in absolute and in relative terms, for the total period or daily as they are evolving. The line chart provides a daily representation of the share of each metric, the 3 smaller counters provide the total share of each metric and the table below provides the absolute totals for each group and metric.
Summary
All metrics chosen were statistically very significant, except NFTs minted. This result proves that users that used XMTP are a lot more likely to have increased activity and that this behavior is not random noise. The impact is clear. Important caveat: correlation is not causation and while data and statistical significance indicate a highly correlated relationship, causation is hard to prove and would require further qualitative and quantitative confirmation.
The exception for NFTs minted makes sense, as users may mint 1 or many nfts in the same transaction with very little variation on their time and fees. These properties make this metric less relevant and less informative. Thus, not being statistically significant could be expected and does not carry the same weight.
Very negative t-values as those in the table above, suggest strong evidence against the null hypothesis which in turn means very low p-values. A negative t-statistic corresponds to a scenario where you expect Group A (Control) to have a lower mean than Group B (Experiment), and a more negative t-statistic only reinforces that expectation.
XMTP on OnChain Summmer @ Base Chain
This dashboard is built by @kgkol17! Please reach out if there are any problems or additions that you want to make.
Why is this built? To examine the contribution & impact of XMTP on OnChain Summer.
Note that this does not account for sybil wallets and results may be distorted.
The dashboard looks at 3 areas: General OnChain Summer & Base Stats, XMTP Contribution & Impact On OnChain Summer, Statistical Significance
The dashboard is continuously updated with more metrics and more optimized queries. Special thanks to @dareplay_xomnft whose work has inspired this analysis and helped shape some of the queries.
Summary
OCS has created a huge hype on Base Chain in August 2023 increasing immensely the chain's total activity. NFT mints (within OCS or not) have skyrocketed too during that period.
Although OCS was a huge success, it was ONLY 0.2% of ETH transfers, 6% of Transactions and 33% of User Base of Base chain for that specific period. The big % number on user base makes sense, as even 1 interaction any day of that period counts towards that metric.
Since OCS is such a small part of the total Base activity, this report is not going to focus on the effects of XMTP on the total chain but rather on its effects on the campaign itself and to be more exact on the incremental impact it had. One, if interested, can multiply with the relevant percentages and find the respective metrics for the whole chain, yet the insights conveyed might be (considered) non-informative.
Assumptions & Implementation Choices
Dataset
- The full population for this exercise are all the wallets that interacted with OnChain Summer on Base.
- A set of 50000 addresses that meet the following criteria: a) Registered for XMTP in August b) Transacted on Base in August are considered the full XMTP population for this analysis and those that interacted with OnChain Summer (5k addresses) define the Experiment group. The rest of the wallets that interacted with OnChain Summer are considered the Control group.
- All base wallets and interactions are in theory a bigger set to compare with that is also examined. Focus is given though on the previous sets where contribution & impact is more direct.
T-stat for comparison of the two groups
- Random assignment
- Balanced representation and approximate Normal distribution
- Homogeneity of Variances
- Independent and Unbiased Samples
Metrics
Metrics are aggregated from the NFT level (1 row - 1/many NFT(s) transferred) to the wallet level (1 row - 1 wallet) to then be classified on the relevant group.
- Transactions: How many transactions were processed.
- Collections Minted: How many different collections were minted.
- NFTs Minted: How many NFTs were minted.
- Days Active: How many days a user was active. This is the equivalent to DAU metric, grouping by wallet instead of day.
- Value Paid: Amount of ETH paid to buy the NFTs. This can also be regarded as total revenue for NFT Creators.
- Fees Paid: Amount of ETH paid as fee to Base Chain. This can also be regarded as a proxy to the revenue for Base Chain.
Pie Graphs are representing contribution and Bar Charts are representing impact on the relevant metrics.
*Contribution of days active and number of collections minted do not make sense to sum, so the relevant pie graphs do not exist.
Summary
Although 50k wallet addresses were provided, only 5k of them have interacted with OCS and belong to the experiment group of this analysis.
Experiment group is almost 2% of the total addresses (relatively small). Although results should be taken with caution, the statistical significance testing in the next section takes sample sizes into account so reduces the likelihood of misrepresentation/misreading because of this imbalance.
All graphs with absolute numbers (pie graphs) share the same imbalance, as they represent the activity of the wallet addresses of the above two groups. This is reasonable and not statistically problematic.
All graphs with averaged numbers per group (bar graphs) remove this imbalance on a first level by averaging and on a second level by measuring statistical significance as explained above (see next section).
All averaged metrics are higher for the experiment group, hinting that messaging through XMTP is likely affecting user behavior (it is examined from different angles and all corroborate to the same conclusion). In this case it increases on average user activity, which directionally quantifies the impact XMTP had on OCS.
To verify that XMTP is the reason of this increased user activity with a high likelihood, statistical significance tests are performed in the next section.