Skip to content

Commit 29f4bd0

Browse files
Update API url, genesis and action path (#29)
* chore: update API url, genesis and action path * keep only main branch
1 parent b2c2dd7 commit 29f4bd0

File tree

3 files changed

+233
-3
lines changed

3 files changed

+233
-3
lines changed

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
- next-app
8-
7+
paths:
8+
- 'game/**'
99

1010
permissions:
1111
contents: read

game/src/rpc/api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { getAddress } from "viem";
22
import { addToStore, getFromStore, StorageKey } from "./storage";
33
import { getWalletClient } from "./wallet";
44

5-
const API_URL = "http://localhost:3210";
5+
const API_URL = "https://api.comets.stf.xyz";
66

77
const fetchMruInfo = async () => {
88
const response = await fetch(`${API_URL}/info`);

rollup/genesis-state.json

+230
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,238 @@
33
"games": [
44
{
55
"id": "0x6d220b2af3ddf405e228e83def838dfec21b8e03834723c9687eab26efc5460c",
6+
"score": 12300,
7+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
8+
},
9+
{
10+
"id": "0x76d0dbabfe810803768256d2936d42151d0c2aa8689896348626c25d697fb7db",
11+
"score": 19000,
12+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
13+
},
14+
{
15+
"id": "0x7cc5fa142ca6cc3b5015a7469ac52b9140e57887f60866d39930111756a55e87",
16+
"score": 0,
17+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
18+
},
19+
{
20+
"id": "0x9723281952ec249412c6105cebb2376528a9c06023439ee163fe608ed4acba09",
21+
"score": 12700,
22+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
23+
},
24+
{
25+
"id": "0x5bd5ad703723427cfb29ed588bb70b6bf70f32474c7e833637190a6585baeeb9",
26+
"score": 0,
27+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
28+
},
29+
{
30+
"id": "0xac898b60757cd2f465ff978c2e0fd41e63a5f4fc977eef67f3f65bbb61619b45",
31+
"score": 0,
32+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
33+
},
34+
{
35+
"id": "0x1ff2d75adf4be95c4bd827127c30924d945e8a354209b04de2217a73d15e417d",
36+
"score": 76940,
37+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
38+
},
39+
{
40+
"id": "0xb3e989fef8ee7aaaebf399d788694759366724c40874fa046fbd8f707e82c697",
41+
"score": 41130,
42+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
43+
},
44+
{
45+
"id": "0x357550192b1fbf93b963ff8c6a71cf522d279dd370a4c026e4aaef5dc51b668e",
46+
"score": 0,
47+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
48+
},
49+
{
50+
"id": "0xf2564ceb6327915a13709289af8c4d5b5c7104cee2c72494b732068d8839964e",
51+
"score": 41980,
52+
"player": "0x5CDe9727B12E3FD211a9Ec961E2e2f5767CA81B3"
53+
},
54+
{
55+
"id": "0x05efd499ec1720ed126b09322f575a54fa02535b0de22f7d8719b0a2de781488",
56+
"score": 23800,
57+
"player": "0xC2FdE45f9E0a77005493930f72819Fcf70210464"
58+
},
59+
{
60+
"id": "0xfb7ed74217e7955100c3154598caf03ce6da7c8441e278027f1679b9d5749bc5",
61+
"score": 19400,
62+
"player": "0x372e2D6f74eFA2C5A4C72DAC4A31da09E8505995"
63+
},
64+
{
65+
"id": "0x9cb51304cfdac6805aa3740c5bdcf1e5c027d1fce990fb93989305e18cd9817d",
66+
"score": 14400,
67+
"player": "0x372e2D6f74eFA2C5A4C72DAC4A31da09E8505995"
68+
},
69+
{
70+
"id": "0x72c75565034b1aa146b45f0e2f46e4c53707b94766596ccb5a5aade4315e3a94",
71+
"score": 7240,
72+
"player": "0x372e2D6f74eFA2C5A4C72DAC4A31da09E8505995"
73+
},
74+
{
75+
"id": "0xd679cbb4f8b671f7ad90f9ee7f936934095e36a33a39719e4bd732196b71bfe1",
76+
"score": 4840,
77+
"player": "0x372e2D6f74eFA2C5A4C72DAC4A31da09E8505995"
78+
},
79+
{
80+
"id": "0x2c714272101fbd8fbad5130527af1868ed57ddb5b18ca912bd162d329957023c",
81+
"score": 10240,
82+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
83+
},
84+
{
85+
"id": "0xf63682248f68e024b879c58b7a088fba0911a0c74e46fad2a05de9f6d67af063",
86+
"score": 0,
87+
"player": "0x5CDe9727B12E3FD211a9Ec961E2e2f5767CA81B3"
88+
},
89+
{
90+
"id": "0x1f21fc8ee18f7aeeff5abdda3ab214cfd6784d15ebc8bdcd7680fc1a3428b2b1",
91+
"score": 12000,
92+
"player": "0x5CDe9727B12E3FD211a9Ec961E2e2f5767CA81B3"
93+
},
94+
{
95+
"id": "0xb415507b30bfb695f089fd800c5b58ed5b3eac4906622ef57b050db2fccba226",
96+
"score": 0,
97+
"player": "0x5CDe9727B12E3FD211a9Ec961E2e2f5767CA81B3"
98+
},
99+
{
100+
"id": "0xf5ac7e3a47461ba4b9812afcf3b15190ef504e978f44ffb422eae48246f903e8",
101+
"score": 38980,
102+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
103+
},
104+
{
105+
"id": "0x83306850d4206d9663045e65ebf9d8c55102f3dae8d852a9b90e2ad3cc9afa3a",
106+
"score": 0,
107+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
108+
},
109+
{
110+
"id": "0xc45a526bc655917c000e84d24ce47d4c52661d08df4625b251a58910aeaacad7",
111+
"score": 0,
112+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
113+
},
114+
{
115+
"id": "0xa6d36fb14df130a11e7213ebe43d007351c3c64a75cb9502b2c7d745a65234dd",
116+
"score": 0,
117+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
118+
},
119+
{
120+
"id": "0xf76528bb6bf2a50e6e31a4b25ee7d2c764639f4a2f73d1afd1b7224f9284d9f6",
121+
"score": 0,
122+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
123+
},
124+
{
125+
"id": "0xa9ba7ec2949988ca1c01306a6a11c3ce7b930f4eedc316c4f88cc16f56deb9ff",
126+
"score": 0,
127+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
128+
},
129+
{
130+
"id": "0x7a5a4c710804536d24e8c8cfbf5843737da220dc8defcb519a64e2a72ce7a012",
131+
"score": 0,
132+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
133+
},
134+
{
135+
"id": "0xc4989787defcb7fdec094b12aa4ca053b88240412fdaa45f160152329308445c",
136+
"score": 0,
137+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
138+
},
139+
{
140+
"id": "0x09d8deba930a38d597bf4ef17498f0d1839021ab4328d594203504c2598e70fa",
141+
"score": 0,
142+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
143+
},
144+
{
145+
"id": "0x67217b1406fc3fe22431a22d0cb0628230a3ddf744cf867ad9373011ea882fb9",
146+
"score": 0,
147+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
148+
},
149+
{
150+
"id": "0x1fee39aa09200f530b4c2b45329f9b15f9cf840b1b4f31db0d40afb820315acc",
151+
"score": 0,
152+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
153+
},
154+
{
155+
"id": "0xbd95d986c766bddef3ca0915fc58230efa230bcc549f33b3734a19476e64ed37",
156+
"score": 0,
157+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
158+
},
159+
{
160+
"id": "0x411761d5398ac117af78d969fa70c33fe3beaa34d41607a5f3265b32cda122c6",
161+
"score": 0,
162+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
163+
},
164+
{
165+
"id": "0x507c6682b80b894b0dff14f8b1075f672c1a8a8192753671f3c9119534bb359b",
166+
"score": 43980,
167+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
168+
},
169+
{
170+
"id": "0x2b16a92f7a18919939e43530596ab1dd52e41b968ad5df0f2dce8a21f0bcfffd",
171+
"score": 0,
172+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
173+
},
174+
{
175+
"id": "0x9ee9b3bb816a9894d19801f2054410c65f38a921c614dedc3ba0fe19d5be69c7",
176+
"score": 34880,
177+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
178+
},
179+
{
180+
"id": "0xab9b1ee3cd9edd1386ef16f430b7a30594cd47906a6ad8501d3ebee98325a4e0",
181+
"score": 0,
182+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
183+
},
184+
{
185+
"id": "0x4e8fe77e9471bb1c0c604c70827bb42201639e80ac1fc4251e36658faf91f18e",
6186
"score": 0,
7187
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
188+
},
189+
{
190+
"id": "0x1dbb3c14782308353c1070e9735c8bfeed2866dff4d0cad30ad51bf1d503e374",
191+
"score": 0,
192+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
193+
},
194+
{
195+
"id": "0x68015631d1fe6b8dfd2cbbd34bb08883cfc16841ef133c02ed1ad09ab5138bb9",
196+
"score": 0,
197+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
198+
},
199+
{
200+
"id": "0x63d427b54ac98c2d3b3d33b5a5e9ccd5fdcd7e50352e9c731b07f545b4b379c5",
201+
"score": 33880,
202+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
203+
},
204+
{
205+
"id": "0x527d68fab4d64b1daaa9e16c673dd9891bd19522bfa24e64b5938be8d036f9b9",
206+
"score": 0,
207+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
208+
},
209+
{
210+
"id": "0xef27201539572dd9f70720889d55bf45000bd0639ff509527753df8ad34f2e4c",
211+
"score": 5940,
212+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
213+
},
214+
{
215+
"id": "0x2788eb5f8dd9ae357696d68028bc39745fe7efe8c912e53baac5b346d0486f94",
216+
"score": 0,
217+
"player": "0xea5eE3665C8E4289842FaC79DFB3FA0d129fc735"
218+
},
219+
{
220+
"id": "0xff56d39b25391b7937985b55f6ba6973dafd1866ed86be3f31b4d34ffd76c723",
221+
"score": 45630,
222+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
223+
},
224+
{
225+
"id": "0x665bec99c08cba70fc4d9c9e30947a203d5a9cfe916a44cdf77f50ef535f6952",
226+
"score": 0,
227+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
228+
},
229+
{
230+
"id": "0x60b285f84f4aa0e7c62fa4cab77ca2e2b775cea23385c72d08cf1ac32f06ab78",
231+
"score": 0,
232+
"player": "0xc607B0B98ceC1FB6e6d3c72039bEbd76924aE4a4"
233+
},
234+
{
235+
"id": "0x51e8752dc41724bf179dbbd80daff4aa6824b3a199efc633fca7fbbc16b53be1",
236+
"score": 101880,
237+
"player": "0xaD7905F733b4be86CB30CCB6c47FE8cA3a03b55a"
8238
}
9239
]
10240
}

0 commit comments

Comments
 (0)