MCPcopy Create free account
hub / github.com/Unboxed-Software/anchor-subscriptions / findUserMetaAddress

Function findUserMetaAddress

tests/utils/basic-functions.ts:13–18  ·  view source on GitHub ↗
(pubkey: web3.PublicKey)

Source from the content-addressed store, hash-verified

11}
12
13export function findUserMetaAddress(pubkey: web3.PublicKey) {
14 return web3.PublicKey.findProgramAddressSync(
15 [Buffer.from("USER_META"), pubkey.toBuffer()],
16 global.program.programId
17 )
18}
19
20export function appAccountKey(
21 auth: web3.PublicKey,

Callers

nothing calls this directly

Calls 1

fromMethod · 0.80

Tested by

no test coverage detected