@zombienet/orchestrator
Version:
ZombieNet aim to be a testing framework for substrate based blockchains, providing a simple cli tool that allow users to spawn and test ephemeral Substrate based networks
20 lines (19 loc) • 413 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNodeKey = getNodeKey;
function getNodeKey(node) {
const { sr_account } = node.accounts;
const address = sr_account.address;
const key = [
address,
address,
{
aura: address,
oracle: address,
},
];
return key;
}
exports.default = {
getNodeKey,
};