Skip to content

Instantly share code, notes, and snippets.

openssl ecparam -genkey -name secp256k1 -rand /dev/urandom -noout -out private.pem
### Keybase proof
I hereby claim:
* I am barno on github.
* I am barno (https://keybase.io/barno) on keybase.
* I have a public key ASBbXnCkSKdXgOh1IFXEA8mtGM07VLTgDIqlQgqHQ7gzsAo
To claim this, I am signing this object:
@Barno
Barno / Hex to Ascii
Created May 6, 2019 21:03
Hex to Ascii
echo 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73 | xxd -r -p
@Barno
Barno / Genesis block
Created May 6, 2019 21:02
Genesis block
{
"hash": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
"confirmations": 574888,
"strippedsize": 285,
"size": 285,
"weight": 1140,
"height": 0,
"version": 1,
"versionHex": "00000001",
"merkleroot": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
bitcoin-cli getblock 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f 2
finalCallbackCov = function (err) {
};