Nostr
- Why are you interested in Nostr?
- What is Nostr used for?
- Do you have a Nostr account?
- What are some interesting conversations happening on Nostr?
- Who are some interesting people on Nostr?
- Nostr Re-mailer
Social Media Message Format
For Replies check out "Tags", on The Nostr Protocol
//Normal Messages
let signedEvent = finalizeEvent({
kind: 1,
created_at: Math.floor(Date.now() / 1000),
tags: [],
content: 'hello',
}, secret_key)
// Normal Message Reply
// 7eb95dc1956ee4fc08956c8948381bdc2361fda9fb32fff9c2d2c2f062b30c65
let signedEvent = finalizeEvent({
kind: 1,
created_at: Math.floor(Date.now() / 1000),
tags: [["e","3d31eb5c11729d19f3e9c613e4aaaeb2e352caa042b07427c3e72056c51f9ab8","","root"],["e","dc8a5f08d3effe321be8447274b98206dbc7d504411e707a532781809ca73808"],["e","7805668e76e0326152989c95f15262904acd002946505d91e901e81233bb6f21","","reply"],["p","6ad3e2a34818b153c81f48c58f44e5199e7b4fc8dbe37810a000dce3c90b7740"],["p","3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"],["p","f901616f00a63f4f9c7881d4871a03df3d4cee7291eafd7adcbeea7c95c58e27"]],
content: 'hello',
}, secret_key)
// Encrypted
let signedEvent = finalizeEvent({
kind: 4,
created_at: Math.floor(Date.now() / 1000),
tags: [public_key_1],
content: ciphertext,
}, secret_key_0)