8 Commits

Author SHA1 Message Date
fiatjaf
329b8d44d2
move stuff back from nostr package to top level.
because otherwise the path must be specified as github.com/fiatjaf/go-nostr/nostr, which is annoying.
2022-11-04 08:22:13 -03:00
BitcoinCoderBob
9549c3624a
nostr package, readme updates accordingly, matching example program (#14) 2022-10-12 17:24:30 -03:00
fiatjaf
a11aa8756b fix CheckSignature(): we were parsing the pubkey with the ECDSA function instead of Schnorr. 2022-05-01 17:51:16 -03:00
fiatjaf
00ad1acde9 use schnorr from btcec instead of the bip340 library. 2022-05-01 15:10:18 -03:00
fiatjaf
9721ffa851 use fastjson to serialize and unmarshal/marshal events, remove need for special Time type. 2022-02-09 20:23:10 -03:00
fiatjaf
41955a0601 serialization tests for events and filters. 2022-02-09 13:40:26 -03:00
fiatjaf
86853004ef change parsing so NIP12 can work, rename types. 2022-02-08 16:27:33 -03:00
fiatjaf
d131e8460e move everything to the same directory. 2022-01-02 08:44:18 -03:00