kira-wallet 0.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 (58) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +116 -0
  3. package/THIRD_PARTY_NOTICES.md +13 -0
  4. package/bin/kira.cjs +8 -0
  5. package/curve_pricing.py +86 -0
  6. package/docs/AGENT_TOOLS.md +53 -0
  7. package/docs/CLI.md +144 -0
  8. package/docs/JOB_CONTRACT.md +111 -0
  9. package/docs/KIRA_JOBS_BUILD_REPORT.md +92 -0
  10. package/docs/KIRA_REDESIGN_REPORT.md +125 -0
  11. package/docs/ONBOARDING_CHAT_CONTRACT.md +36 -0
  12. package/docs/RELEASE.md +45 -0
  13. package/docs/WALLET_CAPABILITIES.md +98 -0
  14. package/docs/character/brand-generation.json +20 -0
  15. package/docs/character/workspace-generation.json +29 -0
  16. package/docs/screenshots/kira-jobs-desktop.jpg +0 -0
  17. package/kira_agent.py +280 -0
  18. package/kira_cli.py +263 -0
  19. package/kira_config.py +98 -0
  20. package/kira_jobs.py +504 -0
  21. package/kira_tools.py +104 -0
  22. package/networks.json +214 -0
  23. package/onchain.cjs +34 -0
  24. package/package.json +78 -0
  25. package/pipeline-onchain.cjs +284 -0
  26. package/research.py +39 -0
  27. package/sources/job-envelope-v1.schema.json +469 -0
  28. package/sources/job-request-v1.schema.json +352 -0
  29. package/sources/mintclub-bond-abi.json +1457 -0
  30. package/sources/rpc-candidates.json +294 -0
  31. package/sources/uniswap-deployments.json +18261 -0
  32. package/viewer/README.md +119 -0
  33. package/viewer/chain_images.py +21 -0
  34. package/viewer/details.py +119 -0
  35. package/viewer/model.py +216 -0
  36. package/viewer/refresh-curve-prices.cjs +35 -0
  37. package/viewer/refresh_prices.py +97 -0
  38. package/viewer/server.py +153 -0
  39. package/viewer/static/agent.css +100 -0
  40. package/viewer/static/agent.js +203 -0
  41. package/viewer/static/app.js +252 -0
  42. package/viewer/static/favicon.svg +1 -0
  43. package/viewer/static/index.html +139 -0
  44. package/viewer/static/jobs.js +113 -0
  45. package/viewer/static/kira-attention.png +0 -0
  46. package/viewer/static/kira-explain.png +0 -0
  47. package/viewer/static/kira-logo.png +0 -0
  48. package/viewer/static/kira-research.png +0 -0
  49. package/viewer/static/kira-review.png +0 -0
  50. package/viewer/static/kira.png +0 -0
  51. package/viewer/static/style.css +51 -0
  52. package/viewer/static/watching-model.js +129 -0
  53. package/viewer/static/watching.js +167 -0
  54. package/viewer/static/workspace-model.js +43 -0
  55. package/viewer/static/workspace.css +463 -0
  56. package/viewer/static/workspace.js +102 -0
  57. package/viewer/token_images.py +137 -0
  58. package/wallet.py +389 -0
