Home Reference Source

packages/crypto/src/getBurstAddressFromAccountId.ts

import { BurstUtil } from "@burstjs/core";

/*
* Convert the account id to the appropriate Burst address
*/
export const getBurstAddressFromAccountId = (id: string): string => {
    return BurstUtil.encode(id);
}