Skip to content

An enhanced & working Hardhat plugin for yul and yulp

License

Notifications You must be signed in to change notification settings

TovarishFin/hardhat-yul

 
 

Repository files navigation

hardhat-yul

npm hardhat

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 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";

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 ControlCplusControlV's work which no longer seems to be working. There are no tests for this plugin and there are no plans for it :)

About

An enhanced & working Hardhat plugin for yul and yulp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%