Hardhat plugin to develop smart contracts with Yul and/or Yul+.
This plugin adds support for Yul and Yul+ to Hardhat. Once installed, Yul contracts can be compiled by running the compile
task.
The Yul compiler is run using the official solc compiler.
The Yul+ compiler is run using the Yul+ transpiler from FuelLabs before being passed to the Yul compiler.
First, you need to install the plugin by running
npm install --save-dev @tovarishfin/hardhat-yul
And add the following statement to your hardhat.config.js
:
require("@tovarishfin/hardhat-yul");
Or, if you are using TypeScript, add this to your hardhat.config.ts
:
import "@tovarishfin/hardhat-yul";
No plugins dependencies.
This plugin creates no additional tasks.
This plugin does not extend the Hardhat Runtime Environment.
At the time, there are no configuration options. This might change in the future.
There are no additional steps you need to take for this plugin to work.
This is mainly working because of TovarishFin and his fork. I merged his work upstream so that the working plugin shows up because of SEO, but if you encounter issues with this plugin please defer to there