@dvmkit/dvm-cli 0.0.0 → 0.1.5
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/LICENSE +67 -0
- package/NOTICE +2 -0
- package/README.md +28 -3
- package/dist/_esm-MN4BUYV6.js +885 -0
- package/dist/_esm-NRGECLJ7.js +35 -0
- package/dist/accounts-2WZE4N5F.js +73 -0
- package/dist/actions-LR65XILR.js +244 -0
- package/dist/ccip-JXYJSXTW.js +18 -0
- package/dist/chains-LJ7XK6H3.js +1460 -0
- package/dist/chunk-2VVVWBQA.js +15436 -0
- package/dist/chunk-3SWX5BQP.js +66 -0
- package/dist/chunk-3W2M46WM.js +61142 -0
- package/dist/chunk-4JXFXP4Y.js +757 -0
- package/dist/chunk-4NWEJTAW.js +16616 -0
- package/dist/chunk-65EY7CT4.js +2691 -0
- package/dist/chunk-6CC6JGEU.js +1815 -0
- package/dist/chunk-6O27TEXD.js +1181 -0
- package/dist/chunk-7OK7MBT6.js +258 -0
- package/dist/chunk-BECPI5H5.js +30063 -0
- package/dist/chunk-CJTE5TS3.js +1298 -0
- package/dist/chunk-ECEM3ZAS.js +339 -0
- package/dist/chunk-ECK465AY.js +5614 -0
- package/dist/chunk-EGY4KDBW.js +5149 -0
- package/dist/chunk-EVQERRCP.js +21369 -0
- package/dist/chunk-EZHT2RLJ.js +1447 -0
- package/dist/chunk-F55NNH2F.js +6484 -0
- package/dist/chunk-G5C6E6PJ.js +9063 -0
- package/dist/chunk-GZWKCIYN.js +3319 -0
- package/dist/chunk-IYHTITNZ.js +45 -0
- package/dist/chunk-LH3QPVN6.js +9869 -0
- package/dist/chunk-MLDUKBU3.js +2426 -0
- package/dist/chunk-N3UJT2NJ.js +3 -0
- package/dist/chunk-OWJZYYMG.js +185 -0
- package/dist/chunk-RA24J4QM.js +3717 -0
- package/dist/chunk-ZJYO7OLO.js +514 -0
- package/dist/client-OWIOFBKS.js +54 -0
- package/dist/dist-2G3QBGID.js +47 -0
- package/dist/dvm.js +56008 -0
- package/dist/esm-RQLHAH2K.js +5183 -0
- package/dist/internal-QFQ7MJ5V.js +1228 -0
- package/dist/mine.wasm-DNBKYCTQ.js +12 -0
- package/dist/payout-reporter-3UB5WRCV-XTVZFIAO.js +17 -0
- package/dist/pocket-refill-PQ5ZVSBY.js +129 -0
- package/dist/revenue-reporter-JIKUPXOK-TYUBTF4P.js +11 -0
- package/dist/secp256k1-JLZEQ2H7.js +19 -0
- package/dist/tempo-lifecycle-SQL3KLEZ-AATA2SKI.js +28 -0
- package/dist/tempo-wallet-QOLEIPCV-SWCXRBDS.js +33 -0
- package/dist/x402-FTG2GRAQ-UGAUMUL6.js +80 -0
- package/package.json +63 -6
- package/skills/dvm/SKILL.md +71 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __dvmCreateRequire } from "node:module";
|
|
3
|
+
const require = __dvmCreateRequire(import.meta.url);
|
|
4
|
+
import {
|
|
5
|
+
import_websocket,
|
|
6
|
+
wrapper_exports
|
|
7
|
+
} from "./chunk-RA24J4QM.js";
|
|
8
|
+
import "./chunk-IYHTITNZ.js";
|
|
9
|
+
|
|
10
|
+
// node_modules/isows/_esm/utils.js
|
|
11
|
+
function getNativeWebSocket() {
|
|
12
|
+
if (typeof WebSocket !== "undefined")
|
|
13
|
+
return WebSocket;
|
|
14
|
+
if (typeof global.WebSocket !== "undefined")
|
|
15
|
+
return global.WebSocket;
|
|
16
|
+
if (typeof window.WebSocket !== "undefined")
|
|
17
|
+
return window.WebSocket;
|
|
18
|
+
if (typeof self.WebSocket !== "undefined")
|
|
19
|
+
return self.WebSocket;
|
|
20
|
+
throw new Error("`WebSocket` is not supported in this environment");
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// node_modules/isows/_esm/index.js
|
|
24
|
+
var WebSocket3 = (() => {
|
|
25
|
+
try {
|
|
26
|
+
return getNativeWebSocket();
|
|
27
|
+
} catch {
|
|
28
|
+
if (import_websocket.default)
|
|
29
|
+
return import_websocket.default;
|
|
30
|
+
return wrapper_exports;
|
|
31
|
+
}
|
|
32
|
+
})();
|
|
33
|
+
export {
|
|
34
|
+
WebSocket3 as WebSocket
|
|
35
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __dvmCreateRequire } from "node:module";
|
|
3
|
+
const require = __dvmCreateRequire(import.meta.url);
|
|
4
|
+
import {
|
|
5
|
+
HDKey,
|
|
6
|
+
generateMnemonic,
|
|
7
|
+
generatePrivateKey,
|
|
8
|
+
hdKeyToAccount,
|
|
9
|
+
mnemonicToAccount,
|
|
10
|
+
privateKeyToAccount,
|
|
11
|
+
privateKeyToAddress,
|
|
12
|
+
setSignEntropy,
|
|
13
|
+
sign,
|
|
14
|
+
signAuthorization,
|
|
15
|
+
signMessage,
|
|
16
|
+
signTransaction,
|
|
17
|
+
signTypedData,
|
|
18
|
+
toAccount,
|
|
19
|
+
wordlist,
|
|
20
|
+
wordlist10,
|
|
21
|
+
wordlist2,
|
|
22
|
+
wordlist3,
|
|
23
|
+
wordlist4,
|
|
24
|
+
wordlist5,
|
|
25
|
+
wordlist6,
|
|
26
|
+
wordlist7,
|
|
27
|
+
wordlist8,
|
|
28
|
+
wordlist9
|
|
29
|
+
} from "./chunk-EVQERRCP.js";
|
|
30
|
+
import {
|
|
31
|
+
createNonceManager,
|
|
32
|
+
nonceManager,
|
|
33
|
+
publicKeyToAddress,
|
|
34
|
+
serializeSignature
|
|
35
|
+
} from "./chunk-6O27TEXD.js";
|
|
36
|
+
import "./chunk-65EY7CT4.js";
|
|
37
|
+
import {
|
|
38
|
+
parseAccount
|
|
39
|
+
} from "./chunk-MLDUKBU3.js";
|
|
40
|
+
import "./chunk-7OK7MBT6.js";
|
|
41
|
+
import "./chunk-IYHTITNZ.js";
|
|
42
|
+
export {
|
|
43
|
+
HDKey,
|
|
44
|
+
createNonceManager,
|
|
45
|
+
wordlist as czech,
|
|
46
|
+
wordlist2 as english,
|
|
47
|
+
wordlist3 as french,
|
|
48
|
+
generateMnemonic,
|
|
49
|
+
generatePrivateKey,
|
|
50
|
+
hdKeyToAccount,
|
|
51
|
+
wordlist4 as italian,
|
|
52
|
+
wordlist5 as japanese,
|
|
53
|
+
wordlist6 as korean,
|
|
54
|
+
mnemonicToAccount,
|
|
55
|
+
nonceManager,
|
|
56
|
+
parseAccount,
|
|
57
|
+
wordlist7 as portuguese,
|
|
58
|
+
privateKeyToAccount,
|
|
59
|
+
privateKeyToAddress,
|
|
60
|
+
publicKeyToAddress,
|
|
61
|
+
serializeSignature,
|
|
62
|
+
setSignEntropy,
|
|
63
|
+
sign,
|
|
64
|
+
signAuthorization,
|
|
65
|
+
signMessage,
|
|
66
|
+
signTransaction,
|
|
67
|
+
signTypedData,
|
|
68
|
+
serializeSignature as signatureToHex,
|
|
69
|
+
wordlist8 as simplifiedChinese,
|
|
70
|
+
wordlist9 as spanish,
|
|
71
|
+
toAccount,
|
|
72
|
+
wordlist10 as traditionalChinese
|
|
73
|
+
};
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __dvmCreateRequire } from "node:module";
|
|
3
|
+
const require = __dvmCreateRequire(import.meta.url);
|
|
4
|
+
import "./chunk-N3UJT2NJ.js";
|
|
5
|
+
import {
|
|
6
|
+
addChain,
|
|
7
|
+
createAccessList,
|
|
8
|
+
createBlockFilter,
|
|
9
|
+
createEventFilter,
|
|
10
|
+
createPendingTransactionFilter,
|
|
11
|
+
deployContract,
|
|
12
|
+
dropTransaction,
|
|
13
|
+
dumpState,
|
|
14
|
+
estimateContractGas,
|
|
15
|
+
getAddresses,
|
|
16
|
+
getAutomine,
|
|
17
|
+
getBalance,
|
|
18
|
+
getBlobBaseFee,
|
|
19
|
+
getBlockReceipts,
|
|
20
|
+
getBlockTransactionCount,
|
|
21
|
+
getCallsStatus,
|
|
22
|
+
getCapabilities,
|
|
23
|
+
getDelegation,
|
|
24
|
+
getEip712Domain,
|
|
25
|
+
getEnsAddress,
|
|
26
|
+
getEnsAvatar,
|
|
27
|
+
getEnsName,
|
|
28
|
+
getEnsResolver,
|
|
29
|
+
getEnsText,
|
|
30
|
+
getFeeHistory,
|
|
31
|
+
getFilterLogs,
|
|
32
|
+
getPermissions,
|
|
33
|
+
getProof,
|
|
34
|
+
getRawTransaction,
|
|
35
|
+
getStorageAt,
|
|
36
|
+
getTransactionConfirmations,
|
|
37
|
+
getTxpoolContent,
|
|
38
|
+
getTxpoolStatus,
|
|
39
|
+
impersonateAccount,
|
|
40
|
+
increaseTime,
|
|
41
|
+
inspectTxpool,
|
|
42
|
+
loadState,
|
|
43
|
+
mine,
|
|
44
|
+
multicall,
|
|
45
|
+
prepareAuthorization,
|
|
46
|
+
removeBlockTimestampInterval,
|
|
47
|
+
requestAddresses,
|
|
48
|
+
requestPermissions,
|
|
49
|
+
reset,
|
|
50
|
+
revert,
|
|
51
|
+
sendCalls,
|
|
52
|
+
sendCallsSync,
|
|
53
|
+
sendUnsignedTransaction,
|
|
54
|
+
setAutomine,
|
|
55
|
+
setBalance,
|
|
56
|
+
setBlockGasLimit,
|
|
57
|
+
setBlockTimestampInterval,
|
|
58
|
+
setCode,
|
|
59
|
+
setCoinbase,
|
|
60
|
+
setIntervalMining,
|
|
61
|
+
setLoggingEnabled,
|
|
62
|
+
setMinGasPrice,
|
|
63
|
+
setNextBlockBaseFeePerGas,
|
|
64
|
+
setNextBlockTimestamp,
|
|
65
|
+
setNonce,
|
|
66
|
+
setRpcUrl,
|
|
67
|
+
setStorageAt,
|
|
68
|
+
showCallsStatus,
|
|
69
|
+
signAuthorization,
|
|
70
|
+
signMessage,
|
|
71
|
+
signTransaction,
|
|
72
|
+
signTypedData,
|
|
73
|
+
simulateBlocks,
|
|
74
|
+
simulateCalls,
|
|
75
|
+
simulateContract,
|
|
76
|
+
snapshot,
|
|
77
|
+
stopImpersonatingAccount,
|
|
78
|
+
switchChain,
|
|
79
|
+
token_exports,
|
|
80
|
+
verifyMessage,
|
|
81
|
+
verifyTypedData,
|
|
82
|
+
waitForCallsStatus,
|
|
83
|
+
watchAsset,
|
|
84
|
+
watchBlocks,
|
|
85
|
+
watchEvent,
|
|
86
|
+
watchPendingTransactions
|
|
87
|
+
} from "./chunk-GZWKCIYN.js";
|
|
88
|
+
import {
|
|
89
|
+
createContractEventFilter,
|
|
90
|
+
defaultParameters,
|
|
91
|
+
estimateFeesPerGas,
|
|
92
|
+
estimateGas,
|
|
93
|
+
estimateMaxPriorityFeePerGas,
|
|
94
|
+
fillTransaction,
|
|
95
|
+
getBlock,
|
|
96
|
+
getBlockNumber,
|
|
97
|
+
getChainId,
|
|
98
|
+
getCode,
|
|
99
|
+
getContractEvents,
|
|
100
|
+
getFilterChanges,
|
|
101
|
+
getGasPrice,
|
|
102
|
+
getLogs,
|
|
103
|
+
getTransaction,
|
|
104
|
+
getTransactionReceipt,
|
|
105
|
+
prepareTransactionRequest,
|
|
106
|
+
readContract,
|
|
107
|
+
sendRawTransaction,
|
|
108
|
+
sendRawTransactionSync,
|
|
109
|
+
sendTransaction,
|
|
110
|
+
sendTransactionSync,
|
|
111
|
+
uninstallFilter,
|
|
112
|
+
verifyHash2 as verifyHash,
|
|
113
|
+
waitForTransactionReceipt,
|
|
114
|
+
watchBlockNumber,
|
|
115
|
+
watchContractEvent,
|
|
116
|
+
writeContract,
|
|
117
|
+
writeContractSync
|
|
118
|
+
} from "./chunk-LH3QPVN6.js";
|
|
119
|
+
import {
|
|
120
|
+
getTransactionCount
|
|
121
|
+
} from "./chunk-6O27TEXD.js";
|
|
122
|
+
import "./chunk-65EY7CT4.js";
|
|
123
|
+
import {
|
|
124
|
+
call
|
|
125
|
+
} from "./chunk-F55NNH2F.js";
|
|
126
|
+
import "./chunk-MLDUKBU3.js";
|
|
127
|
+
import "./chunk-7OK7MBT6.js";
|
|
128
|
+
import "./chunk-IYHTITNZ.js";
|
|
129
|
+
export {
|
|
130
|
+
addChain,
|
|
131
|
+
call,
|
|
132
|
+
createAccessList,
|
|
133
|
+
createBlockFilter,
|
|
134
|
+
createContractEventFilter,
|
|
135
|
+
createEventFilter,
|
|
136
|
+
createPendingTransactionFilter,
|
|
137
|
+
defaultParameters as defaultPrepareTransactionRequestParameters,
|
|
138
|
+
deployContract,
|
|
139
|
+
dropTransaction,
|
|
140
|
+
dumpState,
|
|
141
|
+
estimateContractGas,
|
|
142
|
+
estimateFeesPerGas,
|
|
143
|
+
estimateGas,
|
|
144
|
+
estimateMaxPriorityFeePerGas,
|
|
145
|
+
fillTransaction,
|
|
146
|
+
getAddresses,
|
|
147
|
+
getAutomine,
|
|
148
|
+
getBalance,
|
|
149
|
+
getBlobBaseFee,
|
|
150
|
+
getBlock,
|
|
151
|
+
getBlockNumber,
|
|
152
|
+
getBlockReceipts,
|
|
153
|
+
getBlockTransactionCount,
|
|
154
|
+
getCode as getBytecode,
|
|
155
|
+
getCallsStatus,
|
|
156
|
+
getCapabilities,
|
|
157
|
+
getChainId,
|
|
158
|
+
getCode,
|
|
159
|
+
getContractEvents,
|
|
160
|
+
getDelegation,
|
|
161
|
+
getEip712Domain,
|
|
162
|
+
getEnsAddress,
|
|
163
|
+
getEnsAvatar,
|
|
164
|
+
getEnsName,
|
|
165
|
+
getEnsResolver,
|
|
166
|
+
getEnsText,
|
|
167
|
+
getFeeHistory,
|
|
168
|
+
getFilterChanges,
|
|
169
|
+
getFilterLogs,
|
|
170
|
+
getGasPrice,
|
|
171
|
+
getLogs,
|
|
172
|
+
getPermissions,
|
|
173
|
+
getProof,
|
|
174
|
+
getRawTransaction,
|
|
175
|
+
getStorageAt,
|
|
176
|
+
getTransaction,
|
|
177
|
+
getTransactionConfirmations,
|
|
178
|
+
getTransactionCount,
|
|
179
|
+
getTransactionReceipt,
|
|
180
|
+
getTxpoolContent,
|
|
181
|
+
getTxpoolStatus,
|
|
182
|
+
impersonateAccount,
|
|
183
|
+
increaseTime,
|
|
184
|
+
inspectTxpool,
|
|
185
|
+
loadState,
|
|
186
|
+
mine,
|
|
187
|
+
multicall,
|
|
188
|
+
prepareAuthorization,
|
|
189
|
+
prepareTransactionRequest,
|
|
190
|
+
readContract,
|
|
191
|
+
removeBlockTimestampInterval,
|
|
192
|
+
requestAddresses,
|
|
193
|
+
requestPermissions,
|
|
194
|
+
reset,
|
|
195
|
+
revert,
|
|
196
|
+
sendCalls,
|
|
197
|
+
sendCallsSync,
|
|
198
|
+
sendRawTransaction,
|
|
199
|
+
sendRawTransactionSync,
|
|
200
|
+
sendTransaction,
|
|
201
|
+
sendTransactionSync,
|
|
202
|
+
sendUnsignedTransaction,
|
|
203
|
+
setAutomine,
|
|
204
|
+
setBalance,
|
|
205
|
+
setBlockGasLimit,
|
|
206
|
+
setBlockTimestampInterval,
|
|
207
|
+
setCode,
|
|
208
|
+
setCoinbase,
|
|
209
|
+
setIntervalMining,
|
|
210
|
+
setLoggingEnabled,
|
|
211
|
+
setMinGasPrice,
|
|
212
|
+
setNextBlockBaseFeePerGas,
|
|
213
|
+
setNextBlockTimestamp,
|
|
214
|
+
setNonce,
|
|
215
|
+
setRpcUrl,
|
|
216
|
+
setStorageAt,
|
|
217
|
+
showCallsStatus,
|
|
218
|
+
signAuthorization,
|
|
219
|
+
signMessage,
|
|
220
|
+
signTransaction,
|
|
221
|
+
signTypedData,
|
|
222
|
+
simulateBlocks as simulate,
|
|
223
|
+
simulateBlocks,
|
|
224
|
+
simulateCalls,
|
|
225
|
+
simulateContract,
|
|
226
|
+
snapshot,
|
|
227
|
+
stopImpersonatingAccount,
|
|
228
|
+
switchChain,
|
|
229
|
+
token_exports as token,
|
|
230
|
+
uninstallFilter,
|
|
231
|
+
verifyHash,
|
|
232
|
+
verifyMessage,
|
|
233
|
+
verifyTypedData,
|
|
234
|
+
waitForCallsStatus,
|
|
235
|
+
waitForTransactionReceipt,
|
|
236
|
+
watchAsset,
|
|
237
|
+
watchBlockNumber,
|
|
238
|
+
watchBlocks,
|
|
239
|
+
watchContractEvent,
|
|
240
|
+
watchEvent,
|
|
241
|
+
watchPendingTransactions,
|
|
242
|
+
writeContract,
|
|
243
|
+
writeContractSync
|
|
244
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __dvmCreateRequire } from "node:module";
|
|
3
|
+
const require = __dvmCreateRequire(import.meta.url);
|
|
4
|
+
import {
|
|
5
|
+
ccipRequest,
|
|
6
|
+
offchainLookup,
|
|
7
|
+
offchainLookupAbiItem,
|
|
8
|
+
offchainLookupSignature
|
|
9
|
+
} from "./chunk-F55NNH2F.js";
|
|
10
|
+
import "./chunk-MLDUKBU3.js";
|
|
11
|
+
import "./chunk-7OK7MBT6.js";
|
|
12
|
+
import "./chunk-IYHTITNZ.js";
|
|
13
|
+
export {
|
|
14
|
+
ccipRequest,
|
|
15
|
+
offchainLookup,
|
|
16
|
+
offchainLookupAbiItem,
|
|
17
|
+
offchainLookupSignature
|
|
18
|
+
};
|