I hereby claim:
- I am matthieu on github.
- I am mriou (https://keybase.io/mriou) on keybase.
- I have a public key whose fingerprint is 45B8 A602 A54E FB5E 0DEC 4970 E272 A45F 78F3 61CB
To claim this, I am signing this object:
package spike | |
import util.Random | |
class Neuron(nm: String, ns: List[Neuron], rnd: Random) { | |
val (a, b, rate) = (1.7159, 2.0/3.0, 0.1) | |
val dendrites = connect(ns) | |
val name = nm | |
// need to remember output and gather error for training |
package dyn; | |
import org.objectweb.asm.*; | |
import org.objectweb.asm.util.TraceClassVisitor; | |
import sun.dyn.anon.AnonymousClassLoader; | |
import java.io.PrintWriter; | |
public class Indy implements Opcodes { |
# 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 | |
{ |
<!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"> |
{ | |
"from_private": "da01587298ff1721a968539e87329abe18f9b20cb46124eb650671662d3acd1a", | |
"value_satoshis": 2000000, | |
"token": "37048cd01f250eca918ab55b658de3ec" | |
} |
$ curl -X POST https://api.blockcypher.com/v1/btc/main/addrs | |
{ | |
"private": "da01587298ff1721a968539e87329abe18f9b20cb46124eb650671662d3acd1a", | |
"public": "02d47eaaca7f9b96a977c996396d1668a729155c02a18a37429ca5be9cfda91893", | |
"address": "1PjfjXBM4GQs8FaNFESiUZzQwVxMHXdBXG", | |
"wif": "L4XV4V5ACQmrtJn7ombma3sdqNrn1T9FFfwjLUaHVmd7Qz5iNHTt" | |
} |
$ openssl enc -aes-256-cbc -base64 -in send_a_candy.json -out send_a_candy.json.aes256 |
#!/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 |
I hereby claim:
To claim this, I am signing this object:
# create the transaction | |
$ curl -d '{"inputs": [{"addresses": ["mtWg6ccLiZWw2Et7E5UqmHsYgrAi5wqiov"]}], | |
"outputs":[{"addresses": ["mzUqjgiGc3Mqh5zMiP5vXDNd7Hwx3K1xCU"], "value": 25000}]}' \ | |
https://api.blockcypher.com/v1/btc/test3/txs/new?includeToSignTx=true | |
{ | |
"tx": { | |
"block_height": -1, | |
"hash": "568acff13300b471d384e16a1a6d449be704e97b819f051dc4f1fb246726e471", | |
"addresses": [ | |
"mzUqjgiGc3Mqh5zMiP5vXDNd7Hwx3K1xCU", |