gcdk
The Giant Contracts Development Kit
Last updated a year ago by giantdev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gcdk -g
SYNC missed versions from official npm registry.

giantjs is a development environment and testing framework for Giant Contracts. With giantjs, you get:

  • Built-in smart contract compilation, linking and deployment management.
  • Automated contract testing with Mocha and Chai.
  • Configurable build pipeline with support for custom build processes.
  • Scriptable deployment & migrations framework.
  • Network management for deploying to many public & private networks.
  • Interactive console for direct contract communication.
  • Instant rebuilding of assets during development.
  • External script runner that executes scripts within a giantjs environment.

Install

$ npm install -g giantjs

Quick Usage

For a default set of contracts and tests, run the following within an empty project directory:

$ giantjs init

From there, you can run giantjs compile, giantjs migrate and giantjs test to compile your contracts, deploy those contracts to the network, and run their associated unit tests.

giantjs comes bundled with a local development blockchain server that launches automatically when you invoke the commands above.

Documentation

The basic ideas on which the work of giantjs is based are described in Giant Contracts White Paper

Please see the official giantjs documentation for guides, tips, and examples.

Development

We welcome pull requests. To get started, just fork this repo, clone it locally, and run:

# Install
npm install -g yarn
yarn

# Test
npm test

License

MIT

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 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 3
Dependencies (25)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |