hexFromShelleyAddress function
Convert bech32 address payload to hex string. Optionaly uppercase hex string. TODO move to shelley_address.dart
Implementation
String hexFromShelleyAddress(String bech32, {bool uppercase = false}) {
final result = HEX.encode(unit8BufferFromShelleyAddress(bech32));
return uppercase ? result.toUpperCase() : result;
}