Skip to content

Instantly share code, notes, and snippets.

@grubles
grubles / gist:930e113a63ce50cc723779239ca7c371
Created April 23, 2019 18:53
Modified api_data_reader.py for broadcasting *unencrypted* data via Blockstream Satellite
#!/usr/bin/env python
"""
Post data to the Satellite API for transmission via Blockstream Satellite
"""
import os, sys, argparse, textwrap, struct, zlib, requests, json, logging
# import gnupg
from math import ceil
### Keybase proof
I hereby claim:
* I am grubles on github.
* I am notgrubles (https://keybase.io/notgrubles) on keybase.
* I have a public key ASBhxEDCyVnjyAmNiaVY0v_3BSLFrWlPDTL0LI5MWdAZkgo
To claim this, I am signing this object: