coinyecoind - The OG Wallet


This page provides some documentation about the OG Coinye wallet. The Bitye versions might have slightly different commands etc. It's an old wallet, forked from Litecoin in 2014; Litecoin itself forked from Bitcoin in 2011. So Coinye is *very* closely related to both Bitcoin and Litecoin. The source code is written to be read and understood, so the repository itself is the ultimate documentation.

Daemon commands

In the graphical client, you can issue commands directly under Help -> Debug Window -> Console. If you're only running the daemon (without the gui), you can directly issue commands from the CLI, like so:

$ ./coinyecoind [command] [parameters]


$ ./coinyecoind getinfo

To see a full list of commands, use the "help" command

$ ./coinyecoind help

addmultisigaddress <nrequired> <'["key","key"]'> [account]
backupwallet <destination>
createrawtransaction [{"txid":txid,"vout":n},...] {address:amount,...}
decoderawtransaction <hex string>
dumpprivkey <coinyecoinaddress>
encryptwallet <passphrase>
getaccount <coinyecoinaddress>
getaccountaddress <account>
getaddressesbyaccount <account>
getbalance [account] [minconf=1]
getblock <hash>
getblockhash <index>
getblocktemplate [params]
getnetworkhashps [blocks]
getnewaddress [account]
getrawtransaction <txid> [verbose=0]
getreceivedbyaccount <account> [minconf=1]
getreceivedbyaddress <coinyecoinaddress> [minconf=1]
gettransaction <txid>
getwork [data]
getworkex [data, coinbase]
help [command]
importprivkey <coinyecoinprivkey> [label]
listaccounts [minconf=1]
listreceivedbyaccount [minconf=1] [includeempty=false]
listreceivedbyaddress [minconf=1] [includeempty=false]
listsinceblock [blockhash] [target-confirmations]
listtransactions [account] [count=10] [from=0]
listunspent [minconf=1] [maxconf=999999]
move <fromaccount> <toaccount> <amount> [minconf=1] [comment]
sendfrom <fromaccount> <tocoinyecoinaddress> <amount> [minconf=1] [comment] [comment-to]
sendmany <fromaccount> {address:amount,...} [minconf=1] [comment]
sendrawtransaction <hex string>
sendtoaddress <coinyecoinaddress> <amount> [comment] [comment-to]
setaccount <coinyecoinaddress> <account>
setgenerate <generate> [genproclimit]
setmininput <amount>
settxfee <amount>
signmessage <coinyecoinaddress> <message>
signrawtransaction <hex string> [{"txid":txid,"vout":n,"scriptPubKey":hex},...] [<privatekey1>,...] [sighashtype="ALL"]
validateaddress <coinyecoinaddress>
verifymessage <coinyecoinaddress> <signature> <message>


Commands are not to be confused with options. Like commands, they can also be issued by putting them after the executable name, like so:

