Skip to content

api wallet cli

Snider edited this page Nov 23, 2021 · 1 revision

Usage: lthn daemon wallet cli

Description:

Wallet CLI

Options:

-h, --help                                   - Show this help.                                                                
--daemon-address                   <string>  - Use daemon instance at :                                           
--daemon-host                      <string>  - Use daemon instance at host  instead of localhost                         
--password                         <string>  - Wallet password (escape/quote as needed)                                       
--password-file                    <string>  - Wallet password file                                                           
--daemon-port                      <string>  - Use daemon instance at port  instead of 48782                             
--daemon-login                     <string>  - Specify username[:password] for daemon RPC client                              
--testnet                                    - For testnet. Daemon must also be launched with --testnet flag                  
--restricted-rpc                             - Restricts to view-only commands                                                
--wallet-file                      <string>  - Use wallet                                                                
--generate-new-wallet              <string>  - Generate new wallet and save it to                                        
--generate-from-view-key           <string>  - Generate incoming-only wallet from view key                                    
--generate-from-keys               <string>  - Generate wallet from private keys                                              
--generate-from-multisig-keys      <string>  - Generate a master wallet from multisig wallet keys                             
--generate-from-json               <string>  - Generate wallet from JSON format file                                          
--upgrade-legacy                   <string>  - Upgrade a pre-rebase .wallet file  to the new format which is compatible  
                                               with this wallet                                                               
--mnemonic-language                <string>  - Language for mnemonic                                                          
--command                          <string>  - run command, hint, use exit to stop auto sync                                  
--restore-deterministic-wallet               - Recover wallet using Electrum-style mnemonic seed                              
--non-deterministic                          - Create non-deterministic view and spend keys                                   
--electrum-seed                    <string>  - Specify Electrum seed for wallet recovery/creation                             
--trusted-daemon                             - Enable commands which rely on a trusted daemon                                 
--allow-mismatched-daemon-version            - Allow communicating with a daemon that uses a different RPC version            
--restore-height                   <string>  - Restore from specific blockchain height                                        
--disable-rpc-login                          - Disable HTTP authentication for RPC connections served by this process         
--log-file                         <string>  - Specify log file                                                               
--log-level                        <string>  - 0-4 or categories                                                              
--max-concurrency                  <string>  - Max number of threads to use for a parallel job                                
--config-file                      <string>  - Config file                                           
Clone this wiki locally