0.0.11 • Published 19 days ago

ten-hardhat-plugin v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
19 days ago

Ten Connection Plugin

This is the Ten protocol connection plugin for Hardhat written in typescript.

Setup

To use the plugin you can run the following command:

npm install ten-hardhat-plugin

Note that the plugin has minimum requirements for the hardhat peer dependency version as older versions do not have the ability to override the web3 provider.

Once the dependency is installed you can just import it with:

import 'ten-hardhat-plugin'

This will add new options to the network config and run the plugin on startup whenever the target network is obscuro one. Note that the plugin scans the URL automatically. If you want to stop this behaviour you should set:

network {
  "useGateway":false
}

Installation

To start working on your project, just run

npm install

Testing the plugin during local development

First compile the plugin's typescript:

npm run build

And then go to the dist folder and create an npm sym link:

cd ./dist
npm link

Then in your project where you want to import the dev version of the plugin do:

npm link ../path/to/plugin/folder
0.0.10

19 days ago

0.0.11

19 days ago

0.0.9

2 months ago

0.0.8

3 months ago

0.0.7

3 months ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.6

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

5 months ago