Returns a parsed name from your cluster name.
import { getClusterName } from '@lndgalante/solutils';
const { clusterName } = getClusterName('mainnet-beta');
console.log(clusterName); // "Mainnet"
Returns a parsed name from your cluster name.
import { getClusterName } from '@lndgalante/solutils';
const { clusterName } = getClusterName('mainnet-beta');
console.log(clusterName); // "Mainnet"