Skip to content

Instantly share code, notes, and snippets.

View gist:7b2885b3bcc8d5691e76455f2fff4fb6

1. Clone your fork:

git clone <>

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream <git://>
git fetch upstream
View Idena Proof - I rock :fire:
Idena Proof - I rock :fire:

Tezori/Galleon wallet file reader

Stoner19 /
Last active Apr 12, 2019
simple bash script to install and/or update and start a NON-MINING node
if [ -d $HOME/mochimo ];
echo "Mochimo directory already exists, checking for new commits and pulling the latest source";
cd $HOME/mochimo && git pull
echo "Starting gomochi in screen";
cd $HOME/mochimo/bin/ && screen -dmS mochimo ./gomochi d -n
echo "Installing dependencies and pulling latest Mochimo source";
echo "sudo password may be required";
View gist:7f0483cfec52a95c323bedb200777a6a
su -
(input root password)
tar -xzvf boost_1_70_0.tar.gz
cd boost_1_70_0
./b2 install
View gist:3c327896f7bf4cbfb3707e38c07134ef
tar -xvzf openssl-1.0.2a.tar.gz
cd openssl-1.0.2a
./config --prefix=/usr/
sudo make install
View gist:318e254a4a92abeef2d4a9e145f01c63
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Base58ReverseEncoder

Keybase proof

I hereby claim:

  • I am stoner19 on github.
  • I am stoner19 ( on keybase.
  • I have a public key ASBg3tZYOqwmUTfpZcllE4sJSNyEHfT1j3dCKLzF4SnzKgo

To claim this, I am signing this object:

Stoner19 /
Last active Feb 8, 2021
altcoin key recovery using pywallet

These are the steps to properly recover altcoin privkeys if you end up with a corrupt wallet.dat
I was unable to use the otherversion=<version number> for some reason so the idea here is to change the python script to suit the needs of your specific altcoin.
Download pywallet: git clone
Find decimal prefix of your altcoin.
I've successfully used to find my altcoin prefix.
Follow the steps in his wiki in order to determine your address prefix decimal.
You'll need to know your privkey prefix as well which you will also be able to get using the WalletGenerator.
You'll also likely need to find a hex to decimal converter for this.
After finding your altcoin decimal and privkey prefixes, edit the file in your pywallet directory
Change [line 75](

View gist:216dc3b7117d3847c95d1d6bfa00fe3a

uninstall dpkg

sudo apt --purge remove libboost-dev sudo apt --purge remove libboost-all-dev sudo apt --purge autoremove libboost-all-dev

to uninstall the version which we installed from source

sudo rm -rf /usr/lib/libboost_* sudo rm -rf /usr/include/boost