()
| 39 | * @returns The Airnode wallet. |
| 40 | */ |
| 41 | export const getAirnodeWallet = () => { |
| 42 | const integrationInfo = readIntegrationInfo(); |
| 43 | const integrationSecrets = parse( |
| 44 | readFileSync(join(__dirname, `../integrations/${integrationInfo.integration}/secrets.env`)) |
| 45 | ); |
| 46 | return ethers.Wallet.fromMnemonic(integrationSecrets['AIRNODE_WALLET_MNEMONIC']); |
| 47 | }; |
| 48 | |
| 49 | /** |
| 50 | * Reads the compiled solidity artifact necessary for contract deployment. |
no test coverage detected