shard

command module
v0.0.0-...-8e27a68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2018 License: MIT Imports: 1 Imported by: 0

README

Shard

Snap Status

Shard is a light mythril client

Installation (unstable)

snap install --devmode --edge shard

Configuration

You can put a config file in $HOME/.config/.shard.yaml containing your api key. shard.yaml contents:

api-key: <put your api key here>

This way you don't have to put it in the cli every time. Alternatively shard also looks in the current directory for a configuration file if it can't find one in the aforementioned directory.

Usage

As any with any tool, the help command can be very useful

> $ shard                                                                                                                                                                              [±master ●]
Shard is a mythril light client

Usage:
  shard [command]

Available Commands:
  analyze     Analyzes the contract
  help        Help about any command
  version     Print the version number of Shard

Flags:
  -k, --api-key string   The api key to authenticate with. Overrides config value.
      --config string    config file (default is $HOME/.config/.shard.yaml)
  -h, --help             help for shard
  -v, --verbose          Enable verbose logging.

Use "shard [command] --help" for more information about a command.

To analyze a contract execute:

> shard analyze 0x606b...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL