Bitcoin Forum
May 02, 2024, 11:51:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Startup parameters for Electrum?  (Read 1096 times)
Vadi2323 (OP)
Legendary
*
Offline Offline

Activity: 2044
Merit: 1231


View Profile
March 11, 2016, 07:41:58 AM
 #1

What are the startup parameters for Electrum? I only know -w:
Code:
-w D:\bitcoin\electrum.dat

Are there any more?
1714693889
Hero Member
*
Offline Offline

Posts: 1714693889

View Profile Personal Message (Offline)

Ignore
1714693889
Reply with quote  #2

1714693889
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714693889
Hero Member
*
Offline Offline

Posts: 1714693889

View Profile Personal Message (Offline)

Ignore
1714693889
Reply with quote  #2

1714693889
Report to moderator
shsmith
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
March 12, 2016, 03:25:04 PM
 #2

There are lots of parameters. 
Use electrum --help to get a list. 

Here it is:

Code:
$ electrum --help
usage: electrum [-h] [-v] [-P] [-w WALLET_PATH] <command> ...

positional arguments:
  <command>
    gui                 Run GUI (default)
    daemon              Run Daemon
    addrequest          Create a payment request
    broadcast           Broadcast a transaction to the network
    check_seed          Check that a seed was generated with given entropy
    clearrequests       Remove all payment requests
    commands            List of commands
    create              Create a new wallet
    createmultisig      Create multisig address
    createrawtx         Create a transaction from json inputs
    decrypt             Decrypt a message encrypted with a public key
    deseed              Remove seed from wallet
    deserialize         Deserialize a serialized transaction
    dumpprivkeys        Deprecated
    encrypt             Encrypt a message with a public key
    freeze              Freeze address
    getaddressbalance   Return the balance of any address
    getaddresshistory   Return the transaction history of any address
    getaddressunspent   Returns the UTXO list of any address
    getalias            Retrieve alias
    getbalance          Return the balance of your wallet
    getconfig           Return a configuration variable
    getmasterprivate    Get master private key
    getmerkle           Get Merkle branch of a transaction included in a block
    getmpk              Get master public key
    getprivatekeys      Get private keys of addresses
    getproof            Get Merkle branch of an address in the UTXO set
    getpubkeys          Return the public keys for a wallet address
    getrequest          Return a payment request
    getseed             Get seed phrase
    getservers          Return the list of available servers
    gettransaction      Retrieve a transaction
    getutxoaddress      Get the address of a UTXO
    help
    history             Wallet history
    importprivkey       Import a private key
    ismine              Check if address is in wallet
    listaddresses       List wallet addresses
    listcontacts        Show your list of contacts
    listrequests        List the payment requests you made
    listunspent         List unspent outputs
    make_seed           Create a seed
    notify              Watch an address
    password            Change wallet password
    payto               Create a transaction
    paytomany           Create a multi-output transaction
    restore             Restore a wallet from text
    rmrequest           Remove a payment request
    searchcontacts      Search through contacts, return matching entries
    setconfig           Set a configuration variable
    setlabel            Assign a label to an item
    signmessage         Sign a message with a key
    signrequest         Sign payment request with an OpenAlias
    signtransaction     Sign a transaction
    sweep               Sweep private keys
    unfreeze            Unfreeze address
    validateaddress     Check that an address is valid
    verifymessage       Verify a signature
    version             Return the version of electrum

optional arguments:
  -h, --help            show this help message and exit

global options:
  -v, --verbose         Show debugging information
  -P, --portable        Use local 'electrum_data' directory
  -w WALLET_PATH, --wallet WALLET_PATH
                        wallet path

Run 'electrum help <command>' to see the help for a command
Vadi2323 (OP)
Legendary
*
Offline Offline

Activity: 2044
Merit: 1231


View Profile
March 12, 2016, 03:42:12 PM
 #3

There are lots of parameters. 
Use...

Can you show an example for Windows please? I could not to get results with "-h" in my Windows 8:

shsmith
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
March 12, 2016, 03:57:19 PM
 #4


Can you show an example for Windows please? I could not to get results with "-h" in my Windows 8:

That is odd. I do not see any console output in the windows EXE build of electrum.
If you run electrum from python sources it works.  For example:
Code:
python electrum --help
Lionel
Sr. Member
****
Offline Offline

Activity: 613
Merit: 305


View Profile
August 03, 2017, 08:19:13 PM
 #5


Can you show an example for Windows please? I could not to get results with "-h" in my Windows 8:

That is odd. I do not see any console output in the windows EXE build of electrum.
If you run electrum from python sources it works.  For example:
Code:
python electrum --help


I want to send commands to Electrum via TCP from my script running on the same machine where Electrum is.

If i launch the Python version, can i achieve this? Is the Python version also a daemon ?

P.S. I have Electrum for Windows, do i need Linux for that?
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1562



View Profile
August 03, 2017, 09:46:11 PM
 #6

electrum has a json rpc interface but it isn't well documented. i think it's mostly the commands you see when you type electrum help except you send them to the electrum daemon. and yes electrum help doesn't work on windows.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!