anproto -- authenticated non-networked protocol or another proto sha256 blobs signed with ed25519 keypairs anproto.com
ed25519 social protocols
JavaScript 94.8%
CSS 5.2%
7 1 0

Clone this repository

https://tangled.org/evbogue.com/an
git@tangled.org:evbogue.com/an

For self-hosted knots, clone URLs may differ based on your setup.

README.md

ANProto#

the Authenticated and Non-networked protocol or ANother protocol

(we wanted aproto, but the dot com was taken)

anproto.com

try it at anproto.com/try or use a client such as wiredove

ed25519 keypairs sign timestamp + hash in base64

  • ANProto is the spiritual successor to secure-scuttlebot, but without all of the extra stuff that is difficult to maintain.
  • ANProto is an attempt to argue that ATProto is too involved in it's own networking infrastructure to be usefully decentralized.
  • ANProto operates under the working theory that Nostr will never reach anyone besides Bitcoiners.

the JavaScript library!#

use Deno or your browser

import { an } from './an.js'

console.log(await an.gen())

// BSY7/er4VJIu08o39NaRAiPY/MAvd7oQhlGCRDABjYU=tQa03kqUWG3VtHZ98++lHFBeQ4JKZwuTH2CjC/K6P8EFJjv96vhUki7Tyjf01pECI9j8wC93uhCGUYJEMAGNhQ==

console.log(await an.hash('Hello World'))
// pZGm1Av0IEBKARczz7exkNYsZb8LzaMrV7J32a2fFG4=

console.log(await an.sign('Hello World', await a.gen()))
// BSY7/er4VJIu08o39NaRAiPY/MAvd7oQhlGCRDABjYU=yVpD8i7d3d4dls3YThEg1x1vSdmqeEweV4e4Ejl/8yPoVG7JR0YAKDPagQOgxXMrlCVLNNqvlNvj4xRDOYDLBjE3NTUxOTc4NDEzMTlwWkdtMUF2MElFQktBUmN6ejdleGtOWXNaYjhMemFNclY3SjMyYTJmRkc0PQ==

console.log(await an.open('BSY7/er4VJIu08o39NaRAiPY/MAvd7oQhlGCRDABjYU=yVpD8i7d3d4dls3YThEg1x1vSdmqeEweV4e4Ejl/8yPoVG7JR0YAKDPagQOgxXMrlCVLNNqvlNvj4xRDOYDLBjE3NTUxOTc4NDEzMTlwWkdtMUF2MElFQktBUmN6ejdleGtOWXNaYjhMemFNclY3SjMyYTJmRkc0PQ=='))

//1755197841319pZGm1Av0IEBKARczz7exkNYsZb8LzaMrV7J32a2fFG4=

MIT