Skip to content

Instantly share code, notes, and snippets.

View aantonop's full-sized avatar
🤔
curious

Andreas M. Antonopoulos aantonop

🤔
curious
View GitHub Profile
@aantonop
aantonop / gist:7787199
Created December 4, 2013 13:11
A script to find bitcoin addresses in Twitter @mentions (replies) responding to my offer to donate bitcoin.
import tweepy
import time
import re
import pycoin.encoding
import pickle
# Removed security tokens from gist, replaced with XXX.
auth = tweepy.OAuthHandler("XXX", "XXX")
auth.set_access_token('XXX', 'XXX')
@aantonop
aantonop / gist:7796467
Created December 4, 2013 22:06
bitcoin donation list
WouterVanH 1Ba42LUeXhPpXLXxR2W7s9uTXtdDv4ExMc
tomas_hussey 1KUKfpEn1Y1Yt954cA5J5rBqtmWYtBQYBd
Jaimechmea 1P8Sg9ykvttr4SRP4QsXNJRf54hS8ri5v
SonOfEMiL 1GZPB8qhCfWgj8MgNRB4skLRZuJr43q5X7
franmarienhoff 1LixnvJ9bGkudBbTorpzVtNo6uKJa6sjEh
Geeve 1H32dUt1CYwcHPF8SULiiacJL2KohhK1CM
harmvanderven 18u8vLUK2e3fbfTue4qEn1Ev9owuUin97e
Wignallgirl 13sykdxoyGkTLsdjpPZC3pHtgR5nEGKBu9
Tomymehdi 16XRwM2jrFjhsnkmCVYGi7pttqY2t5uf1p
joseignaciosg 1HapWoTsa2rzq6MX14DewPBA7vXkSkGKfx
@aantonop
aantonop / gist:7797465
Created December 4, 2013 23:26
Final list for bitcoin donations via Twitter.
WouterVanH 1Ba42LUeXhPpXLXxR2W7s9uTXtdDv4ExMc
tomas_hussey 1KUKfpEn1Y1Yt954cA5J5rBqtmWYtBQYBd
Jaimechmea 1P8Sg9ykvttr4SRP4QsXNJRf54hS8ri5v
SonOfEMiL 1GZPB8qhCfWgj8MgNRB4skLRZuJr43q5X7
franmarienhoff 1LixnvJ9bGkudBbTorpzVtNo6uKJa6sjEh
Geeve 1H32dUt1CYwcHPF8SULiiacJL2KohhK1CM
harmvanderven 18u8vLUK2e3fbfTue4qEn1Ev9owuUin97e
Treysomes 1P4EMbEy97h7TxK9jMNpWs92Rwviw1LC3B
Wignallgirl 13sykdxoyGkTLsdjpPZC3pHtgR5nEGKBu9
jamesbravin 17jrezWNJPhSAqB2JJHiKwNj5o8PB7erJ9
@aantonop
aantonop / t
Created February 13, 2016 21:10
Verifying that +aantonop is my blockchain ID. https://onename.com/aantonop
### Keybase proof
I hereby claim:
* I am aantonop on github.
* I am aantonop (https://keybase.io/aantonop) on keybase.
* I have a public key whose fingerprint is 2935 FED9 0A92 53B4 CF20 9230 2DD1 C85B 0CA0 F405
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am aantonop on github.
  • I am aantonop (https://keybase.io/aantonop) on keybase.
  • I have a public key whose fingerprint is D79A 75A2 99B6 B419 54F5 FF79 A849 7A59 F1A3 B098

To claim this, I am signing this object:

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Mar 23 15:05:50 ip-172-30-0-66 lnd[7509]: 2018-03-23 15:05:50.458 [ERR] CRTR: Attempt to send payment d3cd5704ab9a83d8b5dfba5b676e5668dd388a535ac5b1792e5fa90bcedc154b failed: FeeInsufficient(fee=82082394 mSAT, update=(lnwire.ChannelUpdate) {
Mar 23 15:05:50 ip-172-30-0-66 lnd[7509]: Signature: (lnwire.Sig) (len=64 cap=64) {
Mar 23 15:05:50 ip-172-30-0-66 lnd[7509]: 00000000 27 2d 2a 07 d5 4f 12 f2 c7 8e 97 c0 ac 93 db 55 |'-*..O.........U|
Mar 23 15:05:50 ip-172-30-0-66 lnd[7509]: 00000010 4a 6d c7 4d 1f 97 cc cf 21 c2 1b d5 82 67 39 e4 |Jm.M....!....g9.|
Mar 23 15:05:50 ip-172-30-0-66 lnd[7509]: 00000020 6f 2e 19 5d a4 20 84 50 e2 2b 68 be 99 09 7f 92 |o..]. .P.+h.....|
Mar 23 15:05:50 ip-172-30-0-66 lnd[7509]: 00000030 6f 98 c6 96 9d b0 d0 71 e3 0b 33 df c5 35 12 be |o......q..3..5..|
Mar 23 15:05:50 ip-172-30-0-66 lnd[7509]: },
Mar 23 15:05:50 ip-172-30-0-66 lnd[7509]: ChainHash: (chainhash.Hash) (len=32 cap=32) 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f,
Mar 23

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

import graphviz as gv
import sys
import json
graph = gv.Graph(format='svg')
lngraph = json.load(sys.stdin)
for node in lngraph['nodes']:
nodename = node['pub_key'][-6:]