Skip to content

Instantly share code, notes, and snippets.

View doctorzhivago's full-sized avatar

Dr. Zhivago doctorzhivago

View GitHub Profile
@doctorzhivago
doctorzhivago / manage-db.js
Last active May 13, 2021 00:54
Establish an IPNS name that points to a file containing an OrbitDB address
const createClient = require('ipfs-http-client');
const OrbitDB = require('orbit-db');
require('buffer');
const toBuffer = require('it-to-buffer');
const LOG='orbit*';
// NOTE: This runs via node.js 14.x +
// This was only tested with a go-ipfs node running on the same
// device on port 5001
@doctorzhivago
doctorzhivago / keys.pub
Created May 8, 2020 16:28
keys.pub public key
BEGIN MESSAGE.
wqvnVbTfczk355b 4EBSlB9gy0cwuqn HqQcwdi0JQnkGs9 Dtgh9uGvHFRmvo4
PAVTUou5ckAjaLv 9endUL5eXCjTCKq 6Xr2MZHgg7HcjYe 5eLwWNkxIOVYW8K
RweoiGNOxBwusg8 XgmyBPxqskt89Dc KVKlFOWwS0cxdh9 WyDkaUnT1oRgvtD
Ys4wwQwwz09adIl z3WPBdMo5LxQsUD rpDM28sSTVh227E D.
END MESSAGE.
{
"handle": "DoctorZhivago",
"ipfsId": "QmPBTxPU5tJau54Hoyo5C3SfGKQYLyuhT3RE6YZrscUN3f",
"proof": {
"message": {
"statement": "I am doctorzhivago on github.com",
"username": "doctorzhivago",
"service": "github.com"
},
"timestamp": 1541252571691,
@doctorzhivago
doctorzhivago / proof.json
Created November 1, 2018 15:12
autonomica gist
{
"handle": "x220-chromium",
"ipfsId": "QmbvatJnbK6epvkhvdrJcGcKrxCJLXcsdWkQ8FFFtUTFxm",
"proof": {
"message": {
"statement": "I am drzhivago on github.com",
"username": "drzhivago",
"service": "github.com"
},
"timestamp": 1541085087904,
{ "handle": "x220-inator", "ipfsId": "QmUTdBaJSmMqSht3FoWvtJUqtn8fxF46pERM2EfhEzMpxG", "proof": { "message": { "statement": "I am doctorzhivago on github.com", "username": "doctorzhivago", "service": "github.com" }, "timestamp": 1540696808905, "expires": null, "ipfsId": "QmUTdBaJSmMqSht3FoWvtJUqtn8fxF46pERM2EfhEzMpxG", "handle": "x220-inator" }, "signature": "{\"type\":\"Buffer\",\"data\":[159,125,61,134,153,202,15,3,41,137,150,83,172,37,202,168,71,221,45,227,230,58,23,121,112,106,152,241,127,43,135,57,210,141,47,197,159,214,173,175,38,230,92,0,108,25,214,9,84,150,235,94,161,16,62,106,1,122,98,138,194,137,184,179,47,7,67,154,147,101,95,37,74,209,38,163,160,178,26,32,207,58,83,173,183,64,12,6,176,238,140,66,161,157,40,86,32,35,235,16,174,168,33,57,39,235,56,221,34,206,90,166,36,95,189,239,77,117,121,36,169,66,124,83,248,24,49,249,81,107,165,28,91,21,89,114,197,59,81,113,201,134,209,195,192,239,240,94,148,204,48,36,134,109,6,136,147,9,215,157,177,141,162,190,36,122,111,20
{
"handle": "x220-chromium",
"ipfsId": "QmbvatJnbK6epvkhvdrJcGcKrxCJLXcsdWkQ8FFFtUTFxm",
"proof": {
"message": {
"statement": "I am doctorzhivago on github.com",
"username": "doctorzhivago",
"service": "github.com"
},
"timestamp": 1540696332625,
@doctorzhivago
doctorzhivago / proof.json
Created October 28, 2018 03:04
autonoomica Proof
{
"handle": "x220-chromium",
"ipfsId": "QmbvatJnbK6epvkhvdrJcGcKrxCJLXcsdWkQ8FFFtUTFxm",
"proof": {
"message": {
"statement": "I am drzhivago on github.com",
"username": "drzhivago",
"service": "github.com"
},
"timestamp": 1540695746024,
@doctorzhivago
doctorzhivago / proof.json
Created October 17, 2018 18:59
ipfs-proof.json
{
"handle": "DoctorZhivago",
"ipfsId": "QmPBTxPU5tJau54Hoyo5C3SfGKQYLyuhT3RE6YZrscUN3f",
"proof": {
"message": {
"statement": "I am drzhivago on github.com",
"username": "drzhivago",
"service": "github.com"
},
"timestamp": 1539802762419,
@doctorzhivago
doctorzhivago / proof.json
Created October 7, 2018 19:06
IPFS proof
{
"handle": "DoctorZhivago",
"ipfsId": "QmPBTxPU5tJau54Hoyo5C3SfGKQYLyuhT3RE6YZrscUN3f",
"proof": {
"message": {
"statement": "I am doctorzhivago on github",
"username": "doctorzhivago",
"service": "github"
},
"timestamp": 1538939155559,
@doctorzhivago
doctorzhivago / twitter-proof.json
Created October 5, 2018 00:15
IPFS Proof Twitter
{
"handle": "doctorzhivago",
"ipfsId": "Qmcjp3kc8eLiSke6g3uxnt5EewRuhMWmKNg9R9xtZwphu4",
"proof": {
"message": {
"statement": "I am deezthugs on twitter.com",
"username": "deezthugs",
"service": "twitter.com"
},
"timestamp": 1538698449233,