MCPcopy Create free account
hub / github.com/0xProject/0x-examples / decodePubkey

Function decodePubkey

solana-example/src/index.ts:47–49  ·  view source on GitHub ↗
(bytes: number[])

Source from the content-addressed store, hash-verified

45
46// === Step 2: Build Instructions ===
47function decodePubkey(bytes: number[]): PublicKey {
48 return new PublicKey(Uint8Array.from(bytes));
49}
50
51function buildInstructions(
52 instructionsData: Instruction[]

Callers 1

buildInstructionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected