encodeNprofile static method
Encode nprofile (profile reference)
pubkey - 32-byte hex public key (required)
relays - optional list of relay URLs where the profile may be found
Implementation
static String encodeNprofile({
required String pubkey,
List<String>? relays,
}) {
return Nip19Encoder.encodeNprofile(
pubkey: pubkey,
relays: relays,
);
}