mineraddrctl

command module
v0.0.0-...-d5b0845 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0, MIT Imports: 16 Imported by: 0

README

mineraddrctl

Utility program to assist with controlling miner owner, worker, and control addresses.

Basically, by passing in the miner actor address you can avoid the requirement to have the miner running when performing the following operations:

  • Change owner address
  • Change worker address
  • Set control addresses

Usage

The environment variables LOTUS_API and LOTUS_TOKEN need to set to the appropriate values for your setup.

$ mineraddrctl -h
NAME:
   mineraddrctl - manage miner addresses

USAGE:
   mineraddrctl [global options] command [command options] [arguments...]

COMMANDS:
   owner    
   worker   
   control  
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)

Example

To start an owner transfer, run the following command:

$ mineraddrctl owner transfer --really-do-it --miner f012345 <new_owner_addr> <current_owner_addr>

Credit

Most of the code here is taken from Lotus and has just been rearranged for better UX.

License

Dual-licensed under MIT + Apache 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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