Closed femtocat closed 2 years ago
ChainConfig must know the chain you are trying to get keys for (see bitsharesjs-ws ChainConfig)
You need to do something like this
export function getBlockchainConfig() {
return {
name: "SOMENAME",
address_prefix: "SOMEPREFIX",
chain_id:
"someid",
core_asset: "SOMECORE"
};
}
const blockchainConfig = getBlockchainConfig();
ChainConfig.networks[blockchainConfig.name] = blockchainConfig;