Skip to content

Instantly share code, notes, and snippets.

@justinmoon
Created January 23, 2020 22:04
Show Gist options
  • Save justinmoon/2bbfc55920a8a5d7fd05a066ea942556 to your computer and use it in GitHub Desktop.
Save justinmoon/2bbfc55920a8a5d7fd05a066ea942556 to your computer and use it in GitHub Desktop.
secret = open("secret.txt")
key = PrivateKey(secret)
tx = key.create_transaction([
("1Q2TWHE3GMdB6BZKafqwxXtWAWgFt5Jvm3", 1, 'btc'
])
broadcast(tx)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment