Last active
August 29, 2015 14:16
-
-
Save matthieu/e4d139ada2419b4ed5fb to your computer and use it in GitHub Desktop.
Decrypts and send the send_a_candy JSON to BlockCypher to create a microtransaction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
openssl enc -d -aes-256-cbc -base64 -in send_a_candy.json.aes256 2>&1 | \ | |
curl -H "Content-Type: application/json" -d @- https://api.blockcypher.com/v1/btc/main/txs/micro?to_address=$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment