JSPM

  • Created
  • Published
  • 0
  • Score
    100M100P100Q21369F
  • License GPL-3.0

High-level darwinia.js api

Package Exports

  • @darwinia/api

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@darwinia/api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@darwinia/dj

Node.js CI

darwinia.js command-line tools

Usage

Install dj globally

yarn global add @darwinia/dj

Input dj to your command-line.

 𝝺 dj
dj <hello@darwinia.network>

Commands:
  dj balance [address]            Get balance of account address
  dj codec <block>                Get info of recipes
  dj config [edit]                Show config
  dj proposal <block>             Submit a relay proposal to darwinia
  dj relay [number] [batch]       Relay eth header to darwinia
  dj transfer <address> <amount>  Transfer RING to darwinia account
  dj tx <hash>                    Get tx by hash

Options:
  --help, -h     Show help                                             [boolean]
  --version, -V  Show version number                                   [boolean]

LICENSE

GPL-3.0