You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Cost Analysis: Traditional vs. DappyKit Approach
109
+
110
+
All changes in DappyKit are stored under a user's Smart Account, giving users complete control over their data. This architecture offers significant cost advantages compared to traditional blockchain approaches.
111
+
112
+
### Individual vs. Grouped Transactions
113
+
114
+
#### Transaction Costs
115
+
- Base transaction cost on Optimism: ~$0.003 per transaction
116
+
117
+
#### Scenario: 1 Million Users with 1,000 Changes Each
118
+
119
+
**Traditional Approach (Every Change as Separate Transaction)**
120
+
- Cost per user: 1,000 changes × $0.003 = $3 per user annually
121
+
- Total cost for 1M users: $3,000,000 annually
122
+
123
+
**DappyKit User-Paid Approach (Daily Grouping)**
124
+
- Each user makes 1 transaction daily to store all their changes
125
+
- Cost per user: 365 days × $0.003 = $1.095 per user annually
126
+
- Total cost for 1M users: $1,095,000 annually
127
+
- Savings: $1,905,000 annually (63.5% reduction)
128
+
129
+
**DappyKit Service-Delegated Approach**
130
+
- Service makes 1 transaction daily, storing changes for all users
131
+
- Daily cost: $0.003 (single transaction for all users)
132
+
- Annual cost: 365 days × $0.003 = $1.095 total
133
+
- Cost per user: $0.000001095 (virtually zero)
134
+
- Savings vs. traditional: $2,999,998.91 annually (99.9999% reduction)
135
+
136
+
### Cost Comparison Table
137
+
138
+
| Approach | Cost Per User (Annual) | Total Cost for 1M Users (Annual) | Savings vs. Traditional |
0 commit comments