Skip to content
Branch: master
Find file History
alcuadrado Beta 7 release (#267)
* Bump core version

* Fix outdated tests

* Bump buidler-ethers version

* Bump buidler-solhint version

* Bump buidler-solpp version

* Bump buidler-web3 version

* Bump buidler-web3-legacy version

* Bump buidler-truffle4 version

* Bump buidler-truffle5 version

* Change lerna.json version to 0.0.0, we don't use that
Latest commit 288d7e8 May 13, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
scripts Import buidler-truffle5 Apr 6, 2019
src Plugin system refactor (#264) May 13, 2019
test Plugin system refactor (#264) May 13, 2019
.env Import buidler-truffle5 Apr 6, 2019
.gitignore
LICENSE [buidler-truffle5] Initial commit Apr 6, 2019
README.md Plugin system refactor (#264) May 13, 2019
package-lock.json Beta 7 release (#267) May 13, 2019
package.json Beta 7 release (#267) May 13, 2019
tsconfig.json Import buidler-truffle5 Apr 6, 2019
tslint.json Import buidler-truffle5 Apr 6, 2019

README.md

npm

buidler-truffle5

Buidler plugin for integration with TruffleContract from Truffle 5

What

This plugin brings to Buidler TruffleContracts from Truffle 5. With it you can call contract() and artifacts.require() like you normally would with Truffle. Interact with your contracts with a familiar API from tasks, scripts and tests.

Required plugins

This plugin requires buidler-web3 as a prerequisite.

Installation

npm install @nomiclabs/buidler-truffle5 @nomiclabs/buidler-web3 web3@1.0.0-beta.37

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

usePlugin("@nomiclabs/buidler-truffle5");

Tasks

This plugin creates no additional tasks.

Environment extensions

An instance of TruffleEnvironmentArtifacts is injected into env.artifacts and the method contract() is injected into the global scope for using in tests.

Usage

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

Install it, run npx buidler test and your Truffle tests should run with no need to make any modifications.

You can’t perform that action at this time.