https://github.com/nostr-protocol/nips/pull/1341 I updated amber to the new way, the only call I didn't change yet is the return value from get_public_key