Skip to content

Instantly share code, notes, and snippets.

@thelazier
thelazier / sum_mined.sh
Created October 27, 2016 06:39
Bash script to sum inputs from mining.
#!/bin/bash
# Need following config in dash.conf
## server=1
## rpcuser=AnythingYoulike
## rpcpassword=AnyPassword
#
# Open your wallet and unlock before run the script :)
#
# Suggestion for Loop `while true; do ./sum_mined.sh || break; done`
#
@nmarley
nmarley / conv.rb
Last active August 9, 2017 17:20
Convert Dash BIP32 extended public key version prefix from 'xpub' to 'drkv'
#! /usr/bin/env ruby
# Utility converting BIP32 extended key version bytes
require './dashutil'
xkey = ARGV.shift
pref = ARGV.shift
# xpub661MyMwAqRbcFnEEbFf8idiyo8QGKiqhTujUmaJsDhAEZ82cEQPMq69Y4V27vGc5rJnxsd26kyHpBJDW72YMjntsmASbdBy1awfGMsUvLCa