@wkalidev/trivia-quest-sdk 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> Play. Learn. Earn on Celo & Base.
|
|
4
4
|
|
|
5
5
|
[](https://trivia-quest-eight.vercel.app)
|
|
6
|
-
[](https://www.npmjs.com/package/@wkalidev/trivia-quest-sdk)
|
|
7
7
|
[](https://app.ai.self.xyz/agents)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
|
|
@@ -17,7 +17,7 @@ Celo's mission is financial inclusion for the unbanked. With **57% of African ad
|
|
|
17
17
|
|---|---|
|
|
18
18
|
| App | https://trivia-quest-eight.vercel.app |
|
|
19
19
|
| Duel 1v1 | https://trivia-quest-eight.vercel.app/duel |
|
|
20
|
-
| SDK v3.
|
|
20
|
+
| SDK v3.1.0 | `npm install @wkalidev/trivia-quest-sdk` |
|
|
21
21
|
| Stats API | `GET /api/stats` |
|
|
22
22
|
| MCP Server | https://trivia-quest-eight.vercel.app/api/mcp |
|
|
23
23
|
| GitHub | https://github.com/wkalidev/trivia-quest |
|
|
@@ -37,7 +37,8 @@ Celo's mission is financial inclusion for the unbanked. With **57% of African ad
|
|
|
37
37
|
- $TRIVQ live price tracker (Ubeswap v3)
|
|
38
38
|
- MiniPay compatible — auto wallet connect
|
|
39
39
|
- Multi-chain — Celo Mainnet + Base Mainnet
|
|
40
|
-
-
|
|
40
|
+
- 8 languages — FR / EN / ES / IT / PT / AR / ZH / SW
|
|
41
|
+
- 🆕 Base Mainnet fully live — rounds, rewards, treasury configured
|
|
41
42
|
- PWA installable on Android
|
|
42
43
|
- Discord Bot 24/7
|
|
43
44
|
- 🆕 AI Mode — questions by Groq AI (LLaMA 3.1)
|
|
@@ -101,10 +102,11 @@ Every AI request made by the bot is cryptographically signed with ECDSA — veri
|
|
|
101
102
|
### Base Mainnet
|
|
102
103
|
| Contract | Address |
|
|
103
104
|
|---|---|
|
|
104
|
-
| TriviaQToken ($TRIVQ) | `
|
|
105
|
-
| TriviaQuest | `
|
|
106
|
-
| DailyCheckIn | `
|
|
107
|
-
| Referral | `
|
|
105
|
+
| TriviaQToken ($TRIVQ) | `0x8ecc1dc70f3bc5be941b61b42707eb7dbddb54c3` |
|
|
106
|
+
| TriviaQuest | `0x1e2c209412ec30915ccf922654f0593faf61fcfb` |
|
|
107
|
+
| DailyCheckIn | `0x0f19851d5cd905d110c000a7d26d74a2f21f8ff9` |
|
|
108
|
+
| Referral | `0x4fb5285263354e1e75f044c65166ab22c3840074` |
|
|
109
|
+
| Treasury (fee recipient) | `0x995aC10d5B6778B90eF060b7ab585D854C1Ed914` |
|
|
108
110
|
|
|
109
111
|
## 💎 $TRIVQ Tokenomics
|
|
110
112
|
|
|
@@ -140,7 +142,7 @@ Every AI request made by the bot is cryptographically signed with ECDSA — veri
|
|
|
140
142
|
| Web3 | Wagmi + Viem + RainbowKit |
|
|
141
143
|
| AI | Groq API (LLaMA 3.1-8b-instant) |
|
|
142
144
|
| AI Agent | Self Protocol — Agent #103 🆕 |
|
|
143
|
-
| i18n | next-intl (FR, EN, ES, IT) |
|
|
145
|
+
| i18n | next-intl (FR, EN, ES, IT, PT, AR, ZH, SW) |
|
|
144
146
|
| Bot | discord.js v14 + ethers.js v6 |
|
|
145
147
|
| Bot Hosting | Railway (24/7) |
|
|
146
148
|
| Deploy | Vercel + GitHub Actions |
|
|
@@ -198,6 +200,10 @@ npx hardhat compile
|
|
|
198
200
|
- [x] MCP Server endpoint — /api/mcp 🆕
|
|
199
201
|
- [x] 8004scan score improved (MCP unlocks full Service scoring) 🆕
|
|
200
202
|
- [x] Submit score signature verification 🆕
|
|
203
|
+
- [x] Base Mainnet fully operational — rounds auto-managed via cron 🆕
|
|
204
|
+
- [x] 8 i18n languages (FR, EN, ES, IT, PT, AR, ZH, SW) 🆕
|
|
205
|
+
- [x] 1200+ questions (446 base + 754 extra) 🆕
|
|
206
|
+
- [x] SDK v3.1.0 — treasury, LANGUAGES, TOTAL_QUESTIONS, finishRound ABI 🆕
|
|
201
207
|
|
|
202
208
|
## 👤 Author
|
|
203
209
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wkalidev/trivia-quest-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "TriviaQ SDK — Interact with TriviaQ smart contracts — Blockchain quiz game on Celo",
|
|
5
5
|
"main": "sdk/index.js",
|
|
6
6
|
"types": "sdk/index.d.ts",
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"typescript": "^6.0.2"
|
|
47
47
|
}
|
|
48
|
-
}
|
|
48
|
+
}
|