1.0.7 • Published 12 months ago

@bifproject/hardhat-bif-compile v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

hardhat-compile-bif

Hardhat plugin to develop smart contracts with bif solidity compiler.

plugin bindings for the bif Solidity compiler.

What

This plugin adds support for bif solidity compiler to Hardhat. Once installed, bif solidity contracts can be compiled by running the compile task. The existing solidity plugin functionality will no longer be available.

The current plug-in supports only the BF-Compiler version v0.8.21. And continue to update.

Installation

First, you need to install the plugin by running

npm install @bifproject/hardhat-bif-compile

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

require("@bifproject/hardhat-bif-compile");

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

import "@bifproject/hardhat-bif-compile";

Required plugins

No plugins dependencies.

Tasks

This plugin creates no additional tasks.

Environment extensions

This plugin does not extend the Hardhat Runtime Environment.

Configuration

This plugin adds an optional solidity entry to Hardhat's config, which lets you specify the solidity version to use.

This is an example of how to set it:

module.exports = {
  solidity: "0.8.21",
};

Usage

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

Test directives

The following contract files can be used to test the usability of the BIF-Compiler. The procedure is the same as the original solidity contract compilation

Example:

pragma solidity ^0.8.20;

contract MyContract {
    address a = did:bid:efHQin9bi9s747KaePMdMFZ3mRVzV5a5;
}
1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago