Skip to content

Manage lotus-miner addresses without running lotus-miner

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Holon-Innovations/miner-addr-ctl

Repository files navigation

mineraddrctl

CI

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

About

Manage lotus-miner addresses without running lotus-miner

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks