Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cmd = &cobra.Command{ Use: "wallet", Short: "Manage wallet addresses.", } ListCmd = &cobra.Command{ Use: "list", Short: "List all wallet addresses.", Args: cobra.NoArgs, RunE: doList, } ImportCmd = &cobra.Command{ Use: "import", Args: cobra.ExactArgs(1), Short: "Import an address to the wallet.", Long: `Piri expects a delegated filecoin address private key in hex format as a single argument to this command. You can create the required address via lotus using the command: 'lotus wallet new delegated' You can export the wallet from lotus using the command: 'lotus wallet export <FILECOIN_ADDRESS>' > wallet.hex You may then import 'wallet.hex' via this command`, Example: "piri wallet import wallet.hex", RunE: doImport, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.