Skip to content

chess4pr/giantjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Giantjs is the Giant Contracts Development Kit, which means 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

$ git clone https://github.com/GiantPay/giantjs.git gcdk; cd gcdk 
$ npm install

Build project

$ npm run build 

Quick Usage

Compile your contracts, deploy those contracts to the network.

node dist/giant create contract {ContractName}
node dist/giant deploy {ContractName}

Tests

Run their associated unit tests.

$ npm test 

Autocompile mode

For autocompile mode open new terminal window.

$ npm run watch 

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

About

The Giant Contracts Development Kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%