Skip to content

Instantly share code, notes, and snippets.

Stoner19 Stoner19

View GitHub Profile
@Stoner19
Stoner19 / mochi.sh
Last active Apr 12, 2019
simple bash script to install and/or update https://github.com/mochimodev/mochimo and start a NON-MINING node
View mochi.sh
#!/bin/bash
if [ -d $HOME/mochimo ];
then
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
else
echo "Installing dependencies and pulling latest Mochimo source";
echo "sudo password may be required";
View gist:7f0483cfec52a95c323bedb200777a6a
su -
(input root password)
wget http://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.tar.gz
tar -xzvf boost_1_58_0.tar.gz
cd boost_1_58_0
./bootstrap.sh
./bjam install
View gist:3c327896f7bf4cbfb3707e38c07134ef
wget http://www.openssl.org/source/openssl-1.0.2a.tar.gz
tar -xvzf openssl-1.0.2a.tar.gz
cd openssl-1.0.2a
./config --prefix=/usr/
make
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
{
View keybase.md

Keybase proof

I hereby claim:

  • I am stoner19 on github.
  • I am stoner19 (https://keybase.io/stoner19) on keybase.
  • I have a public key ASBg3tZYOqwmUTfpZcllE4sJSNyEHfT1j3dCKLzF4SnzKgo

To claim this, I am signing this object:

@Stoner19
Stoner19 / AltCoin_privkey_recovery.md
Last active Sep 21, 2017
altcoin key recovery using pywallet
View AltCoin_privkey_recovery.md

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 https://github.com/jackjack-jj/pywallet.git
Find decimal prefix of your altcoin.
I've successfully used https://github.com/MichaelMure/WalletGenerator.net 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 pywallet.py file in your pywallet directory
Change [line 75](https://github.com/jackjack-jj/pywall

View gist:216dc3b7117d3847c95d1d6bfa00fe3a
git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git pull upstream master
git push
View Crypto-Exchange Visualizer.markdown
You can’t perform that action at this time.