@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.
Files changed (2) hide show
  1. package/README.md +14 -8
  2. 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
  [![Live Demo](https://img.shields.io/badge/Live-trivia--quest--eight.vercel.app-FBCD00?style=for-the-badge)](https://trivia-quest-eight.vercel.app)
6
- [![npm](https://img.shields.io/badge/SDK-npm-CB3837?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@wkalidev/trivia-quest-sdk)
6
+ [![npm](https://img.shields.io/badge/SDK_v3.1.0-npm-CB3837?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@wkalidev/trivia-quest-sdk)
7
7
  [![Self Agent](https://img.shields.io/badge/Self_Agent-ID_%23103-6366f1?style=for-the-badge)](https://app.ai.self.xyz/agents)
8
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](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.0.0 | `npm install @wkalidev/trivia-quest-sdk` |
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
- - 4 languages — FR / EN / ES / IT
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) | `0x3217e21a74a068779902213ab06ad3301a8e6a02` |
105
- | TriviaQuest | `0xf44dfec3230bcf917ca7ccc59b4e67df2507e21f` |
106
- | DailyCheckIn | `0x8a6f59c5f1f11a7ae75c54b1eb95c477405f1bda` |
107
- | Referral | `0x4dafb4d844ce8bd52ce3ad4cee2a4e73780d0c91` |
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.0.0",
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
+ }