Skip to content

Instantly share code, notes, and snippets.

@atdixon
atdixon / nostr-repro.md
Last active January 15, 2022 20:57
nostr event repro

The event I received:

["EVENT",{"pubkey":"aff9a9f017f32b2e8b60754a4102db9d9cf9ff2b967804b50e070780aa45c9a8","created_at":1642276166,"kind":3,"tags":[["p","22e804d26ed16b68db5259e78449e96dab5d464c8f470bda3eb1a70467f2c793"],["p","f0bed2e11260f0f77f781db928f40a34c18713fda1918d3be996f91d0776e985"],["p","1bbb8324577ac089607e45813bac499ebdab4621d029f8c02b2c82b4410fd3f4"],["p","ed1d0e1f743a7d19aa2dfb0162df73bacdbc699f67cc55bb91a98c35f7deac69"],["p","35d26e4690cbe1a898af61cc3515661eb5fa763b57bd0b42e45099c8b32fd50f"],["p","3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"],["p","3707f1efc7515524dce41d3bf50bfd9fdaed3494620b5f94fcf16d2766da4ec2"],["p","52cb4b34775fa781b6a964bda0432dbcdfede7a59bf8dfc279cbff0ad8fb09ff"],["p","dbab9040bc1f0c436b0f92f517702498358edc1fde2c7884d0e1036c739d44f3"],["p","c2bb5d6529095edbfbdbe3f136175c146c6706526325b32da881c7c34c7b1ab8"],["p","2508ed2c2ab3f6728a880fafbc0895a2afeacbb74eb69847255fb60564af0d85"],["p","8f87ac34eb27a86fc917866fbc9016429bd89cf1d0d27a038a8eaac4c62c63
(ns secp256k1
(:import (java.util Arrays)
(java.security MessageDigest)
(java.nio.charset StandardCharsets)))
(defrecord Point [^BigInteger x ^BigInteger y])
(def infinity (->Point nil nil))
(def ^BigInteger zero BigInteger/ZERO)

Keybase proof

I hereby claim:

  • I am atdixon on github.
  • I am atdixon (https://keybase.io/atdixon) on keybase.
  • I have a public key ASAZyp1zUnRrJfIK46sMyNU9zsX1oQ569tHBC3mP3VEZRQo

To claim this, I am signing this object: