it's a work in progress but https://github.com/Hubmakerlabs/replicatr/tree/main/pkg/nostr
i am still working through things in it, like i just added NIP-44 from the terribly written golang reference version which was criticised by the security report for its handling of byte slices quite rightly
most of it won't change much more going forward, the relay is fully functional but i'm not satisfied that it's past early beta grade quality yet as it occasionally still does things wrong
probably in a month or so i'm going to pop it out independent to the parent repository but for now it's too likely to change to be manageable to keep two repositories in sync when the relay has such tight dependencies on it, every time you have two repos in Go where one depends on the other, getting them to sync together is a two step process that is best avoided until one of the parts is stable and doesn't need any further changes
it also needs documentation
i mean, by all means you might want to do whatever you like with it, and it is working pretty well already, but it's not finished yet by my standards