-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
plugins.js
557 lines (556 loc) · 18.5 KB
/
plugins.js
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
// This list of plugins is automatically sorted by the numbers of downloads
// that the plugin got on npm in the last 30 days. Please add yourself to the
// bottom of the list.
//
// If your plugin's `name` is not it's package name, you can add an optional
// `npmPackage` field.
module.exports.communityPlugins = [
{
name: "hardhat-deploy",
author: "Ronan Sandford",
authorUrl: "https://github.com/wighawag",
description: "Hardhat plugin for Deployments",
tags: ["Deployment", "Testing"],
},
{
name: "hardhat-preprocessor",
author: "Ronan Sandford",
authorUrl: "https://github.com/wighawag",
description:
"An hardhat plugin to pre-process contract source code before compilation",
tags: ["Solidity", "Preprocessor"],
},
{
name: "hardhat-deploy-ethers",
author: "Ronan Sandford",
authorUrl: "https://github.com/wighawag",
description: "A hardhat-deploy plugin for Ethers.js v5",
tags: ["Ethers.js", "hardhat-deploy"],
},
{
name: "@openzeppelin/hardhat-upgrades",
author: "OpenZeppelin",
authorUrl: "https://openzeppelin.com",
description:
"Hardhat plugin for deploying and managing upgradeable contracts.",
tags: ["Security", "Upgrades", "OpenZeppelin"],
},
{
name: "hardhat-forta",
author: "Forta",
authorUrl: "https://forta.org/",
description:
"Quickly add security and operational alerting for your project using Forta: a decentralized monitoring network for Web3 systems.",
tags: ["Security", "Monitoring", "Alerting", "Forta"],
},
{
name: "@tenderly/hardhat-tenderly",
author: "Tenderly",
authorUrl: "https://tenderly.co/",
description:
"Easily integrate your Hardhat project with Tenderly. Tenderly is an Ethereum monitoring, debugging and analytics platform.",
tags: ["Debuggin", "Monitoring", "Alerting", "Tasks", "Scripts"],
},
{
name: "hardhat-ethernal",
author: "Ethernal",
authorUrl: "https://www.tryethernal.com",
description:
"Integrate your Hardhat project and Hardhat network with Ethernal. Ethernal is a block explorer for private chains.",
tags: ["explorer", "debugging", "development-tool"],
},
{
name: "@typechain/hardhat",
author: "Rahul Sethuram",
authorUrl: "https://twitter.com/rhlsthrm",
description: "Zero-config TypeChain support for Hardhat.",
tags: ["Testing", "Tasks"],
},
{
name: "hardhat-spdx-license-identifier",
author: "Nick Barry",
authorUrl: "https://github.com/ItsNickBarry",
description:
"Automatically prepend local Solidity source files with an SPDX License Identifier",
tags: ["License"],
},
{
name: "hardhat-abi-exporter",
author: "Nick Barry",
authorUrl: "https://github.com/ItsNickBarry",
description: "Automatically export Solidity contract ABIs on compilation",
tags: ["Compiling", "ABI"],
},
{
name: "hardhat-contract-sizer",
author: "Nick Barry",
authorUrl: "https://github.com/ItsNickBarry",
description: "Calculate compiled contract sizes",
tags: ["Compiling", "Bytecode"],
},
{
name: "hardhat-log-remover",
author: "Nick Barry",
authorUrl: "https://github.com/ItsNickBarry",
description:
"Remove Hardhat console.log imports and calls from Solidity source files",
tags: ["Logging", "Console", "Deployment"],
},
{
name: "hardhat-dependency-compiler",
author: "Nick Barry",
authorUrl: "https://github.com/ItsNickBarry",
description: "Compile Solidity sources directly from NPM dependencies",
tags: ["Compiling", "Dependencies"],
},
{
name: "hardhat-docgen",
author: "Nick Barry, samuveth",
authorUrl: "https://github.com/ItsNickBarry",
description: "Generate a static documentation site from NatSpec comments",
tags: ["Documentation", "NatSpec"],
},
{
name: "hardhat-watcher",
author: "Xander Deseyn",
authorUrl: "https://github.com/N1ghtly",
description: "Automatically run Hardhat actions on file changes.",
tags: ["Tasks", "Testing"],
},
{
name: "solidity-coverage",
author: "Chris Gewecke",
authorUrl: "https://github.com/cgewecke",
description: "Code coverage for Solidity",
tags: ["Testing", "Coverage", "Hardhat plugin"],
},
{
name: "hardhat-gas-trackooor",
author: "d3or",
authorUrl: "https://github.com/d3or",
description: "Simple plugin to track gas on the transaction level.",
tags: ["Testing", "Gas", "Hardhat plugin"],
},
{
name: "hardhat-gas-reporter",
author: "Chris Gewecke",
authorUrl: "https://github.com/cgewecke",
description:
"Gas usage per unit test. Average gas usage per method. A mocha reporter.",
tags: ["Testing", "Gas", "Hardhat plugin"],
},
{
name: "hardhat-erc1820",
author: "David Mihal",
authorUrl: "https://twitter.com/dmihal",
description:
"Automatically deploy the ERC-1820 registry contract to Hardhat EVM chains.",
tags: ["Testing"],
},
{
name: "@aragon/buidler-aragon",
author: "Aragon One",
authorUrl: "https://twitter.com/aragononeteam",
description: "Buidler plugin for Aragon App development",
tags: ["Aragon", "Apps", "Buidler plugin"],
},
{
name: "buidler-source-descriptor",
author: "Kendrick Tan",
authorUrl: "https://github.com/kendricktan",
description:
"A Buidler plugin to generate a descriptor of your Solidity source code",
tags: ["Compiling", "Documentation", "Buidler plugin"],
},
{
name: "hardhat-local-networks-config-plugin",
author: "Facu Spagnuolo",
authorUrl: "https://twitter.com/facuspagnuolo",
description:
"Allow loading network configs for Hardhat projects in home file",
tags: ["Networks", "Config"],
},
{
name: "@eth-optimism/plugins/hardhat/compiler",
npmPackage: "@eth-optimism/plugins",
author: "Optimism",
authorUrl: "https://github.com/ethereum-optimism",
description:
"Automatically compiles your Solidity contracts with the OVM compiler.",
tags: ["Optimism", "Solidity", "Compiler", "OVM"],
},
{
name: "@eth-optimism/plugins/hardhat/ethers",
npmPackage: "@eth-optimism/plugins",
author: "Optimism",
authorUrl: "https://github.com/ethereum-optimism",
description: "Integrates Hardhat and ethers.js with Optimism's L2 network.",
tags: ["Optimism", "ethers.js", "OVM"],
},
{
name: "hardhat-react",
npmPackage: "@symfoni/hardhat-react",
author: "Symfoni",
authorUrl: "https://github.com/symfoni/",
description:
"A Hardhat plugin that generates a React hook component from your smart contracts. Hot reloaded into your React app. Deployed or not deployed. And everything typed and initialized.",
tags: ["Ethers", "React", "Deploy", "Typechain", "Frontend", "Web3modal"],
},
{
name: "hardhat-etherscan-abi",
author: "Roman Semenov",
authorUrl: "https://github.com/poma",
description: "Automatically fetch contract ABI from Etherscan",
tags: ["Etherscan", "ABI"],
},
{
name: "hardhat-tracer",
author: "Soham Zemse",
authorUrl: "https://github.com/zemse/",
description:
"See internal transactions, events and storage operations during your hardhat tests in the console",
tags: ["EVM", "Events", "Logs", "Trace", "Console", "Testing"],
},
{
name: "hardhat-circom",
author: "Project Sophon",
authorUrl: "https://github.com/projectsophon",
description: "Provide tasks to integrate Circom and SnarkJS",
tags: [
"Circom",
"Snarkjs",
"Preprocessor",
"Compiling",
"Tasks",
"Scripts",
],
},
{
name: "hardhat-storage-layout",
author: "Aurora Labs",
authorUrl: "https://github.com/aurora-is-near",
description: "Exporting solidity contract storage layout",
tags: ["solidity", "storage-layout"],
},
{
name: "hardhat-change-network",
author: "David Mihal",
authorUrl: "https://github.com/dmihal",
description: "Allows changing the current network in Hardhat.",
tags: ["Testing"],
},
{
name: "hardhat-packager",
author: "Paul Razvan Berg",
authorUrl: "https://github.com/paulrberg",
description:
"Prepare the contract artifacts and the TypeChain bindings for registry deployment.",
tags: ["Deployment", "Tasks", "TypeChain"],
},
{
name: "hardhat-time-n-mine",
npmPackage: "@atixlabs/hardhat-time-n-mine",
author: "Gonzalo Petraglia & Alan Verbner",
authorUrl: "https://github.com/atixlabs",
description:
"Helper plugin to manipulate blocks timestamp and trigger mining. It can be used from the command line and in the tests.",
tags: ["Testing"],
},
{
name: "hardhat-proxy",
author: "Jinyang Liu",
authorUrl: "https://github.com/jinyang1994",
description:
"This plugin brings the proxy contract to Hardhat, which allows you to manage the proxy contract in a simple way.",
tags: ["Proxy Contract", "Tasks", "Scripts"],
},
{
name: "hardhat-fund-link",
author: "Applied Blockchain",
npmPackage: "@appliedblockchain/chainlink-plugins-fund-link",
authorUrl: "https://github.com/appliedblockchain",
description: "Transfers Link token amount between accounts.",
tags: ["Chainlink", "Link"],
},
{
name: "@defi-wonderland/smock",
author: "DeFi Wonderland and Optimism PBC",
authorUrl: "https://github.com/defi-wonderland",
description:
"The Solidity mocking library. Smock is a utility package that can generate mock Solidity contracts written entirely in JavaScript.",
tags: ["Testing", "Mocking"],
},
{
name: "xdeployer",
author: "Pascal Marco Caversaccio",
authorUrl: "https://github.com/pcaversaccio",
description:
"Hardhat plugin to deploy your smart contracts across multiple EVM chains with the same deterministic address.",
tags: ["Deployment", "CREATE2", "Tasks"],
},
{
name: "@controlcpluscontrolv/hardhat-yul",
author: "ControlCplusControlV",
authorUrl: "https://github.com/controlCplusControlV/",
description:
"Hardhat plugin to compile the Yul and Yul+ languages into solc compatible artifacts. Works with .yul and .yulp file extensions",
tags: ["Yul", "Assembly", "Compiler", "Yul+"],
},
{
name: "@primitivefi/hardhat-dodoc",
author: "Primitive",
authorUrl: "https://github.com/primitivefinance/primitive-dodoc",
description:
"Zero-config Hardhat plugin to generate documentation for all your Solidity contracts.",
tags: ["Documentation", "Docs", "Solidity", "NatSpec"],
},
{
name: "hardhat-output-validator",
author: "Indeavr",
authorUrl: "https://github.com/indeavr",
description:
"Zero-config Hardhat plugin to check the output of the compiler for any problems like missing NatSpec",
tags: [
"Productivity",
"CI",
"Compiler",
"Docs",
"Solidity",
"NatSpec",
"Build",
],
},
{
name: "@ericxstone/hardhat-blockscout-verify",
author: "ericxstone",
authorUrl: "https://github.com/ericxstone",
description:
"Hardhat plugin for solidity contract verification on Blockscout block explorer.",
tags: ["Blockscout", "Deployment", "Solidity", "Verification"],
},
{
name: "@georacle/hardhat-georacle",
author: "Georacle",
authorUrl: "https://georacle.io",
description:
"A Hardhat plugin for integrating smart contracts with Georacle.",
tags: ["Georacle", "oracle", "geospatial"],
},
{
name: "@muzamint/hardhat-etherspot",
author: "muzamint",
authorUrl: "https://github.com/muzamint",
description: "Hardhat TypeScript plugin for Etherspot",
tags: ["smart contract wallet"],
},
{
name: "hardhat-multibaas-plugin",
author: "Curvegrid",
authorUrl: "https://www.curvegrid.com/",
description: "Integrate MultiBaas into Hardhat's workflow!",
tags: ["middleware", "ethereum", "OMG"],
},
{
name: "@mangrovedao/hardhat-test-solidity",
author: "Mangrove",
authorUrl: "https://mangrove.exchange/",
description: "Hardhat plugin for writing tests in solidity",
tags: ["solidity tests"],
},
{
name: "@reef-defi/hardhat-reef",
author: "Reef Chain",
authorUrl: "https://reef.io/",
description:
"Hardhat Reef plugin for interacting with contracts on the Reef chain",
tags: ["Reef Chain"],
},
{
name: "hardhat-diamond-abi",
author: "Project Sophon",
authorUrl: "https://github.com/projectsophon",
description:
"Hardhat plugin to combine multiple ABIs into a Diamond ABI artifact",
tags: ["diamond standard"],
},
{
name: "@idle-finance/hardhat-proposals-plugin",
author: "Idle Finance",
authorUrl: "https://idle.finance/",
description: "A Hardhat plugin for working with on-chain proposals",
tags: ["governance", "proposals", "simulation"],
},
{
name: "@shardlabs/starknet-hardhat-plugin",
author: "Shard Labs",
authorUrl: "https://shardlabs.io/",
description:
"A plugin for integrating Starknet tools into Hardhat projects",
tags: ["starknet", "cairo", "layer two"],
},
{
name: "uniswap-v3-deploy-plugin",
author: "Uniswap",
authorUrl: "https://uniswap.org/",
description: "Hardhat plugin for Uniswap V3 deployment",
tags: ["uniswap", "testing", "local deployment"],
},
{
name: "@unlock-protocol/hardhat-plugin",
author: "Unlock Inc",
authorUrl: "http://unlock-protocol.com/",
description: "Hardhat plugin for Unlock Protocol deployments.",
tags: ["unlock", "nft", "memberships", "udt", "testing", "deployment"],
},
{
name: "hardhat-deploy-tenderly",
author: "Ronan Sandford",
authorUrl: "https://github.com/wighawag",
description: "A plugin to push contracts to tenderly",
tags: ["Deployment", "Testing", "Tenderly", "Verification"],
},
{
name: "hardhat-laika",
author: "Laika Blockchain Lab",
authorUrl: "https://github.com/laika-lab/hardhat-laika",
description: "Hardhat plugin to sync your compiled contract with Laika",
tags: ["Tasks", "Laika"],
},
{
name: "hardhat-network-metadata",
author: "Focal Labs Inc.",
authorUrl: "https://github.com/krruzic/hardhat-network-metadata",
description:
"Hardhat plugin to allow adding any extra data to your network configuration",
tags: ["Metadata", "Testing", "Tasks", "Config"],
},
{
name: "hardhat-exposed",
author: "Francisco Giordano",
authorUrl: "https://github.com/frangio",
description: "Automatically expose internal Solidity functions for testing",
tags: ["Solidity", "Testing"],
},
{
name: "hardhat-hethers",
author: "LimeChain",
authorUrl: "https://github.com/LimeChain/hardhat-hethers",
description: "Injects hethers into the Hardhat Runtime Environment",
tags: ["Hedera", "hethers"],
},
{
name: "hardhat-sourcify",
author: "Zoey T",
authorUrl: "https://twitter.com/zzzzoey_t",
description: "A plugin for submitting code to Sourcify",
tags: ["Sourcify", "Verification"],
},
{
name: "hardhat-awesome-cli",
author: "Marc-Aurele Besner",
authorUrl: "https://github.com/marc-aurele-besner",
description:
"Hardhat made awesome with a flexible CLI to help run tests, scripts, deploy Mock contracts and more.",
tags: ["CLI", "Testing", "Tasks", "Config"],
},
{
name: "hardhat-test-utils",
author: "Naveen Sahu",
authorUrl: "https://twitter.com/heyNvN",
description:
"Handy set of utilities for testing contracts in Hardhat projects",
tags: ["testing", "solidity"],
},
{
name: "@0xweb/hardhat",
author: "Alex Kit",
authorUrl: "https://github.com/tenbits",
description: "Generate 0xWeb classes for contracts to easily communicate with the blockchain.",
tags: ["dApp-Client", "Class-Generation", "Testing"],
},
];
module.exports.officialPlugins = [
{
name: "@nomiclabs/hardhat-ethers",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Injects ethers.js into the Hardhat Runtime Environment",
tags: ["Ethers.js", "Testing", "Tasks", "Scripts"],
},
{
name: "@nomiclabs/hardhat-waffle",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description:
"Adds a Waffle-compatible provider to the Hardhat Runtime Environment and automatically initializes the Waffle Chai matchers",
tags: ["Waffle", "Testing"],
},
{
name: "@nomiclabs/hardhat-truffle4",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Integration with TruffleContract from Truffle 4",
tags: ["Truffle", "Testing"],
},
{
name: "@nomiclabs/hardhat-truffle5",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Integration with TruffleContract from Truffle 5",
tags: ["Truffle", "Testing"],
},
{
name: "@nomiclabs/hardhat-web3",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Injects Web3 1.x into the Hardhat Runtime Environment",
tags: ["Web3.js", "Testing", "Tasks", "Scripts"],
},
{
name: "@nomiclabs/hardhat-web3-legacy",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Injects Web3 0.20.x into the Hardhat Runtime Environment",
tags: ["Web3.js", "Legacy", "Testing", "Tasks", "Scripts"],
},
{
name: "@nomiclabs/hardhat-etherscan",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Automatically verify contracts on Etherscan",
tags: ["Etherscan", "Verification"],
},
{
name: "@nomiclabs/hardhat-ganache",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Hardhat plugin for managing Ganache",
tags: ["Ganache", "Testing network"],
},
{
name: "@nomiclabs/hardhat-solpp",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description:
"Automatically run the solpp preprocessor before each compilation",
tags: ["Solpp", "Preprocessor"],
},
{
name: "@nomiclabs/hardhat-solhint",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Easily run solhint to lint your Solidity code",
tags: ["Solhint", "Linter"],
},
{
name: "@nomiclabs/hardhat-vyper",
author: "Nomic Labs",
authorUrl: "https://twitter.com/nomiclabs",
description: "Adds support to compile Vyper smart contracts",
tags: ["Vyper", "Compiler"],
},
// Don't add community plugins here. They should be placed in the other array.
].map((p) => ({
...p,
normalizedName: p.name.split("/").join("-").replace(/^@/, ""),
}));