Bitcoin Forum

Bitcoin => Electrum => Topic started by: ned.ryerson on May 31, 2014, 06:30:23 PM



Title: Send payments programmatically
Post by: ned.ryerson on May 31, 2014, 06:30:23 PM
Hi.  I have a vanity address that I've generated with vanitygen.  I am able to import it into my Electrum wallet using importprivkey.  Is there a way that I can externally invoke the "payto" command?  I've tried on windows, but it just hangs.  Would "./electrum -1 -w <wallet_file> -F <vanity_addr> -f <fee_amt> <to_addr> <amount>" work on Linux/Unix?

Also, what is the denomination of <amount> and <fee_amt>?  Is it BTC or satoshi?


Title: Re: Send payments programmatically
Post by: dabura667 on June 01, 2014, 08:59:07 AM
https://github.com/spesmilo/electrum/blob/master/electrum#L359

It looks like you can just use the paytomany arg in there.