|
1 | | - |
2 | | - |
3 | | -Hardhat is an Ethereum development environment for professionals. It facilitates performing frequent tasks, such as running tests, automatically checking code for mistakes or interacting with smart contracts. |
4 | | - |
5 | | -Built by the [Nomic Foundation](https://nomic.foundation/) for the Ethereum community. |
6 | | - |
7 | | ---- |
8 | | - |
9 | | -> 💡 This is the README for Hardhat 3, the new major version of Hardhat. For the previous version (v2), see [this branch](https://github.com/NomicFoundation/hardhat/tree/v2) instead. |
| 1 | + [](https://www.npmjs.org/package/hardhat) [](https://www.gitpoap.io/gh/NomicFoundation/hardhat) |
10 | 2 |
|
11 | 3 | --- |
12 | 4 |
|
13 | | -## Getting started |
14 | | - |
15 | | -To install Hardhat and initialize a new project, run the following command in an empty directory: |
16 | | - |
17 | | -```bash |
18 | | -npx hardhat --init |
19 | | -``` |
20 | | - |
21 | | -This will take you through an interactive setup process to get started. |
22 | | - |
23 | | -## Learn more |
24 | | - |
25 | | -To learn more about Hardhat, check out the [documentation](https://hardhat.org/docs/). |
26 | | - |
27 | | -## Contributing |
28 | | - |
29 | | -Contributions are always welcome! Feel free to open any issue or send a pull request. |
30 | | - |
31 | | -Go to [CONTRIBUTING.md](https://github.com/NomicFoundation/hardhat/blob/main/CONTRIBUTING.md) to learn about how to set up Hardhat's development environment. |
32 | | - |
33 | | - |
34 | | - |
35 | | -<!-- > [!IMPORTANT] --> |
36 | | -<!-- > Wagmi is participating in Gitcoin Grants round 21. Consider <a href="https://explorer.gitcoin.co/#/round/42161/389/74">supporting the project</a>. Thank you. 🙏 --> |
| 5 | +> **🚀 Hardhat 3 alpha release is out! [Learn more.](https://hardhat.org/hardhat3-alpha)** |
37 | 6 |
|
38 | | -<br> |
| 7 | +Hardhat is an Ethereum development environment for professionals. It facilitates performing frequent tasks, such as running tests, automatically checking code for mistakes or interacting with a smart contract. Check out the [plugin list](https://hardhat.org/plugins/) to use it with your existing tools. |
39 | 8 |
|
40 | | -<p align="center"> |
41 | | - <a href="https://wagmi.sh"> |
42 | | - <picture> |
43 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/wagmi/main/.github/logo-dark.svg"> |
44 | | - <img alt="wagmi logo" src="https://raw.githubusercontent.com/wevm/wagmi/main/.github/logo-light.svg" width="auto" height="60"> |
45 | | - </picture> |
46 | | - </a> |
47 | | -</p> |
48 | | - |
49 | | -<p align="center"> |
50 | | - Reactive primitives for Ethereum apps |
51 | | -</p> |
| 9 | +Built by the [Nomic Foundation](https://nomic.foundation/) for the Ethereum community. |
52 | 10 |
|
53 | | -<p align="center"> |
54 | | - <a href="https://www.npmjs.com/package/wagmi"> |
55 | | - <picture> |
56 | | - <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/wagmi?colorA=21262d&colorB=21262d"> |
57 | | - <img src="https://img.shields.io/npm/v/wagmi?colorA=f6f8fa&colorB=f6f8fa" alt="Version"> |
58 | | - </picture> |
59 | | - </a> |
60 | | - <a href="https://scorecard.dev/viewer/?uri=github.com/wevm/wagmi"> |
61 | | - <picture> |
62 | | - <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/ossf-scorecard/github.com/wevm/wagmi?label=openssf+scorecard&style=flat&color=21262d&labelColor=21262d"> |
63 | | - <img src="https://img.shields.io/ossf-scorecard/github.com/wevm/wagmi?label=openssf+scorecard&style=flat&color=f6f8fa&labelColor=f6f8fa" alt="OpenSSF Best Practices"> |
64 | | - </picture> |
65 | | - </a> |
66 | | - <a href="https://www.bestpractices.dev/en/projects/11233"> |
67 | | - <picture> |
68 | | - <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/badge/openssf_best_practices-passing-21262d?labelColor=21262d"> |
69 | | - <img src="https://img.shields.io/badge/openssf_best_practices-passing-f6f8fa?labelColor=f6f8fa" alt="OpenSSF Best Practices"> |
70 | | - </picture> |
71 | | - </a> |
72 | | - <br /> |
73 | | - <a href="https://github.com/wevm/wagmi/blob/main/LICENSE"> |
74 | | - <picture> |
75 | | - <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/wagmi?colorA=21262d&colorB=21262d"> |
76 | | - <img src="https://img.shields.io/npm/l/wagmi?colorA=f6f8fa&colorB=f6f8fa" alt="MIT License"> |
77 | | - </picture> |
78 | | - </a> |
79 | | - <a href="https://www.npmjs.com/package/wagmi"> |
80 | | - <picture> |
81 | | - <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/dm/@wagmi/core?colorA=21262d&colorB=21262d"> |
82 | | - <img src="https://img.shields.io/npm/dm/@wagmi/core?colorA=f6f8fa&colorB=f6f8fa" alt="Downloads per month"> |
83 | | - </picture> |
84 | | - </a> |
85 | | - <a href="https://bestofjs.org/projects/wagmi"> |
86 | | - <picture> |
87 | | - <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/endpoint?colorA=21262d&colorB=21262d&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wevm%2Fwagmi%26since=daily"> |
88 | | - <img src="https://img.shields.io/endpoint?colorA=f6f8fa&colorB=f6f8fa&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wevm%2Fwagmi%26since=daily" alt="Best of JS"> |
89 | | - </picture> |
90 | | - </a> |
91 | | - <a href="https://app.codecov.io/gh/wevm/wagmi"> |
92 | | - <picture> |
93 | | - <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/codecov/c/github/wevm/wagmi?colorA=21262d&colorB=21262d"> |
94 | | - <img src="https://img.shields.io/codecov/c/github/wevm/wagmi?colorA=f6f8fa&colorB=f6f8fa" alt="Code coverage"> |
95 | | - </picture> |
96 | | - </a> |
97 | | -</p> |
| 11 | +Join our [Hardhat Support Discord server](https://hardhat.org/discord) to stay up to date on new releases, plugins and tutorials. |
98 | 12 |
|
99 | 13 | --- |
100 | 14 |
|
101 | | -## Documentation |
| 15 | +> 💡 **The Nomic Foundation is hiring! Check [our open positions](https://www.nomic.foundation/jobs?utm_source=myALpQnzlM).** |
102 | 16 |
|
103 | | -For documentation and guides, visit [wagmi.sh](https://wagmi.sh). |
| 17 | +--- |
| 18 | +# EDR - Ethereum Development Runtime |
104 | 19 |
|
105 | | -## Community |
| 20 | +**EDR**, or **Ethereum Development Runtime** in full, is a library for creating developer tooling on top of the Ethereum Virtual Machine (EVM), such as an EVM debugger or state inspector. EDR provides a performant API, written in Rust, with bindings for the Node API (TypeScript). |
106 | 21 |
|
107 | | -For help, discussion about best practices, or any other conversation that would benefit from being searchable: |
| 22 | +EDR finds its origins in Hardhat but will be a complete rewrite of our Hardhat Network TypeScript code to Rust, incorporating all of the lessons we have learned over the years, and much more to come. |
108 | 23 |
|
109 | | -[Discuss Wagmi on GitHub](https://github.com/wevm/wagmi/discussions) |
| 24 | +## Documentation |
110 | 25 |
|
111 | | -For casual chit-chat with others using the framework: |
| 26 | +On [Hardhat's website](https://hardhat.org) you will find: |
112 | 27 |
|
113 | | -[Join the Wagmi Discord](https://discord.gg/SghfWBKexF) |
| 28 | +- [Guides to get started](https://hardhat.org/getting-started/) |
| 29 | +- [Hardhat Network](https://hardhat.org/hardhat-network/) |
| 30 | +- [Plugin list](https://hardhat.org/plugins/) |
114 | 31 |
|
115 | 32 | ## Contributing |
116 | 33 |
|
117 | | -Contributions to Wagmi are greatly appreciated! If you're interested in contributing to Wagmi, please read the [Contributing Guide](https://wagmi.sh/dev/contributing) **before submitting a pull request**. |
118 | | - |
119 | | -## Sponsors |
| 34 | +Contributions are always welcome! Feel free to open an issue or send a pull request. |
120 | 35 |
|
121 | | -If you find Wagmi useful or use it for work, please consider [sponsoring Wagmi](https://github.com/sponsors/wevm?metadata_campaign=gh_readme_support). Thank you 🙏 |
| 36 | +Go to [CONTRIBUTING.md](./CONTRIBUTING.md) to learn about how to set up Hardhat's development environment. |
122 | 37 |
|
123 | | -<p> |
124 | | - <a href="https://paradigm.xyz"> |
125 | | - <picture> |
126 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-dark.svg"> |
127 | | - <img alt="paradigm logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-light.svg" width="auto" height="70"> |
128 | | - </picture> |
129 | | - </a> |
130 | | - <a href="https://ithaca.xyz"> |
131 | | - <picture> |
132 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/ithaca-dark.svg"> |
133 | | - <img alt="ithaca logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/ithaca-light.svg" width="auto" height="70"> |
134 | | - </picture> |
135 | | - </a> |
136 | | -</p> |
| 38 | +## Feedback, help and news |
137 | 39 |
|
138 | | -<p> |
139 | | - <a href="https://twitter.com/family"> |
140 | | - <picture> |
141 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/family-dark.svg"> |
142 | | - <img alt="family logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/family-light.svg" width="auto" height="50"> |
143 | | - </picture> |
144 | | - </a> |
145 | | - <a href="https://twitter.com/context"> |
146 | | - <picture> |
147 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/context-dark.svg"> |
148 | | - <img alt="context logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/context-light.svg" width="auto" height="50"> |
149 | | - </picture> |
150 | | - </a> |
151 | | - <a href="https://walletconnect.com"> |
152 | | - <picture> |
153 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/walletconnect-dark.svg"> |
154 | | - <img alt="WalletConnect logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/walletconnect-light.svg" width="auto" height="50"> |
155 | | - </picture> |
156 | | - </a> |
157 | | - <a href="https://twitter.com/prtyDAO"> |
158 | | - <picture> |
159 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/partydao-dark.svg"> |
160 | | - <img alt="PartyDAO logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/partydao-light.svg" width="auto" height="50"> |
161 | | - </picture> |
162 | | - </a> |
163 | | - <a href="https://dynamic.xyz"> |
164 | | - <picture> |
165 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/dynamic-dark.svg"> |
166 | | - <img alt="Dynamic logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/dynamic-light.svg" width="auto" height="50"> |
167 | | - </picture> |
168 | | - </a> |
169 | | - <a href="https://sushi.com"> |
170 | | - <picture> |
171 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sushi-dark.svg"> |
172 | | - <img alt="Sushi logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sushi-light.svg" width="auto" height="50"> |
173 | | - </picture> |
174 | | - </a> |
175 | | - <a href="https://stripe.com"> |
176 | | - <picture> |
177 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/stripe-dark.svg"> |
178 | | - <img alt="Stripe logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/stripe-light.svg" width="auto" height="50"> |
179 | | - </picture> |
180 | | - </a> |
181 | | - <a href="https://www.privy.io"> |
182 | | - <picture> |
183 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/privy-dark.svg"> |
184 | | - <img alt="Privy logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/privy-light.svg" width="auto" height="50"> |
185 | | - </picture> |
186 | | - </a> |
187 | | - <a href="https://pancakeswap.finance/"> |
188 | | - <picture> |
189 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pancake-dark.svg"> |
190 | | - <img alt="pancake logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pancake-light.svg" width="auto" height="50"> |
191 | | - </picture> |
192 | | - </a> |
193 | | - <a href="https://celo.org"> |
194 | | - <picture> |
195 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/celo-dark.svg"> |
196 | | - <img alt="celo logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/celo-light.svg" width="auto" height="50"> |
197 | | - </picture> |
198 | | - </a> |
199 | | - <a href="https://rainbow.me"> |
200 | | - <picture> |
201 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/rainbow-dark.svg"> |
202 | | - <img alt="rainbow logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/rainbow-light.svg" width="auto" height="50"> |
203 | | - </picture> |
204 | | - </a> |
205 | | - <a href="https://pimlico.io"> |
206 | | - <picture> |
207 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pimlico-dark.svg"> |
208 | | - <img alt="pimlico logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/pimlico-light.svg" width="auto" height="50"> |
209 | | - </picture> |
210 | | - </a> |
211 | | - <a href="https://zora.co"> |
212 | | - <picture> |
213 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zora-dark.svg"> |
214 | | - <img alt="zora logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zora-light.svg" width="auto" height="50"> |
215 | | - </picture> |
216 | | - </a> |
217 | | - <a href="https://lattice.xyz"> |
218 | | - <picture> |
219 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/lattice-dark.svg"> |
220 | | - <img alt="lattice logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/lattice-light.svg" width="auto" height="50"> |
221 | | - </picture> |
222 | | - </a> |
223 | | - <a href="https://twitter.com/supafinance"> |
224 | | - <picture> |
225 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/supa-dark.svg"> |
226 | | - <img alt="supa logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/supa-light.svg" width="auto" height="50"> |
227 | | - </picture> |
228 | | - </a> |
229 | | - <a href="https://zksync.io"> |
230 | | - <picture> |
231 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zksync-dark.svg"> |
232 | | - <img alt="zksync logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/zksync-light.svg" width="auto" height="50"> |
233 | | - </picture> |
234 | | - </a> |
235 | | - <a href="https://syndicate.io"> |
236 | | - <picture> |
237 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/syndicate-dark.svg"> |
238 | | - <img alt="syndicate logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/syndicate-light.svg" width="auto" height="50"> |
239 | | - </picture> |
240 | | - </a> |
241 | | - <a href="https://reservoir.tools"> |
242 | | - <picture> |
243 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/reservoir-dark.svg"> |
244 | | - <img alt="reservoir logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/reservoir-light.svg" width="auto" height="50"> |
245 | | - </picture> |
246 | | - </a> |
247 | | - <a href="https://linea.build"> |
248 | | - <picture> |
249 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/linea-dark.svg"> |
250 | | - <img alt="linea logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/linea-light.svg" width="auto" height="50"> |
251 | | - </picture> |
252 | | - </a> |
253 | | - <a href="https://uniswap.org"> |
254 | | - <picture> |
255 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/uniswap-dark.svg"> |
256 | | - <img alt="uniswap logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/uniswap-light.svg" width="auto" height="50"> |
257 | | - </picture> |
258 | | - </a> |
259 | | - <a href="https://biconomy.io"> |
260 | | - <picture> |
261 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/biconomy-dark.svg"> |
262 | | - <img alt="biconomy logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/biconomy-light.svg" width="auto" height="50"> |
263 | | - </picture> |
264 | | - </a> |
265 | | - <a href="https://thirdweb.com"> |
266 | | - <picture> |
267 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/thirdweb-dark.svg"> |
268 | | - <img alt="thirdweb logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/thirdweb-light.svg" width="auto" height="50"> |
269 | | - </picture> |
270 | | - </a> |
271 | | - <a href="https://polymarket.com"> |
272 | | - <picture> |
273 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/polymarket-dark.svg"> |
274 | | - <img alt="polymarket logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/polymarket-light.svg" width="auto" height="50"> |
275 | | - </picture> |
276 | | - </a> |
277 | | - <a href="https://routescan.io"> |
278 | | - <picture> |
279 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/routescan-dark.svg"> |
280 | | - <img alt="routescan logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/routescan-light.svg" width="auto" height="50"> |
281 | | - </picture> |
282 | | - </a> |
283 | | - <a href="https://sequence.xyz"> |
284 | | - <picture> |
285 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sequence-dark.svg"> |
286 | | - <img alt="sequence logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/sequence-light.svg" width="auto" height="50"> |
287 | | - </picture> |
288 | | - </a> |
289 | | - <a href="https://gemini.com"> |
290 | | - <picture> |
291 | | - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/gemini-dark.svg"> |
292 | | - <img alt="gemini logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/gemini-light.svg" width="auto" height="50"> |
293 | | - </picture> |
294 | | - </a> |
295 | | -</p> |
| 40 | +[Hardhat Support Discord server](https://hardhat.org/discord): for questions and feedback. |
296 | 41 |
|
297 | | -[Sponsor Wagmi](https://github.com/sponsors/wevm?metadata_campaign=gh_readme_support_bottom) |
| 42 | +[Follow Hardhat on Twitter.](https://twitter.com/HardhatHQ) |
298 | 43 |
|
299 | | -<br /> |
300 | | -<br /> |
| 44 | +## Happy building! |
301 | 45 |
|
302 | | -<a href="https://vercel.com/?utm_source=wevm&utm_campaign=oss"> |
303 | | - <img src="https://www.datocms-assets.com/31049/1618983297-powered-by-vercel.svg" alt="Powered by Vercel" height="35"> |
304 | | -</a> |
305 | | -<br /> |
306 | | -<a href="https://quicknode.com/?utm_source=wevm&utm_campaign=oss"> |
307 | | - <img src="https://raw.githubusercontent.com/wevm/.github/main/content/quicknode-badge.svg" alt="Powered by QuickNode" height="35"> |
308 | | -</a> |
| 46 | +👷♀️👷♂️👷♀️👷♂️👷♀️👷♂️👷♀️👷♂️👷♀️👷♂️👷♀️👷♂️👷♀️👷♂️ |
309 | 47 |
|
0 commit comments