Skip to content

Misc scripts for working with Verus Coin

License

Notifications You must be signed in to change notification settings

zzpajk/VerusExtras

 
 

Repository files navigation

VerusExtras

Misc scripts for working with Verus Coin

All of these scripts have been at least lightly tested, but come with no warranty whatsoever for any purpose. Use at your own risk.

See comments at the top of each script for usage information.

simple-staker.sh

Simple staker shields coinbases to a private address, then moves available private address balances to public addresses (randomly selected from those available, creating new addresses if necessary) for staking. This script can be run manually, set up as a cron job, or used with the blocknotify parameter to execute every X blocks (not recommended if you're still syncing the chain).

sendmessage.sh

Sendmessage will send an encrypted private message using the memo field of a private transaction. It costs a fee to send, and sends a small amount of Verus to the receipient, both of these amounts are configurable.

getmessages.sh

Getmessages lists memo fields of all transactions received at a particular private address. It's simple and bare-bones, but does the job.

chunksend.sh

Send funds to the specified address in separate transactions of the desired size - useful for managing the size of UTXOs, such as for staking.

decodeunlockheight.py

Takes the script hex for a timelocked transaction and returns the block number at which that TX will unlock.

fetchtx.sh

Takes a TXID as the first argument and returns full TX data, including for transactions that aren't associated with addresses in the local wallet. This is just a wrapper for RPC functions.

fetchutxos.sh

Takes an address as the first argument and returns all UTXOs for that address. Just used to simplify syntax of the corresponding RPC call.

Misc Notes

If you're working with wallet files, particularly dumps containing plain-text private keys, I highly recommend tomb for keeping your work safe.

About

Misc scripts for working with Verus Coin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 88.1%
  • PowerShell 6.8%
  • Python 5.1%