Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Decrypts and send the send_a_candy JSON to BlockCypher to create a microtransaction
#!/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
You can’t perform that action at this time.