1.3.3 • Published 4 years ago

@nomiclabs/buidler-truffle4 v1.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

npm buidler

buidler-truffle4

Buidler plugin for integration with TruffleContract from Truffle 4

What

This plugin brings to Buidler TruffleContracts from Truffle 4. 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.

Additionally, you can migrate your contracts to Solidity 5 without needing to migrate your tests to Truffle 5.

Required plugins

This plugin requires buidler-web3-legacy as a prerequisite.

Installation

npm install --save-dev @nomiclabs/buidler-truffle4 @nomiclabs/buidler-web3-legacy web3@^0.20.7

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

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

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.

TypeScript support

You need to add this to your tsconfig.json's files array: "node_modules/@nomiclabs/buidler-truffle4/src/type-extensions.d.ts"

1.3.3

4 years ago

1.3.3-rc.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.3.0-rc.1

4 years ago

1.3.0-rc.0

4 years ago

1.2.0

4 years ago

1.2.0-rc.4

4 years ago

1.2.0-rc.2

4 years ago

1.2.0-rc.1

4 years ago

1.2.0-rc.3

4 years ago

1.2.0-rc.0

4 years ago

1.1.3-rc.0

4 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.1.0-rc.1

4 years ago

1.1.0-rc.0

4 years ago

1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago

1.0.0-rc.2

5 years ago

1.0.0-beta.13

5 years ago

1.0.0-beta.12

5 years ago

1.0.0-beta.11

5 years ago

1.0.0-beta.10

5 years ago

1.0.0-beta.9

5 years ago

1.0.0-beta.8

5 years ago

1.0.0-beta.7

5 years ago

1.0.0-beta.6

5 years ago

1.0.0-beta.4

5 years ago

1.0.0-beta.3

5 years ago

1.0.0-beta.1

5 years ago

1.0.0-alpha.5

5 years ago

1.0.0-alpha.4

5 years ago

1.0.0-alpha.3

5 years ago

1.0.0-alpha.2

5 years ago