pub fn encode_address(
	version: AddressVersion,
	data: impl AsRef<[u8]>,
) -> String {
	let encoded = version_check_encode(version, data);
	let address = format!("S{}", encoded);

	address
}
C32 encode the given data as an address
stacks-core/src/c32.rs