@cwv/buffle
CWV Chain Smart Contract Test Framework like truffle
Last updated a year ago by brewt .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cwv/buffle 
SYNC missed versions from official npm registry.

buffle


buffle Provide contract compilation, crc20 create call, crc721 create call, etc.

By default, 10 users will be created

Install

$ npm install @cwv/buffle -g

Code structure description

                      
├── accounts                       
│   └── init.js                       
├── config
│   └── default.json                       //Configuration file
├── contracts                              //Contract directory
│   └── testerc21.sol                      //Test contract
├── gulpfile.js
├── keystore                               //keystore Directory, create 10 users by default
│   ├── keystore-0.json
│   ├── keystore-1.json
│   ├── keystore-2.json
│   ├── keystore-3.json
│   ├── keystore-4.json
│   ├── keystore-5.json
│   ├── keystore-6.json
│   ├── keystore-7.json
│   ├── keystore-8.json
│   └── keystore-9.json
├── package-lock.json
├── package.json
├── src
│   └── buffle                       //buffle Source directory
│       ├── accounts.js              //Address, keystore operation
│       ├── contractMock.js          //Contract simulation data
│       ├── contractbuild.js         //Contract compilation
│       ├── cwvmockup.js             //call cwv.js sdk
│       ├── cwvtxtype.js             //Transaction Type
│       ├── deployer.js
│       ├── global.js                //Global cwv.js call settings
│       ├── index.js                 //Entry procedure
│       ├── mocha_preload.js         //mocha test file
│       ├── run.js                   //Running code
│       └── utils.js                 //tools
├── test                             //Test example
│   ├── test.djs
│   ├── testcontract.mjs             //Contract call
│   ├── testcontracttransfer.djs     //Contract call
│   ├── testcrc20.djs                //create crc20,call crc20
│   ├── testcrc721.djs               //create crc721,call crc721
│   ├── testcwvrand.djs              //Random contract call
│   ├── testerc20tokens.djs          //crc20 operation
│   └── testerc21tokens.js           //crc721 operation
└── webpack.buffle.config.js

Current Tags

  • 1.1.0                                ...           latest (a year ago)

2 Versions

  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (29)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |