draft
mandatory
- Users can prove they own some accounts by publishing an event to the relays
proof:<{pubkey}, {type}, {url}>
const { mnemonicToSeed } = require("@scure/bip39"); | |
const ecc = require("tiny-secp256k1"); | |
const { BIP32Factory } = require("bip32"); | |
const bip32 = BIP32Factory(ecc); | |
const { HMAC, Hash } = require("fast-sha256"); | |
const secp256k1 = require("secp256k1"); | |
const lnurl = require("@zerologin/lnurl"); | |
const { CipherSeed } = require("aezeed"); | |
const axios = require("axios"); | |
const ZBase32 = require("@darkwolf/zbase32"); |
git clone https://github.com/jamaljsr/polar.git | |
cd polar/docker/eclair | |
# remove lines 59 and 61 (GUI) of Dockerfile | |
docker build --build-arg ECLAIR_VERSION=0.6.2 -t polarlightning/eclair:0.6.2 . |
FROM golang:1.15.5 | |
WORKDIR /go/src/app | |
COPY ./relay . | |
RUN go get -d -v ./... | |
RUN go install -v ./... | |
RUN go build -ldflags="-s -w" -tags full -o ./relay-full |
{"lastUpload":"2020-06-01T12:33:07.569Z","extensionVersion":"v3.4.3"} |
{ | |
"posts": [ | |
{ | |
"userId": 1, | |
"id": 1, | |
"title": "erat tortor sollicitudin mi sit amet lobortis sapien sapien non mi integer ac neque", | |
"body": "Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem. Integer tincidunt ante vel ipsum. Praesent blandit lacinia erat. Vestibulum sed magna at nunc commodo placerat." | |
}, | |
{ | |
"userId": 5, |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Mably subscriptions in feedly Cloud</title> | |
</head> | |
<body> | |
<outline text="currency" title="currency"> | |
<outline type="rss" text="Cryptocurrency News, Bitcoin, Litec..." title="Cryptocurrency News, Bitcoin, Litec..." xmlUrl="http://www.cryptocoinsnews.com/feed/" htmlUrl="https://www.cryptocoinsnews.com"/> | |
<outline type="rss" text="Cryptocurrencies" title="Cryptocurrencies" xmlUrl="http://cryptocur.com/feed/" htmlUrl="http://cryptocur.com"/> |
[{"id":"aaaaaa", "url":"http://google.fr", "count":0},{"id":"bbbbbb", "url":"http://google.fr", "count":0}] |