./coinyecoind -port=44333
Note that typically, options are things that can't be changed during run-time. So unlike commands, they can't be issued in the console in the debug window, or issued to an already running daemon. To get the full list from below, use the "-?" option like so:
$ ./coinyecoind -?

  coinyecoind [options]
  coinyecoind [options] <command> [params]  Send command to -server or coinyecoind
  coinyecoind [options] help                List commands
  coinyecoind [options] help <command>      Get help for a command

  -conf=<file>           Specify configuration file (default: coinyecoin.conf)
  -pid=<file>            Specify pid file (default:
  -gen                   Generate coins
  -gen=0                 Don't generate coins
  -datadir=<dir>         Specify data directory
  -dbcache=<n>           Set database cache size in megabytes (default: 25)
  -dblogsize=<n>         Set database disk log size in megabytes (default: 100)
  -timeout=<n>           Specify connection timeout (in milliseconds)
  -proxy=<ip:port>       Connect through socks proxy
  -socks=<n>             Select the version of socks proxy to use (4-5, default: 5)
  -tor=<ip:port>         Use proxy to reach tor hidden services (default: same as -proxy)
  -dns                   Allow DNS lookups for -addnode, -seednode and -connect
  -port=<port>           Listen for connections on <port> (default: 41338 or testnet: 31338)
  -maxconnections=<n>    Maintain at most <n> connections to peers (default: 125)
  -addnode=<ip>          Add a node to connect to and attempt to keep the connection open
  -connect=<ip>          Connect only to the specified node(s)
  -seednode=<ip>         Connect to a node to retrieve peer addresses, and disconnect
  -externalip=<ip>       Specify your own public address
  -onlynet=<net>         Only connect to nodes in network <net> (IPv4, IPv6 or Tor)
  -discover              Discover own IP address (default: 1 when listening and no -externalip)
  -irc                   Find peers using internet relay chat (default: 0)
  -listen                Accept connections from outside (default: 1 if no -proxy or -connect)
  -bind=<addr>           Bind to given address. Use [host]:port notation for IPv6
  -dnsseed               Find peers using DNS lookup (default: 1 unless -connect)
  -banscore=<n>          Threshold for disconnecting misbehaving peers (default: 100)
  -bantime=<n>           Number of seconds to keep misbehaving peers from reconnecting (default: 86400)
  -maxreceivebuffer=<n>  Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)
  -maxsendbuffer=<n>     Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)
  -upnp                  Use UPnP to map the listening port (default: 1 when listening)
  -detachdb              Detach block and address databases. Increases shutdown time (default: 0)
  -paytxfee=<amt>        Fee per KB to add to transactions you send
  -mininput=<amt>        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
  -printtoconsole        Send trace/debug info to console instead of debug.log file
  -rpcuser=<user>        Username for JSON-RPC connections
  -rpcpassword=<pw>      Password for JSON-RPC connections
  -rpcport=<port>        Listen for JSON-RPC connections on <port> (default: 41337 or testnet: 31337)
  -rpcallowip=<ip>       Allow JSON-RPC connections from specified IP address
  -rpcconnect=<ip>       Send commands to node running on <ip> (default:
  -blocknotify=<cmd>     Execute command when the best block changes (%s in cmd is replaced by block hash)
  -upgradewallet         Upgrade wallet to latest format
  -keypool=<n>           Set key pool size to <n> (default: 100)
  -rescan                Rescan the block chain for missing wallet transactions
  -checkblocks=<n>       How many blocks to check at startup (default: 2500, 0 = all)
  -checklevel=<n>        How thorough the block verification is (0-6, default: 1)
  -loadblock=<file>      Imports blocks from external blk000?.dat file
  -?                     This help message

SSL options: (see the Bitcoin Wiki for SSL setup instructions)
  -rpcssl                                  Use OpenSSL (https) for JSON-RPC connections
  -rpcsslcertificatechainfile=<file.cert>  Server certificate file (default: server.cert)
  -rpcsslprivatekeyfile=<file.pem>         Server private key (default: server.pem)
  -rpcsslciphers=<ciphers>                 Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)


Also note that most commonly, options will be set in the coinyecoin.conf file. The config file is [datadir]/coinyecoin.conf by default. The datadir itself, is usually ~/.coinyecoin (on Linux; note the dot makes it hidden!) or C:\Users\Username\AppData\Roaming\CoinyeCoin (on Windows). (The actual source code for this is very readable!) Both the datadir and configuration file can be overruled by options, but note that doing this from within a config file, assumes the file is being found and read! When in doubt, specify from the command line!

$ ./coinyecoind -conf="~/coinye_wallet_b/conf_a.conf"


$ ./coinyecoind -datadir="~/coinye_wallet_c"

To load configuration from ~/coinye_wallet_c/coinyecoin.conf. A typical configuration file would look something like this:

server=1 daemon=1 port=41339 # If you need RPC for mining or something else: rpcuser=coinye rpcpassword=dontusethispassword rpcport=22555 rpcallowip=192.168.0.* # Add some nodes, just to get started; see for current nodes addnode= addnode= addnode= addnode= addnode= addnode= addnode= addnode= addnode= addnode=