Socket
Socket
Sign inDemoInstall

@colony/colony-cli

Package Overview
Dependencies
546
Maintainers
7
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @colony/colony-cli

A command line tool for building with Colony


Version published
Weekly downloads
2
Maintainers
7
Created
Weekly downloads
 

Readme

Source

colony-cli

The colony-cli package is a command line tool for building colonyStarter packages and running services such as Ganache, Truffle, and Trufflepig to assist with local development alongside the colonyNetwork smart contracts.

Prerequisites

  • Node >=10.12.0
  • Yarn >=1.12.0
  • Docker >=18.09.0

You may find it helpful to use Node Version Manager (nvm) to manage Node versions.

If you are using Linux, check out Linux Setup to ensure Yarn and Docker are set up accordingly.

Install

Install the colony-cli package globally:

yarn global add @colony/colony-cli

Commands

build

Build colonyStarter packages:

colony build [package-name]

service

Start a local test network with Ganache:

colony service start-ganache

Start a local test network with Ganache using --noVMErrorsOnRPCResponse:

colony service start-ganache --noVMErrorsOnRPCResponse

Deploy the colonyNetwork smart contracts:

colony service deploy-contracts

Deploy a specific version of the colonyNetwork smart contracts:

colony service deploy-contracts --specific develop

Serve truffle contract data with TrufflePig:

colony service start-trufflepig

Seed the network with global skills:

colony service seed-network

Create a test colony:

colony service colony-setup

Run Truffle commands:

colony service truffle [develop/compile/migrate/test]

Keywords

FAQs

Last updated on 21 May 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc