sportfi-kit 1.0.0 → 1.0.2
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 +9 -16
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
# sportfi-kit
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<img src="https://raw.githubusercontent.com/chiliz/sportfi-kit/main/logo.svg" width="128" height="128" alt="SportFi Kit Logo" />
|
|
5
|
-
<h1>SportFi Kit</h1>
|
|
6
|
-
<p>The ultimate SDK for building high-performance SportFi mini-apps on Chiliz Chain.</p>
|
|
7
|
-
</div>
|
|
3
|
+
SportFi Kit is a modern React component library, collection of hooks, and CLI tool designed specifically for developers building dApps for the Socios.com Wallet Browser and Telegram Mini-App ecosystems.
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
**SportFi Kit** is a modern React component library, collection of hooks, and CLI tool designed specifically for developers building dApps for the **Socios.com Wallet Browser** and **Telegram Mini-App** ecosystems.
|
|
12
|
-
|
|
13
|
-
## 🚀 Key Features
|
|
5
|
+
## Key Features
|
|
14
6
|
|
|
15
7
|
- **Built for Chiliz Chain**: Hard-coded support for Mainnet (88888) and Spicy Testnet (88882).
|
|
16
8
|
- **Embedded Browser Optimized**: Automatic detection and support for Socios.com and Telegram browser environments.
|
|
@@ -19,13 +11,13 @@
|
|
|
19
11
|
- **Modern Tech Stack**: React 19, Reown AppKit, Wagmi v2, Viem v2, and TanStack Query v5.
|
|
20
12
|
- **Premium Aesthetic**: Minimalist, high-contrast design system featuring Emerald-600 accents.
|
|
21
13
|
|
|
22
|
-
##
|
|
14
|
+
## Installation
|
|
23
15
|
|
|
24
16
|
```bash
|
|
25
17
|
npm install sportfi-kit
|
|
26
18
|
```
|
|
27
19
|
|
|
28
|
-
##
|
|
20
|
+
## Quick Start
|
|
29
21
|
|
|
30
22
|
### 1. Configure Provider
|
|
31
23
|
|
|
@@ -62,7 +54,7 @@ function Header() {
|
|
|
62
54
|
}
|
|
63
55
|
```
|
|
64
56
|
|
|
65
|
-
##
|
|
57
|
+
## CLI Tools
|
|
66
58
|
|
|
67
59
|
SportFi Kit comes with a powerful CLI to scaffold new projects in seconds.
|
|
68
60
|
|
|
@@ -75,16 +67,17 @@ npx sportfi-kit add-example live-poll
|
|
|
75
67
|
```
|
|
76
68
|
|
|
77
69
|
Available templates:
|
|
70
|
+
|
|
78
71
|
- `basic`: Minimalism at its finest.
|
|
79
72
|
- `prediction-market`: Full Chiliz-integrated prediction UI.
|
|
80
73
|
- `fan-token-gate`: Content locking based on Fan Token ownership.
|
|
81
74
|
- `live-poll`: Real-time on-chain voting.
|
|
82
75
|
|
|
83
|
-
##
|
|
76
|
+
## Documentation
|
|
84
77
|
|
|
85
78
|
For full API reference, component guides, and Socios integration tips, visit our documentation site:
|
|
86
79
|
**[docs.sportfi.kit](https://localhost:5173)** (Local Preview)
|
|
87
80
|
|
|
88
|
-
##
|
|
81
|
+
## License
|
|
89
82
|
|
|
90
|
-
MIT
|
|
83
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sportfi-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "SportFi Kit - Modern React component library + CLI for building fan engagement mini-apps on Chiliz Chain.",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"module": "./dist/src/index.mjs",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"README.md",
|
|
15
15
|
"LICENSE"
|
|
16
16
|
],
|
|
17
|
-
"author": "
|
|
17
|
+
"author": "SportFi Kit Contributors",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|