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

Function deriveSponsorWalletAddress

packages/airnode-admin/src/implementation.ts:149–153  ·  view source on GitHub ↗
(airnodeXpub: string, airnodeAddress: string, sponsorAddress: string)

Source from the content-addressed store, hash-verified

147};
148
149export function deriveSponsorWalletAddress(airnodeXpub: string, airnodeAddress: string, sponsorAddress: string) {
150 const hdNode = verifyAirnodeXpub(airnodeXpub, airnodeAddress);
151 const derivationPath = deriveWalletPathFromSponsorAddress(sponsorAddress);
152 return hdNode.derivePath(derivationPath).address;
153}
154
155export async function sponsorRequester(
156 airnodeRrp: AirnodeRrpV0,

Callers 13

makeWithdrawalRequestFunction · 0.90
printWalletBalancesFunction · 0.90
mainFunction · 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

Calls 2

verifyAirnodeXpubFunction · 0.85

Tested by

no test coverage detected