@@ -0,0 +1,294 @@
1
+ [
2
+ {
3
+ "network": "ethereum",
4
+ "name": "Ethereum",
5
+ "chain_id": 1,
6
+ "environment": "mainnet",
7
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
8
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/mainnet.ts",
9
+ "public_rpc": [
10
+ "https://eth.merkle.io",
11
+ "https://ethereum-rpc.publicnode.com"
12
+ ],
13
+ "explorer": "https://etherscan.io",
14
+ "public_rpc_sources": [
15
+ "https://ethereum.publicnode.com/"
16
+ ]
17
+ },
18
+ {
19
+ "network": "base",
20
+ "name": "Base",
21
+ "chain_id": 8453,
22
+ "environment": "mainnet",
23
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
24
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/base.ts",
25
+ "public_rpc": [
26
+ "https://mainnet.base.org"
27
+ ],
28
+ "explorer": "https://basescan.org"
29
+ },
30
+ {
31
+ "network": "blast",
32
+ "name": "Blast",
33
+ "chain_id": 81457,
34
+ "environment": "mainnet",
35
+ "mintclub_bond_address": "0x621c335b4BD8f2165E120DC70d3AfcAfc6628681",
36
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/blast.ts",
37
+ "public_rpc": [
38
+ "https://rpc.blast.io"
39
+ ],
40
+ "explorer": "https://blastscan.io"
41
+ },
42
+ {
43
+ "network": "optimism",
44
+ "name": "Optimism",
45
+ "chain_id": 10,
46
+ "environment": "mainnet",
47
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
48
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/optimism.ts",
49
+ "public_rpc": [
50
+ "https://mainnet.optimism.io"
51
+ ],
52
+ "explorer": "https://optimistic.etherscan.io"
53
+ },
54
+ {
55
+ "network": "arbitrum",
56
+ "name": "Arbitrum One",
57
+ "chain_id": 42161,
58
+ "environment": "mainnet",
59
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
60
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/arbitrum.ts",
61
+ "public_rpc": [
62
+ "https://arb1.arbitrum.io/rpc"
63
+ ],
64
+ "explorer": "https://arbiscan.io"
65
+ },
66
+ {
67
+ "network": "avalanche",
68
+ "name": "Avalanche C-Chain",
69
+ "chain_id": 43114,
70
+ "environment": "mainnet",
71
+ "mintclub_bond_address": "0x3Fd5B4DcDa968C8e22898523f5343177F94ccfd1",
72
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/avalanche.ts",
73
+ "public_rpc": [
74
+ "https://api.avax.network/ext/bc/C/rpc"
75
+ ],
76
+ "explorer": "https://snowtrace.io"
77
+ },
78
+ {
79
+ "network": "polygon",
80
+ "name": "Polygon PoS",
81
+ "chain_id": 137,
82
+ "environment": "mainnet",
83
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
84
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/polygon.ts",
85
+ "public_rpc": [
86
+ "https://polygon.drpc.org"
87
+ ],
88
+ "explorer": "https://polygonscan.com"
89
+ },
90
+ {
91
+ "network": "bnbchain",
92
+ "name": "BNB Chain",
93
+ "chain_id": 56,
94
+ "environment": "mainnet",
95
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
96
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/bsc.ts",
97
+ "public_rpc": [
98
+ "https://56.rpc.thirdweb.com"
99
+ ],
100
+ "explorer": "https://bscscan.com"
101
+ },
102
+ {
103
+ "network": "shibarium",
104
+ "name": "Shibarium",
105
+ "chain_id": 109,
106
+ "environment": "mainnet",
107
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
108
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/shibarium.ts",
109
+ "public_rpc": [
110
+ "https://rpc.shibrpc.com"
111
+ ],
112
+ "explorer": "https://shibariumscan.io"
113
+ },
114
+ {
115
+ "network": "cyber",
116
+ "name": "Cyber",
117
+ "chain_id": 7560,
118
+ "environment": "mainnet",
119
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
120
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/cyber.ts",
121
+ "public_rpc": [
122
+ "https://cyber.alt.technology"
123
+ ],
124
+ "explorer": "https://cyberscan.co"
125
+ },
126
+ {
127
+ "network": "ham",
128
+ "name": "Ham",
129
+ "chain_id": 5112,
130
+ "environment": "mainnet",
131
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
132
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/ham.ts",
133
+ "public_rpc": [
134
+ "https://rpc.ham.fun"
135
+ ],
136
+ "explorer": "https://explorer.ham.fun"
137
+ },
138
+ {
139
+ "network": "kaia",
140
+ "name": "Kaia",
141
+ "chain_id": 8217,
142
+ "environment": "mainnet",
143
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
144
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/kaia.ts",
145
+ "public_rpc": [
146
+ "https://public-en.node.kaia.io"
147
+ ],
148
+ "explorer": "https://kaiascan.io"
149
+ },
150
+ {
151
+ "network": "unichain",
152
+ "name": "Unichain",
153
+ "chain_id": 130,
154
+ "environment": "mainnet",
155
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
156
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/unichain.ts",
157
+ "public_rpc": [
158
+ "https://mainnet.unichain.org/"
159
+ ],
160
+ "explorer": "https://uniscan.xyz"
161
+ },
162
+ {
163
+ "network": "zora",
164
+ "name": "Zora",
165
+ "chain_id": 7777777,
166
+ "environment": "mainnet",
167
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
168
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/zora.ts",
169
+ "public_rpc": [
170
+ "https://rpc.zora.energy"
171
+ ],
172
+ "explorer": "https://explorer.zora.energy"
173
+ },
174
+ {
175
+ "network": "apechain",
176
+ "name": "ApeChain",
177
+ "chain_id": 33139,
178
+ "environment": "mainnet",
179
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
180
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/apeChain.ts",
181
+ "public_rpc": [
182
+ "https://rpc.apechain.com/http"
183
+ ],
184
+ "explorer": "https://apescan.io"
185
+ },
186
+ {
187
+ "network": "hashkey",
188
+ "name": "HashKey",
189
+ "chain_id": 177,
190
+ "environment": "mainnet",
191
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
192
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/hashKeyChain.ts",
193
+ "public_rpc": [
194
+ "https://mainnet.hsk.xyz"
195
+ ],
196
+ "explorer": "https://hashkey.blockscout.com"
197
+ },
198
+ {
199
+ "network": "robinhood",
200
+ "name": "Robinhood Chain",
201
+ "chain_id": 4663,
202
+ "environment": "mainnet",
203
+ "mintclub_bond_address": "0x91523b39813F3F4E406ECe406D0bEAaA9dE251fa",
204
+ "chain_id_source": "https://github.com/Steemhunt/mint.club-v2-sdk/blob/f71489e59f7195d75c37e595ff2b9ffb050edb3c/src/constants/contracts.ts",
205
+ "public_rpc": [
206
+ "https://rpc.mainnet.chain.robinhood.com"
207
+ ],
208
+ "explorer": "https://robinhoodchain.blockscout.com"
209
+ },
210
+ {
211
+ "network": "over",
212
+ "name": "OverProtocol",
213
+ "chain_id": 54176,
214
+ "environment": "mainnet",
215
+ "mintclub_bond_address": "0xc5a076cad94176c2996B32d8466Be1cE757FAa27",
216
+ "chain_id_source": "https://github.com/Steemhunt/mint.club-v2-sdk/blob/f71489e59f7195d75c37e595ff2b9ffb050edb3c/src/constants/contracts.ts",
217
+ "public_rpc": [
218
+ "https://rpc.overprotocol.com"
219
+ ],
220
+ "explorer": null
221
+ },
222
+ {
223
+ "network": "sepolia",
224
+ "name": "Sepolia",
225
+ "chain_id": 11155111,
226
+ "environment": "testnet",
227
+ "mintclub_bond_address": "0x8dce343A86Aa950d539eeE0e166AFfd0Ef515C0c",
228
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/sepolia.ts",
229
+ "public_rpc": [
230
+ "https://11155111.rpc.thirdweb.com"
231
+ ],
232
+ "explorer": "https://sepolia.etherscan.io"
233
+ },
234
+ {
235
+ "network": "basesepolia",
236
+ "name": "Base Sepolia",
237
+ "chain_id": 84532,
238
+ "environment": "testnet",
239
+ "mintclub_bond_address": "0x5dfA75b0185efBaEF286E80B847ce84ff8a62C2d",
240
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/baseSepolia.ts",
241
+ "public_rpc": [
242
+ "https://sepolia.base.org"
243
+ ],
244
+ "explorer": "https://sepolia.basescan.org"
245
+ },
246
+ {
247
+ "network": "blastsepolia",
248
+ "name": "Blast Sepolia",
249
+ "chain_id": 168587773,
250
+ "environment": "testnet",
251
+ "mintclub_bond_address": "0x5dfA75b0185efBaEF286E80B847ce84ff8a62C2d",
252
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/blastSepolia.ts",
253
+ "public_rpc": [
254
+ "https://sepolia.blast.io"
255
+ ],
256
+ "explorer": "https://sepolia.blastscan.io"
257
+ },
258
+ {
259
+ "network": "puppynet",
260
+ "name": "Puppynet",
261
+ "chain_id": 157,
262
+ "environment": "testnet",
263
+ "mintclub_bond_address": "0x5dfA75b0185efBaEF286E80B847ce84ff8a62C2d",
264
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/shibariumTestnet.ts",
265
+ "public_rpc": [
266
+ "https://puppynet.shibrpc.com"
267
+ ],
268
+ "explorer": "https://puppyscan.shib.io"
269
+ },
270
+ {
271
+ "network": "avalanchefuji",
272
+ "name": "Avalanche Fuji",
273
+ "chain_id": 43113,
274
+ "environment": "testnet",
275
+ "mintclub_bond_address": "0x20fBC8a650d75e4C2Dab8b7e85C27135f0D64e89",
276
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/avalancheFuji.ts",
277
+ "public_rpc": [
278
+ "https://api.avax-test.network/ext/bc/C/rpc"
279
+ ],
280
+ "explorer": "https://testnet.snowtrace.io"
281
+ },
282
+ {
283
+ "network": "cybertestnet",
284
+ "name": "Cyber Testnet",
285
+ "chain_id": 111557560,
286
+ "environment": "testnet",
287
+ "mintclub_bond_address": "0x5dfA75b0185efBaEF286E80B847ce84ff8a62C2d",
288
+ "chain_id_source": "https://github.com/wevm/viem/blob/main/src/chains/definitions/cyberTestnet.ts",
289
+ "public_rpc": [
290
+ "https://cyber-testnet.alt.technology"
291
+ ],
292
+ "explorer": "https://testnet.cyberscan.co"
293
+ }
294
+ ]