MCPcopy Create free account
hub / github.com/api3dao/airnode / getAirnodeWallet

Function getAirnodeWallet

packages/airnode-examples/src/evm.ts:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 * @returns The Airnode wallet.
40 */
41export 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.

Callers 13

makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeRequestFunction · 0.90
makeWithdrawalRequestFunction · 0.50
printWalletBalancesFunction · 0.50

Calls 1

readIntegrationInfoFunction · 0.90

Tested by

no test coverage detected