rosetta-client
rosetta-client copied to clipboard
principal_id_to_address Breaking - pid.toBlob is not a function
Error
TypeError: pid.toBlob is not a function
for js
import { Ed25519KeyIdentity } from '@dfinity/identity';
const keypair = Ed25519KeyIdentity.generate();
console.log(address_to_hex(principal_id_to_address(keypair.getPrincipal())));
//7xxxxxxxxxxxxxxxxxx
breaking with @dfinity/[email protected]
and was working at @dfinity/[email protected]