Is there any method/commands to be able to send payments from Spreadcoin wallet purely using command line?
I run a daemon of the wallet/node and wish to send payments using a script.
Anyone able assist with this?
spreadcoind help
...
sendfrom [minconf=1] [comment] [comment-to]
sendmany {address:amount,...} [minconf=1] [comment]
sendrawtransaction
sendtoaddress [comment] [comment-to]
...Cheers
Graham
Hey Graham,
Interestingly, that's not in my spreadcoind help, nor do any of those commands work on my daemon - which was compiled from source on ubuntu from the most recent source. I'm a bit confused at this.
Here is what my help says:
Options:
-? This help message
-conf= Specify configuration file (default: spreadcoin.conf)
-pid= Specify pid file (default: spreadcoind.pid)
-gen Generate coins (default: 0)
-datadir=
Specify data directory
-dbcache= Set database cache size in megabytes (default: 25)
-timeout= Specify connection timeout in milliseconds (default: 5000)
-proxy= Exclusively connect through socks proxy
-proxytoo= Also connect through socks proxy
-socks= Select the version of socks proxy to use (4-5, default: 5)
-tor= Use proxy to reach tor hidden services (default: same as -proxy)
-dns Allow DNS lookups for -addnode, -seednode and -connect
-port= Listen for connections on (default: 41678 or testnet: 51678)
-maxconnections= Maintain at most connections to peers (default: 125)
-addnode= Add a node to connect to and attempt to keep the connection open
-connect= Connect only to the specified node(s)
-seednode= Connect to a node to retrieve peer addresses, and disconnect
-externalip= Specify your own public address
-onlynet= Only connect to nodes in network (IPv4, IPv6 or Tor)
-discover Discover own IP address (default: 1 when listening and no -externalip)
-checkpointenforce Only accept block chain matching checkpoints issued by the Auto-Checkpoint systems Master Node (default: 1)
-checkpoints Only accept block chain matching built-in checkpoints (default: 1)
-listen Accept connections from outside (default: 1 if no -proxy or -connect)
-bind= Bind to given address and always listen on it. Use [host]:port notation for IPv6
-dnsseed Find peers using DNS lookup (default: 1 unless -connect)
-banscore= Threshold for disconnecting misbehaving peers (default: 100)
-bantime= Number of seconds to keep misbehaving peers from reconnecting (default: 86400)
-maxreceivebuffer= Maximum per-connection receive buffer, *1000 bytes (default: 5000)
-maxsendbuffer= Maximum per-connection send buffer, *1000 bytes (default: 1000)
-bloomfilters Allow peers to set bloom filters (default: 1)
-upnp Use UPnP to map the listening port (default: 0)
-paytxfee= Fee per KB to add to transactions you send
-mininput= When creating transactions, ignore inputs with value less than this (default: 0.0001)
-daemon Run in the background as a daemon and accept commands
-testnet Use the test network
-debug Output extra debugging information. Implies all other -debug* options
-debugnet Output extra network debugging information
-logtimestamps Prepend debug output with timestamp (default: 1)
-shrinkdebugfile Shrink debug.log file on client startup (default: 1 when no -debug)
-printtoconsole Send trace/debug info to console instead of debug.log file
-rpcuser= Username for JSON-RPC connections
-rpcpassword= Password for JSON-RPC connections
-rpcport= Listen for JSON-RPC connections on (default: 41677 or testnet: 51677)
-rpcallowip= Allow JSON-RPC connections from specified IP address
-rpcsimple Start simple RPC for mining, doesn't require username and password
-rpcconnect= Send commands to node running on (default: 127.0.0.1)
-rpcthreads= Set the number of threads to service RPC calls (default: 4)
-blocknotify= Execute command when the best block changes (%s in cmd is replaced by block hash)
-walletnotify= Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)
-alertnotify= Execute command when a relevant alert is received (%s in cmd is replaced by message)
-upgradewallet Upgrade wallet to latest format
-keypool= Set key pool size to (default: 100)
-rescan Rescan the block chain for missing wallet transactions
-salvagewallet Attempt to recover private keys from a corrupt wallet.dat
-checkblocks= How many blocks to check at startup (default: 288, 0 = all)
-checklevel= How thorough the block verification is (0-4, default: 3)
-txindex Maintain a full transaction index (default: 0)
-addrindex Maintain address index (default: 0)
-loadblock= Imports blocks from external blk000??.dat file
-reindex Rebuild block chain index from current blk000??.dat files
-par= Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)