I have used parts of ok300s implementation for NIP-04 in https://github.com/ok300/nostr-rs/blob/master/src/util/nip04.rs as an example when trying to implement it in nostr_rust
I'm taking example of https://github.com/nbd-wtf/go-nostr/blob/master/nip04/nip04.go and https://github.com/fiatjaf/nostr-tools/blob/master/nip04.js for the implementation
I have used parts of ok300s implementation for NIP-04 in https://github.com/ok300/nostr-rs/blob/master/src/util/nip04.rs as an example when trying to implement it in nostr_rust
Good idea, but beware, the ok300s implementation uses "deprecated" libraries