Take a look at these Nostr libraries we’ve been building, both use Noscrypt under the hood.
https://github.com/privkeyio/libnostr-c
https://github.com/privkeyio/libnostr-z
https://github.com/privkeyio/libnostr-c
https://github.com/privkeyio/libnostr-z