@mcp-dockmaster/mcp-cryptowallet-evm 1.0.3 → 1.0.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/build/handlers/utils.d.ts +4 -4
- package/build/handlers/utils.js +20 -10
- package/build/handlers/utils.js.map +1 -1
- package/build/handlers/wallet.d.ts +1 -0
- package/build/handlers/wallet.js +73 -73
- package/build/handlers/wallet.js.map +1 -1
- package/build/tools.d.ts +61 -109
- package/build/tools.js +36 -50
- package/build/tools.js.map +1 -1
- package/package.json +1 -1
- package/src/handlers/utils.ts +21 -12
- package/src/handlers/wallet.ts +77 -91
- package/src/tools.ts +37 -50
package/build/tools.d.ts
CHANGED
@@ -1,4 +1,40 @@
|
|
1
1
|
export declare const tools: ({
|
2
|
+
name: string;
|
3
|
+
description: string;
|
4
|
+
inputSchema: {
|
5
|
+
type: string;
|
6
|
+
properties: {
|
7
|
+
providerURL: {
|
8
|
+
type: string;
|
9
|
+
description: string;
|
10
|
+
};
|
11
|
+
password?: undefined;
|
12
|
+
path?: undefined;
|
13
|
+
locale?: undefined;
|
14
|
+
privateKey?: undefined;
|
15
|
+
length?: undefined;
|
16
|
+
mnemonic?: undefined;
|
17
|
+
json?: undefined;
|
18
|
+
wallet?: undefined;
|
19
|
+
options?: undefined;
|
20
|
+
blockTag?: undefined;
|
21
|
+
transaction?: undefined;
|
22
|
+
message?: undefined;
|
23
|
+
domain?: undefined;
|
24
|
+
types?: undefined;
|
25
|
+
value?: undefined;
|
26
|
+
signature?: undefined;
|
27
|
+
address?: undefined;
|
28
|
+
blockHashOrBlockTag?: undefined;
|
29
|
+
includeTransactions?: undefined;
|
30
|
+
transactionHash?: undefined;
|
31
|
+
position?: undefined;
|
32
|
+
filter?: undefined;
|
33
|
+
name?: undefined;
|
34
|
+
};
|
35
|
+
required: string[];
|
36
|
+
};
|
37
|
+
} | {
|
2
38
|
name: string;
|
3
39
|
description: string;
|
4
40
|
inputSchema: {
|
@@ -16,8 +52,8 @@ export declare const tools: ({
|
|
16
52
|
type: string;
|
17
53
|
description: string;
|
18
54
|
};
|
55
|
+
providerURL?: undefined;
|
19
56
|
privateKey?: undefined;
|
20
|
-
provider?: undefined;
|
21
57
|
length?: undefined;
|
22
58
|
mnemonic?: undefined;
|
23
59
|
json?: undefined;
|
@@ -50,10 +86,7 @@ export declare const tools: ({
|
|
50
86
|
type: string;
|
51
87
|
description: string;
|
52
88
|
};
|
53
|
-
|
54
|
-
type: string;
|
55
|
-
description: string;
|
56
|
-
};
|
89
|
+
providerURL?: undefined;
|
57
90
|
password?: undefined;
|
58
91
|
path?: undefined;
|
59
92
|
locale?: undefined;
|
@@ -94,10 +127,10 @@ export declare const tools: ({
|
|
94
127
|
type: string;
|
95
128
|
description: string;
|
96
129
|
};
|
130
|
+
providerURL?: undefined;
|
97
131
|
password?: undefined;
|
98
132
|
path?: undefined;
|
99
133
|
privateKey?: undefined;
|
100
|
-
provider?: undefined;
|
101
134
|
mnemonic?: undefined;
|
102
135
|
json?: undefined;
|
103
136
|
wallet?: undefined;
|
@@ -137,10 +170,7 @@ export declare const tools: ({
|
|
137
170
|
type: string;
|
138
171
|
description: string;
|
139
172
|
};
|
140
|
-
|
141
|
-
type: string;
|
142
|
-
description: string;
|
143
|
-
};
|
173
|
+
providerURL?: undefined;
|
144
174
|
password?: undefined;
|
145
175
|
privateKey?: undefined;
|
146
176
|
length?: undefined;
|
@@ -178,10 +208,7 @@ export declare const tools: ({
|
|
178
208
|
type: string;
|
179
209
|
description: string;
|
180
210
|
};
|
181
|
-
|
182
|
-
type: string;
|
183
|
-
description: string;
|
184
|
-
};
|
211
|
+
providerURL?: undefined;
|
185
212
|
path?: undefined;
|
186
213
|
locale?: undefined;
|
187
214
|
privateKey?: undefined;
|
@@ -240,10 +267,10 @@ export declare const tools: ({
|
|
240
267
|
};
|
241
268
|
};
|
242
269
|
};
|
270
|
+
providerURL?: undefined;
|
243
271
|
path?: undefined;
|
244
272
|
locale?: undefined;
|
245
273
|
privateKey?: undefined;
|
246
|
-
provider?: undefined;
|
247
274
|
length?: undefined;
|
248
275
|
mnemonic?: undefined;
|
249
276
|
json?: undefined;
|
@@ -274,11 +301,11 @@ export declare const tools: ({
|
|
274
301
|
type: string;
|
275
302
|
description: string;
|
276
303
|
};
|
304
|
+
providerURL?: undefined;
|
277
305
|
password?: undefined;
|
278
306
|
path?: undefined;
|
279
307
|
locale?: undefined;
|
280
308
|
privateKey?: undefined;
|
281
|
-
provider?: undefined;
|
282
309
|
length?: undefined;
|
283
310
|
mnemonic?: undefined;
|
284
311
|
json?: undefined;
|
@@ -314,10 +341,10 @@ export declare const tools: ({
|
|
314
341
|
type: string;
|
315
342
|
description: string;
|
316
343
|
};
|
344
|
+
providerURL?: undefined;
|
317
345
|
path?: undefined;
|
318
346
|
locale?: undefined;
|
319
347
|
privateKey?: undefined;
|
320
|
-
provider?: undefined;
|
321
348
|
length?: undefined;
|
322
349
|
mnemonic?: undefined;
|
323
350
|
json?: undefined;
|
@@ -349,14 +376,11 @@ export declare const tools: ({
|
|
349
376
|
type: string;
|
350
377
|
description: string;
|
351
378
|
};
|
352
|
-
provider: {
|
353
|
-
type: string;
|
354
|
-
description: string;
|
355
|
-
};
|
356
379
|
blockTag: {
|
357
380
|
type: string;
|
358
381
|
description: string;
|
359
382
|
};
|
383
|
+
providerURL?: undefined;
|
360
384
|
password?: undefined;
|
361
385
|
path?: undefined;
|
362
386
|
locale?: undefined;
|
@@ -379,45 +403,6 @@ export declare const tools: ({
|
|
379
403
|
filter?: undefined;
|
380
404
|
name?: undefined;
|
381
405
|
};
|
382
|
-
required: string[];
|
383
|
-
};
|
384
|
-
} | {
|
385
|
-
name: string;
|
386
|
-
description: string;
|
387
|
-
inputSchema: {
|
388
|
-
type: string;
|
389
|
-
properties: {
|
390
|
-
wallet: {
|
391
|
-
type: string;
|
392
|
-
description: string;
|
393
|
-
};
|
394
|
-
provider: {
|
395
|
-
type: string;
|
396
|
-
description: string;
|
397
|
-
};
|
398
|
-
password?: undefined;
|
399
|
-
path?: undefined;
|
400
|
-
locale?: undefined;
|
401
|
-
privateKey?: undefined;
|
402
|
-
length?: undefined;
|
403
|
-
mnemonic?: undefined;
|
404
|
-
json?: undefined;
|
405
|
-
options?: undefined;
|
406
|
-
blockTag?: undefined;
|
407
|
-
transaction?: undefined;
|
408
|
-
message?: undefined;
|
409
|
-
domain?: undefined;
|
410
|
-
types?: undefined;
|
411
|
-
value?: undefined;
|
412
|
-
signature?: undefined;
|
413
|
-
address?: undefined;
|
414
|
-
blockHashOrBlockTag?: undefined;
|
415
|
-
includeTransactions?: undefined;
|
416
|
-
transactionHash?: undefined;
|
417
|
-
position?: undefined;
|
418
|
-
filter?: undefined;
|
419
|
-
name?: undefined;
|
420
|
-
};
|
421
406
|
required: never[];
|
422
407
|
};
|
423
408
|
} | {
|
@@ -430,10 +415,6 @@ export declare const tools: ({
|
|
430
415
|
type: string;
|
431
416
|
description: string;
|
432
417
|
};
|
433
|
-
provider: {
|
434
|
-
type: string;
|
435
|
-
description: string;
|
436
|
-
};
|
437
418
|
transaction: {
|
438
419
|
type: string;
|
439
420
|
description: string;
|
@@ -467,6 +448,7 @@ export declare const tools: ({
|
|
467
448
|
type: string;
|
468
449
|
description: string;
|
469
450
|
};
|
451
|
+
providerURL?: undefined;
|
470
452
|
password?: undefined;
|
471
453
|
path?: undefined;
|
472
454
|
locale?: undefined;
|
@@ -500,10 +482,6 @@ export declare const tools: ({
|
|
500
482
|
type: string;
|
501
483
|
description: string;
|
502
484
|
};
|
503
|
-
provider: {
|
504
|
-
type: string;
|
505
|
-
description: string;
|
506
|
-
};
|
507
485
|
transaction: {
|
508
486
|
type: string;
|
509
487
|
description: string;
|
@@ -541,6 +519,7 @@ export declare const tools: ({
|
|
541
519
|
};
|
542
520
|
required: string[];
|
543
521
|
};
|
522
|
+
providerURL?: undefined;
|
544
523
|
password?: undefined;
|
545
524
|
path?: undefined;
|
546
525
|
locale?: undefined;
|
@@ -579,11 +558,11 @@ export declare const tools: ({
|
|
579
558
|
type: string;
|
580
559
|
description: string;
|
581
560
|
};
|
561
|
+
providerURL?: undefined;
|
582
562
|
password?: undefined;
|
583
563
|
path?: undefined;
|
584
564
|
locale?: undefined;
|
585
565
|
privateKey?: undefined;
|
586
|
-
provider?: undefined;
|
587
566
|
length?: undefined;
|
588
567
|
mnemonic?: undefined;
|
589
568
|
json?: undefined;
|
@@ -626,11 +605,11 @@ export declare const tools: ({
|
|
626
605
|
type: string;
|
627
606
|
description: string;
|
628
607
|
};
|
608
|
+
providerURL?: undefined;
|
629
609
|
password?: undefined;
|
630
610
|
path?: undefined;
|
631
611
|
locale?: undefined;
|
632
612
|
privateKey?: undefined;
|
633
|
-
provider?: undefined;
|
634
613
|
length?: undefined;
|
635
614
|
mnemonic?: undefined;
|
636
615
|
json?: undefined;
|
@@ -667,11 +646,11 @@ export declare const tools: ({
|
|
667
646
|
type: string;
|
668
647
|
description: string;
|
669
648
|
};
|
649
|
+
providerURL?: undefined;
|
670
650
|
password?: undefined;
|
671
651
|
path?: undefined;
|
672
652
|
locale?: undefined;
|
673
653
|
privateKey?: undefined;
|
674
|
-
provider?: undefined;
|
675
654
|
length?: undefined;
|
676
655
|
mnemonic?: undefined;
|
677
656
|
json?: undefined;
|
@@ -717,11 +696,11 @@ export declare const tools: ({
|
|
717
696
|
type: string;
|
718
697
|
description: string;
|
719
698
|
};
|
699
|
+
providerURL?: undefined;
|
720
700
|
password?: undefined;
|
721
701
|
path?: undefined;
|
722
702
|
locale?: undefined;
|
723
703
|
privateKey?: undefined;
|
724
|
-
provider?: undefined;
|
725
704
|
length?: undefined;
|
726
705
|
mnemonic?: undefined;
|
727
706
|
json?: undefined;
|
@@ -745,10 +724,6 @@ export declare const tools: ({
|
|
745
724
|
inputSchema: {
|
746
725
|
type: string;
|
747
726
|
properties: {
|
748
|
-
provider: {
|
749
|
-
type: string;
|
750
|
-
description: string;
|
751
|
-
};
|
752
727
|
blockHashOrBlockTag: {
|
753
728
|
type: string;
|
754
729
|
description: string;
|
@@ -757,6 +732,7 @@ export declare const tools: ({
|
|
757
732
|
type: string;
|
758
733
|
description: string;
|
759
734
|
};
|
735
|
+
providerURL?: undefined;
|
760
736
|
password?: undefined;
|
761
737
|
path?: undefined;
|
762
738
|
locale?: undefined;
|
@@ -787,14 +763,11 @@ export declare const tools: ({
|
|
787
763
|
inputSchema: {
|
788
764
|
type: string;
|
789
765
|
properties: {
|
790
|
-
provider: {
|
791
|
-
type: string;
|
792
|
-
description: string;
|
793
|
-
};
|
794
766
|
transactionHash: {
|
795
767
|
type: string;
|
796
768
|
description: string;
|
797
769
|
};
|
770
|
+
providerURL?: undefined;
|
798
771
|
password?: undefined;
|
799
772
|
path?: undefined;
|
800
773
|
locale?: undefined;
|
@@ -826,10 +799,6 @@ export declare const tools: ({
|
|
826
799
|
inputSchema: {
|
827
800
|
type: string;
|
828
801
|
properties: {
|
829
|
-
provider: {
|
830
|
-
type: string;
|
831
|
-
description: string;
|
832
|
-
};
|
833
802
|
address: {
|
834
803
|
type: string;
|
835
804
|
description: string;
|
@@ -838,6 +807,7 @@ export declare const tools: ({
|
|
838
807
|
type: string;
|
839
808
|
description: string;
|
840
809
|
};
|
810
|
+
providerURL?: undefined;
|
841
811
|
password?: undefined;
|
842
812
|
path?: undefined;
|
843
813
|
locale?: undefined;
|
@@ -868,10 +838,6 @@ export declare const tools: ({
|
|
868
838
|
inputSchema: {
|
869
839
|
type: string;
|
870
840
|
properties: {
|
871
|
-
provider: {
|
872
|
-
type: string;
|
873
|
-
description: string;
|
874
|
-
};
|
875
841
|
address: {
|
876
842
|
type: string;
|
877
843
|
description: string;
|
@@ -884,6 +850,7 @@ export declare const tools: ({
|
|
884
850
|
type: string;
|
885
851
|
description: string;
|
886
852
|
};
|
853
|
+
providerURL?: undefined;
|
887
854
|
password?: undefined;
|
888
855
|
path?: undefined;
|
889
856
|
locale?: undefined;
|
@@ -913,10 +880,6 @@ export declare const tools: ({
|
|
913
880
|
inputSchema: {
|
914
881
|
type: string;
|
915
882
|
properties: {
|
916
|
-
provider: {
|
917
|
-
type: string;
|
918
|
-
description: string;
|
919
|
-
};
|
920
883
|
transaction: {
|
921
884
|
type: string;
|
922
885
|
description: string;
|
@@ -942,6 +905,7 @@ export declare const tools: ({
|
|
942
905
|
};
|
943
906
|
required?: undefined;
|
944
907
|
};
|
908
|
+
providerURL?: undefined;
|
945
909
|
password?: undefined;
|
946
910
|
path?: undefined;
|
947
911
|
locale?: undefined;
|
@@ -973,10 +937,6 @@ export declare const tools: ({
|
|
973
937
|
inputSchema: {
|
974
938
|
type: string;
|
975
939
|
properties: {
|
976
|
-
provider: {
|
977
|
-
type: string;
|
978
|
-
description: string;
|
979
|
-
};
|
980
940
|
filter: {
|
981
941
|
type: string;
|
982
942
|
description: string;
|
@@ -998,6 +958,7 @@ export declare const tools: ({
|
|
998
958
|
};
|
999
959
|
};
|
1000
960
|
};
|
961
|
+
providerURL?: undefined;
|
1001
962
|
password?: undefined;
|
1002
963
|
path?: undefined;
|
1003
964
|
locale?: undefined;
|
@@ -1029,14 +990,11 @@ export declare const tools: ({
|
|
1029
990
|
inputSchema: {
|
1030
991
|
type: string;
|
1031
992
|
properties: {
|
1032
|
-
provider: {
|
1033
|
-
type: string;
|
1034
|
-
description: string;
|
1035
|
-
};
|
1036
993
|
name: {
|
1037
994
|
type: string;
|
1038
995
|
description: string;
|
1039
996
|
};
|
997
|
+
providerURL?: undefined;
|
1040
998
|
password?: undefined;
|
1041
999
|
path?: undefined;
|
1042
1000
|
locale?: undefined;
|
@@ -1068,14 +1026,11 @@ export declare const tools: ({
|
|
1068
1026
|
inputSchema: {
|
1069
1027
|
type: string;
|
1070
1028
|
properties: {
|
1071
|
-
provider: {
|
1072
|
-
type: string;
|
1073
|
-
description: string;
|
1074
|
-
};
|
1075
1029
|
address: {
|
1076
1030
|
type: string;
|
1077
1031
|
description: string;
|
1078
1032
|
};
|
1033
|
+
providerURL?: undefined;
|
1079
1034
|
password?: undefined;
|
1080
1035
|
path?: undefined;
|
1081
1036
|
locale?: undefined;
|
@@ -1107,10 +1062,7 @@ export declare const tools: ({
|
|
1107
1062
|
inputSchema: {
|
1108
1063
|
type: string;
|
1109
1064
|
properties: {
|
1110
|
-
|
1111
|
-
type: string;
|
1112
|
-
description: string;
|
1113
|
-
};
|
1065
|
+
providerURL?: undefined;
|
1114
1066
|
password?: undefined;
|
1115
1067
|
path?: undefined;
|
1116
1068
|
locale?: undefined;
|
@@ -1135,7 +1087,7 @@ export declare const tools: ({
|
|
1135
1087
|
filter?: undefined;
|
1136
1088
|
name?: undefined;
|
1137
1089
|
};
|
1138
|
-
required:
|
1090
|
+
required: never[];
|
1139
1091
|
};
|
1140
1092
|
})[];
|
1141
1093
|
type HandlerDictionary = Record<string, (input: any) => any>;
|