Skip to content

Instantly share code, notes, and snippets.

@matthieu
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save matthieu/e4d139ada2419b4ed5fb to your computer and use it in GitHub Desktop.

Select an option

Save matthieu/e4d139ada2419b4ed5fb to your computer and use it in GitHub Desktop.

Revisions

  1. matthieu revised this gist Mar 11, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion send_a_candy.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    #!/bin/bash
    openssl enc -d -aes-256-cbc -nosalt -base64 -in send_a_candy.json.aes256 2>&1 | \
    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
  2. matthieu created this gist Mar 11, 2015.
    3 changes: 3 additions & 0 deletions send_a_candy.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/bin/bash
    openssl enc -d -aes-256-cbc -nosalt -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