Skip to content

Instantly share code, notes, and snippets.

@buzzkillb
Created July 4, 2020 06:26
Show Gist options
  • Save buzzkillb/483e607c930b783a0d77251732d21104 to your computer and use it in GitHub Desktop.
Save buzzkillb/483e607c930b783a0d77251732d21104 to your computer and use it in GitHub Desktop.
#!/bin/bash
#Convert seed.txt into dumpwallet.txt to import into QT/daemon
#requires seed.txt generated from bip39 tool https://iancoleman.io/bip39/
#create by cloning above bip39 tool to run locally
#select coin - DNR, 24 words - click generate
#scroll down to table view, copy and paste as many addresses as you want
#copy that into seed.txt
#run and spits out a dumpwallet.txt, use importwallet dumpwallet.txt to bring your addy's in
#be aware non HD wallets, change addresses may or may not use these addys
#need more testing (obviously copy your seed phrase to get these privkeys whenevers)
#Wallet dump created by bibimbap.sh
timeanddate=$(date --utc +%FT%TZ)
awk -v Timeanddate="$timeanddate" 'NR != 0 { print $4, Timeanddate, "label- #", "addr="$2}' seed.txt > dumpwallet.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment