Skip to content

Releases: citahub/cita-truffle-box

appchain-truffle-box@v0.2.0

26 Sep 11:24
672d486
Compare
Choose a tag to compare
  • We added the following features to this release

    • [feature] support to choose whether redeploy contract or not
    • [feature] support to deploy contract with arguments and transaction parameters
    • [feature] support link method
    • [update] add some syntax compatibility with truffle
    • [update] config file compatibility with truffle

AppChain-Truffle-Box@0.1.0

14 Aug 12:03
fe6e46f
Compare
Choose a tag to compare

This is the first release of the Truffle Box for Nervos AppChain.

We have customized this box to make it supports several methods for Nervos AppChain. More methods will be supported in the future version.

Supported Methods:

// Deploy a single contract without constructor arguments
deployer.deploy(A);

// Deploy a single contract with constructor arguments
deployer.deploy(A, arg1, arg2, ...);

// Deploy multiple contracts, some with arguments and some without.
// This is quicker than writing three `deployer.deploy()` statements as the deployer
// can perform the deployment as a single batched request.
deployer.deploy([
  [A, arg1, arg2, ...],
  B,
  [C, arg1]
]);