Skip to content

Instantly share code, notes, and snippets.

Matthieu Riou matthieu

Block or report user

Report or block matthieu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@matthieu
matthieu / eth-split
Last active Jul 27, 2016
Calling the Ethereum splitting contract using BlockCypher
View eth-split
# Contract at:
# https://api.blockcypher.com/v1/eth/main/contracts/aa1a6e3e6ef20068f7f8d8c835d2d22fd5116444?token=$TOKEN
# http://etherscan.io/address/0xaa1a6e3e6ef20068f7f8d8c835d2d22fd5116444#code
# See also https://blog.ethereum.org/2016/07/26/onward_from_the_hard_fork/
$ cat split.json
{
"private": "...",
"gas_amount": 200000,
"params": ["3f071e84604d712ee034d776ed8f6405e1444c48", "34de916d2afc28564b118a4f2723d0274b223f32"],
@matthieu
matthieu / gist:d78bd39a6709c5be3dcd
Created Mar 7, 2015
Sending op_return transactions with BlockCypher
View gist:d78bd39a6709c5be3dcd
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Block Cypher</title>
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
@matthieu
matthieu / gist:b07c5ba27bc99188a15f
Last active Sep 21, 2019
Create and send a Bitcoin transaction using the BlockCypher Transaction API
View gist:b07c5ba27bc99188a15f
# In this example we're sending some test bitcoins from an address we control to a brand new test
# address. We'll be sending the coins using the following address, public and private keys (please
# don't abuse).
# address : mtWg6ccLiZWw2Et7E5UqmHsYgrAi5wqiov
# public : 03bb318b00de944086fad67ab78a832eb1bf26916053ecd3b14a3f48f9fbe0821f
# private : 1af97b1f428ac89b7d35323ea7a68aba8cad178a04eddbbf591f65671bae48a2
# 1. generate a one-shot dummy address we're going to send money to
$ curl -X POST http://api.blockcypher.com/v1/btc/test3/addrs
{
You can’t perform that action at this time.