removeChainByGenesisHash
Removes a chain from the list of supported chains based on the provided genesis hash.
Usage
- main.ts
import { algorand, voi } from '@kibisis/chains';
import { createKatavault } from '@kibisis/katavault-core';
const katavault = await createKatavault({
chains: [algorand, voi],
});
katavault.removeChainByGenesisHash('wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=');
Parameters
genesisHash
- Type:
string
The base64 encoded genesis hash of the chain to be removed.