nostr-java
nostr-java copied to clipboard
Autogenerate "id" for NIP46.Request objects
It would be nice if there was a way to construct a NIP46.Request object with a constructor like: new Request(method, params)
and have the id
randomly autogenerated.
NOTE: It seems from my testing this generated id must be a hex string, or else it won't work with nsec.app. Not sure if this is true but it seems to be the case.