titan-suite / cli

CLI for Titan Suite
https://titan-suite.com
Apache License 2.0
14 stars 1 forks source link
aion aionnetwork blockchain cli ethereum smart-contracts solidity titan-suite typescript

Titan CLI

The complete Smart Contract development CLI

oclif Version CircleCI

Downloads/week License Chat

Usage

npm i -g @titan-suite/cli

module.exports = {
  defaultBlockchain: "aion",
  blockchains: {
    aion: {
      networks: {
        development: {
          host: "http://TITAN.DEV.NODE",
          defaultAccount: "",
          password: ""
        },
        mainnet: {
          host:
            "http://api.nodesmith.io/v1/aion/mainnet/jsonrpc?apiKey=API_KEY",
          defaultAccount: "",
          password: ""
        },
        testnet: {
          host:
            "https://api.nodesmith.io/v1/aion/testnet/jsonrpc?apiKey=API_KEY",
          defaultAccount: "",
          password: ""
        }
      }
    },
    ethereum: {
      networks: {
        development: {
          host: "http://127.0.0.1:8545",
          defaultAccount: "",
          password: ""
        }
      }
    }
  }
};

Commands

Help

You can also run titan <command> --help for more details about the command

titan compile

Compile a Solidity smart contract

titan console

Interact with an AION node with an injected aion-web3 instance

titan create

Create a new contract or test file

titan deploy

Deploy a smart contract to an AION node

titan exec

Run Javascript files within your project

titan init

Generate an empty Titan project

titan lint

Lint a smart contract

titan migrate

titan networks

titan test

Run unit tests

titan unlock

Unlock an account

You may be prompted to enter an AION address and/or password

titan unpack

Start a new project with a pre-built dApp


Test

Community

Join us on Gitter