-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
224 lines (224 loc) · 6.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
{
"name": "ethcode",
"displayName": "ETHcode",
"description": "Ethereum IDE for VS Code",
"version": "0.4.13",
"publisher": "7finney",
"categories": [
"Debuggers",
"Programming Languages"
],
"keywords": [
"solidity",
"ethereum",
"hardhat",
"foundry",
"web3",
"evm"
],
"icon": "images/ethcode.png",
"repository": "https://github.com/7finney/ethcode",
"engines": {
"vscode": "^1.84.2",
"node": ">=16.15.0"
},
"activationEvents": [
"onCommand: ethcode.activate",
"onCommand: ethcode.compiled-json.load",
"onCommand: ethcode.compiled-json.load.all",
"onCommand: ethcode.compiled-json.select",
"onCommand: ethcode.network.select",
"onCommand: ethcode.account.export",
"onCommand: ethcode.account.import"
],
"main": "./build/src/extension.js",
"extensionDependencies": [
"ibm.output-colorizer"
],
"contributes": {
"configuration": {
"title": "ΞTHcode",
"properties": {
"ethcode.networks": {
"scope": "application",
"type": "object",
"additionalProperties": {
"type": "string"
},
"markdownDescription": "List of networks settings including ethereum, polygon etc",
"default": {
"Ethereum": "{\"rpc\": \"https://rpc.ankr.com/eth\",\"blockScanner\":\"https://etherscan.io\", \"chainID\": \"1\", \"nativeCurrency\": {\"name\": \"Ether\",\"symbol\":\"ETH\",\"decimals\": \"18\"}}",
"Ganache Testnet": "{\"rpc\": \"http://127.0.0.1:7545\", \"blockScanner\": \"https://etherscan.io\", \"chainID\": \"1337\", \"nativeCurrency\": {\"name\": \"Ganache Ether\",\"symbol\":\"ETH\",\"decimals\": \"18\"}}",
"Hardhat Testnet": "{\"rpc\": \"http://127.0.0.1:8545\", \"blockScanner\": \"https://etherscan.io\", \"chainID\": \"1337\", \"nativeCurrency\": {\"name\": \"Hardhat Ether\",\"symbol\":\"ETH\",\"decimals\": \"18\"}}",
"Polygon Mainnet": "{\"rpc\": \"https://polygon-rpc.com\", \"blockScanner\": \"https://polygonscan.com\", \"chainID\": \"137\", \"nativeCurrency\": {\"name\": \"Polygon Matic\",\"symbol\":\"MATIC\",\"decimals\": \"18\"}}",
"Sepolia Testnet": "{\"rpc\": \"https://rpc.sepolia.dev\", \"blockScanner\": \"https://sepolia.etherscan.io\",\"chainID\": \"11155111\", \"nativeCurrency\": {\"name\": \"Sepolia Ether\",\"symbol\":\"ETH\",\"decimals\": \"18\"}}",
"Polygon Amoy": "{\"rpc\": \"https://rpc.ankr.com/polygon_amoy\", \"blockScanner\": \"https://amoy.polygonscan.com\",\"chainID\": \"80002\", \"nativeCurrency\": {\"name\": \"Matic\",\"symbol\":\"MATIC\",\"decimals\": \"18\"}}"
}
},
"ethcode.gasLimit": {
"scope": "application",
"type": "number",
"default": 3000000,
"description": "Set gas limit value for transactions."
}
}
},
"commands": [
{
"command": "ethcode.activate",
"title": "Activate extension",
"category": "Ethcode"
},
{
"command": "ethcode.account.create",
"title": "Create ethereum account",
"category": "Ethcode"
},
{
"command": "ethcode.account.delete",
"title": "Delete ethereum account",
"category": "Ethcode"
},
{
"command": "ethcode.contract.deploy",
"title": "Deploy a contract",
"category": "Ethcode"
},
{
"command": "ethcode.account.select",
"title": "Select ethereum account",
"category": "Ethcode"
},
{
"command": "ethcode.account.balance",
"title": "Get account balance",
"category": "Ethcode"
},
{
"command": "ethcode.network.select",
"title": "Select ethereum network",
"category": "Ethcode"
},
{
"command": "ethcode.transaction.set",
"title": "Set ethereum transaction",
"category": "Ethcode"
},
{
"command": "ethcode.transaction.get",
"title": "Get transaction info",
"category": "Ethcode"
},
{
"command": "ethcode.transaction.gas.set",
"title": "Set transaction gas strategy",
"category": "Ethcode"
},
{
"command": "ethcode.transaction.gas.prices",
"title": "Get network gas prices",
"category": "Ethcode"
},
{
"command": "ethcode.compiled-json.load",
"title": "Ethcode: Load compiled JSON output"
},
{
"command": "ethcode.compiled-json.load.all",
"title": "Load all compiled JSON output",
"category": "Ethcode"
},
{
"command": "ethcode.compiled-json.select",
"title": "Select one compiled JSON output",
"category": "Ethcode"
},
{
"command": "ethcode.contract.call",
"title": "Ethcode: Contract call"
},
{
"command": "ethcode.account.export",
"title": "Ethcode: Export Account"
},
{
"command": "ethcode.account.import",
"title": "Ethcode: Import Account"
},
{
"command": "ethcode.rental.create",
"title": "Create new ERC4907 contract",
"category": "Ethcode"
}
],
"keybindings": [
{
"key": "ctrl+alt+e",
"command": "ethcode.activate"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == json",
"command": "ethcode.compiled-json.select",
"group": "Ethcode"
},
{
"when": "resourceLangId == json",
"command": "ethcode.compiled-json.load.all",
"group": "Ethcode"
},
{
"when": "resourceLangId == json",
"command": "ethcode.contract.call",
"group": "Ethcode"
}
],
"commandPalette": [
{
"when": "false",
"command": "ethcode.compiled-json.load",
"group": "Ethcode"
}
]
}
},
"dependencies": {
"@ethersproject/providers": "^5.7.2",
"@types/keythereum": "^1.2.1",
"@types/randombytes": "^2.0.0",
"@types/underscore": "^1.11.4",
"axios": "^0.27.2",
"bn.js": "^5.2.1",
"eslint": "^8.34.0",
"ethers": "^5.6.9",
"keythereum": "^1.2.0",
"number-to-bn": "^1.7.0",
"randombytes": "^2.1.0",
"toml": "^3.0.0",
"underscore": "^1.13.4",
"utf8": "^3.0.0"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@types/utf8": "^3.0.1",
"@types/vscode": "^1.84.2",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"eslint-config-standard-with-typescript": "^34.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"prettier": "^2.8.4",
"typescript": "^4.9.5",
"vscode": "^1.1.37"
},
"scripts": {
"vscode:prepublish": "yarn build",
"build": "tsc -p tsconfig.json",
"watch": "tsc -watch -p ./"
},
"author": "0mkara <[email protected]>",
"license": "MIT"
}