This file contains 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
# the compiler: gcc for C program, define as g++ for C++ | |
CC = g++ | |
INCLUDEDIR = /usr/local/include | |
LIBDIR = /usr/local/helib_pack/lib | |
LIBS = -lntl -lhelib -lgmp -lboost_serialization | |
# compiler flags: | |
CFLAGS = -g -Wall -std=c++14 -I $(INCLUDEDIR) | |
TARGETS = test-serialization | |
DEPS = serialization.hpp |
This file contains 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
var abi = [ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "name", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} |
This file contains 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
var bitcoin = require('bitcoinjs-lib'); | |
var OPS = require('bitcoin-ops'); | |
function rng () { return Buffer.from('19381832822924850946237409286670'); } | |
let testnet = bitcoin.networks.testnet; | |
let keyPair = bitcoin.ECPair.makeRandom({ network: testnet, rng: rng }); | |
let address = keyPair.getAddress(); | |
console.log(address); |
This file contains 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
Verifying that "giancarlogiuffra.id" is my Blockstack ID. |