Skip to content

Instantly share code, notes, and snippets.

View kaboela's full-sized avatar
🏠
Working from home

kaboela

🏠
Working from home
View GitHub Profile
@kaboela
kaboela / bitcoin_priv_key_address_wif.py
Created January 10, 2022 21:43 — forked from Nikolaj-K/bitcoin_priv_key_address_wif.py
From secret private key to address and WIF - on Bitcoin
"""
Discussed in the video
https://youtu.be/LYN3h5DjeXw
See e.g.
https://allbitcoinprivatekeys.com/1
* For the following we use Bitcoin specification conventions.
* Essentially all those notions were around before and later blockchain
@kaboela
kaboela / btc_scan.py
Created January 10, 2022 21:42 — forked from Nikolaj-K/btc_scan.py
Matching generated private keys against the funded ledger
"""
Script discussed in the video:
https://youtu.be/i2QaBjCvMN4
How to steal all bitcoin (on average 10^-60 of it per day)
This script checks whether a given Bitcoin private key (int) has
funds using a CSV snapshot of the blockchain ledger.
This ordered CSV of currently funded addresses can be downloaded from:
http://addresses.loyce.club/
@kaboela
kaboela / chainparams.cpp
Created November 28, 2021 03:09 — forked from Jolly-Pirate/chainparams.cpp
Calculating Genesis Block
// ... snip ...
#include <arith_uint256.h>
// ... snip ...
class CMainParams : public CChainParams {
public:
CMainParams() {
#!/bin/bash
#
# ./makeitrain.sh bitcoin-qt.crashdump.core
# __ _ _ __ ___ __ ____ ____
# / ( \/ )/ _\ / __)/ _\/ ___(_ )
# ( O ) (/ ( (_ / \___ \ )(
# \__(_/\_\_/\_/\___\_/\_(____/(__)
#
# Donations:
# btc: 34fDhMUkvGVr1s2jQvhwmBfw1xqjstrLed