@celo/celocli
CLI Tool for transacting with the Celo protocol
Last updated a month ago by nambrot .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @celo/celocli 
SYNC missed versions from official npm registry.

celocli

Tool for interacting with the Celo Protocol.

Development

Build

Use yarn build:sdk <NETWORK> to build the sdk for the target environment (CLI dependency).

Use yarn build to compile the CLI.

Generate docs

Use yarn docs to populate packages/docs with generated documentation. Generated files should be checked in, and CI will fail if CLI modifications cause changes in the docs which were not checked in.

See @celo/dev-cli for how we customize doc generation.

Known build issues on Linux

I'm getting the follow error: Cannot find module '@celo/contractkit'.

A possible solution is to build the monorepo manually. Go to the celo-monorepo root directory and

> yarn build

If all works well, navigate to packages/cli.

I've got the cli built successfully but the running the cli yields: Error: Returned values aren't valid, did it run Out of Gas?.

When running the cli against a full node, this can mean that the contract artifacts are out of date. Solution: switch to the alfajores branch and build the celo-monorepo.

Go to the celo-monorepo root directory and

> git checkout alfajores
> yarn
> yarn build
> cd packages/cli
> ./bin/run account:balance $CELO_ACCOUNT_ADDRESS

Current Tags

  • 0.0.35-baklava2                                ...           13b56152faf0ec092da2f186c28a33 (4 months ago)
  • 0.0.34-beta1                                ...           18336d1b986cdfd4b35ec0220e12e9 (4 months ago)
  • 0.0.42                                ...           1c34918728520ac32f9fa553958f6d (2 months ago)
  • 0.0.38                                ...           34bb7ca7ad925ad83dbaa368da636e (2 months ago)
  • 0.0.40                                ...           34c5bf5ff5ccb4e1b2938e15203154 (2 months ago)
  • 0.0.33                                ...           6a8986e7d204203057229d55677d2a (5 months ago)
  • 0.0.46                                ...           6ddf9e06fefb75b8f78e2568f4dc58 (a month ago)
  • 0.0.48                                ...           alfajores (a month ago)
  • 0.0.46                                ...           baklava (a month ago)
  • 0.0.39                                ...           def784a60318d5f857a5f4981ea096 (2 months ago)
  • 0.0.43                                ...           eb8a5d32631957616c8584a87068c2 (2 months ago)
  • 0.0.44                                ...           ff83f2d2f5ba4211f271c1ac28d436 (a month ago)
  • 0.0.48                                ...           latest (a month ago)
  • 0.0.48                                ...           rc1 (a month ago)

59 Versions

  • 0.0.48                                ...           a month ago
  • 0.0.47                                ...           a month ago
  • 0.0.46                                ...           a month ago
  • 0.0.44                                ...           a month ago
  • 0.0.43                                ...           2 months ago
  • 0.0.42                                ...           2 months ago
  • 0.0.40                                ...           2 months ago
  • 0.0.39                                ...           2 months ago
  • 0.0.38                                ...           2 months ago
  • 0.0.37                                ...           2 months ago
  • 0.0.36-test1                                ...           2 months ago
  • 0.0.36                                ...           2 months ago
  • 0.0.35-baklava2                                ...           4 months ago
  • 0.0.34-beta1                                ...           4 months ago
  • 0.0.33                                ...           5 months ago
  • 0.0.32-beta3                                ...           6 months ago
  • 0.0.32-beta2                                ...           6 months ago
  • 0.0.32-beta                                ...           6 months ago
  • 0.0.31-beta                                ...           6 months ago
  • 0.0.30-baklavahotfix                                ...           6 months ago
  • 0.0.30-beta9                                ...           6 months ago
  • 0.0.30-beta8                                ...           6 months ago
  • 0.0.30-beta7                                ...           6 months ago
  • 0.0.30-beta6                                ...           6 months ago
  • 0.0.30-beta5                                ...           6 months ago
  • 0.0.32-alpha                                ...           6 months ago
  • 0.0.31-alpha                                ...           6 months ago
  • 0.0.30-beta4                                ...           6 months ago
  • 0.0.30-beta2                                ...           6 months ago
  • 0.0.30-beta                                ...           6 months ago
  • 0.0.30                                ...           6 months ago
  • 0.0.29                                ...           7 months ago
  • 0.0.28                                ...           7 months ago
  • 0.0.27                                ...           8 months ago
  • 0.0.26                                ...           8 months ago
  • 0.0.25                                ...           8 months ago
  • 0.0.24                                ...           8 months ago
  • 0.0.23                                ...           8 months ago
  • 0.0.22                                ...           8 months ago
  • 0.0.21                                ...           8 months ago
  • 0.0.20                                ...           9 months ago
  • 0.0.18                                ...           9 months ago
  • 0.0.17                                ...           10 months ago
  • 0.0.16                                ...           10 months ago
  • 0.0.15                                ...           10 months ago
  • 0.0.14                                ...           10 months ago
  • 0.0.13                                ...           10 months ago
  • 0.0.12                                ...           10 months ago
  • 0.0.11                                ...           10 months ago
  • 0.0.10                                ...           10 months ago
  • 0.0.9                                ...           10 months ago
  • 0.0.8                                ...           10 months ago
  • 0.0.7                                ...           10 months ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Downloads
Today 0
This Week 59
This Month 59
Last Day 0
Last Week 0
Last Month 81
Dependencies (27)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |