Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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 ===
47
function
decodePubkey(bytes: number[]): PublicKey {
48
return
new
PublicKey(Uint8Array.from(bytes));
49
}
50
51
function
buildInstructions(
52
instructionsData: Instruction[]
Callers
1
buildInstructions
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected