I've just published this package: https://jsr.io/@nostr/tools Now we should test that everything works.