@lifeoftomi/titancli
CLI for Titan
Last updated 2 years ago by lifeoftomi .
Apache 2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @lifeoftomi/titancli 
SYNC missed versions from official npm registry.

Titan-CLI

Command Line Interface for interacting smart contract development on AION


Setup

  • npm i -g

Examples

Unlock an account:

  • titan unlock

Compile a contract:

  • titan compile test/contracts/Example.sol

Deploy a contract:

  • titan deploy test/contracts/Example.sol
  • titan deploy -n Owned test/contracts/Many.sol
  • titan deploy -n Many -p tomisin test/contracts/Many.sol
  • titan deploy -p 5 test/contracts/WithParams.sol

Run a unit test file

  • titan test test/contracts/testExample.js

Generate a React dApp

  • titan init

Lint a smart contract

  • titan lint test/contracts/Bad.sol

Launch a web3-ready console on your node

  • titan console

Instructions

  • titan --help

Current Tags

  • 0.0.1                                ...           latest (2 years ago)

1 Versions

  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 2
Dependencies (10)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |