Skip to content

Instantly share code, notes, and snippets.

View gdassori's full-sized avatar
👨‍🏭
Available for proposals.

dax gdassori

👨‍🏭
Available for proposals.
View GitHub Profile
@gdassori
gdassori / proof_of_existence.py
Last active December 25, 2021 12:42
Easy proof of existence with Bitcoin.
#!/usr/bin/env python3
# Proof of existence \ Blockchain Graffiti
import hashlib
import bitcoin # http://github.com/conio/pybitcointools <- this is this dependency
key = hashlib.sha256(b'Change me! I am your private key').digest() # Set your private key
address = bitcoin.privtoaddr(key)
print('\nDeposit Bitcoin here:\n%s\n' % address)
@gdassori
gdassori / blockchain_dns
Last active October 14, 2018 13:52
Verify the Bitcoin Blockchain with DNS queries using Public DNS around the world.
import requests # requests
import bitcoin # pybitcointools
from dns import resolver # dnspython
def get_resolvers():
dns = "https://public-dns.info/nameservers.txt"
lista_dns = requests.get(dns).content.decode()
resolvers = []

Keybase proof

I hereby claim:

  • I am gdassori on github.
  • I am gdassori (https://keybase.io/gdassori) on keybase.
  • I have a public key whose fingerprint is B2D1 D584 258B 20AB D13B A044 B7E4 F0EC F279 F0B1

To claim this, I am signing this object: