Skip to content

SKYBITDev3/hardhat-yul

This branch is 10 commits ahead of TovarishFin/hardhat-yul:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
-
May 24, 2024
c946c23 · May 24, 2024

History

22 Commits
May 24, 2024
Mar 23, 2024
Oct 6, 2022
Mar 5, 2024
May 24, 2024
Oct 19, 2021
Mar 23, 2024
Oct 6, 2022
Mar 23, 2024
May 24, 2024
Sep 15, 2023
Oct 6, 2022
Oct 6, 2022
May 24, 2024

Repository files navigation

hardhat-yul

npm

Hardhat plugin to develop smart contracts with Yul and/or Yul+.

What

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.

Installation

First, you need to install the plugin and solc by running

yarn add -D @skybit/hardhat-yul solc

And add the following statement to your hardhat.config.js:

require("@skybit/hardhat-yul");

Or, if you are using TypeScript, add this to your hardhat.config.ts:

import "@skybit/hardhat-yul";

Required plugins

No plugins dependencies.

Tasks

This plugin creates no additional tasks.

Environment extensions

This plugin does not extend the Hardhat Runtime Environment.

Configuration

At the time, there are no configuration options. This might change in the future.

Usage

There are no additional steps you need to take for this plugin to work.

Additional notes

This is a fork of @TovarishFin/hardhat-yul which no longer seems to be maintained and is not open for issues.

As of v4.2.0 solc has been made a peer dependency so that whatever version of solc that you choose to install in your own repository will be used to compile the yul files.

About

Compile yul files in Hardhat

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%