Now post this signed vaa to wormhole solana core bridge program, parse the payloads from vaa and send the parsed data to solana zebec bridge program. Posting vaa and calling solana bridge (also called as proxy) program. This is optional because it's handled by zebec's specialized relayer.
constpayerAddress=wallet.publicKey.toString();constbridgeAddress=getBridgeAddressForChain(targetChain);consttokenBridgeAddress=getTokenBridgeAddressForChain(targetChain);constvaaBuf=Buffer.from(vaaBytes);setDefaultWasm("node"); // use bundler for browserconst { parse_vaa } =awaitimportCoreWasm();// posting vaa in solanaawaitpostVaaSolanaWithRetry( connection,wallet.signTransaction, bridgeAddress, payerAddress, vaaBuf,MAX_VAA_UPLOAD_RETRIES_SOLANA,);const { parse_vaa } =awaitimportCoreWasm();constparsedVaa=parse_vaa(tes)constparsedPayload=parseZebecPayload(Buffer.from(parsedVaa.payload));constresult=awaitsolanaClient.withdrawDeposit(withdrawVaa, parsedPayload asTokenWithdrawPayload);