{"id":17725441,"url":"https://github.com/solguru310/wormhole-queries-ts-sdk-example","last_synced_at":"2026-01-12T07:37:59.682Z","repository":{"id":258384415,"uuid":"867487771","full_name":"solguru310/wormhole-queries-ts-sdk-example","owner":"solguru310","description":"This project showcases how the Wormhole Queries TS-SDK facilitates on-demand, attested, and on-chain verifiable RPC results across blockchain networks, using a simple REST API call.","archived":false,"fork":false,"pushed_at":"2024-10-04T07:10:40.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T18:53:38.001Z","etag":null,"topics":["blockchain","queries","rest-api","rpc","solana","typescript-sdk","wormhole"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solguru310.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-04T06:53:55.000Z","updated_at":"2024-10-13T19:06:12.000Z","dependencies_parsed_at":"2024-10-18T18:53:47.624Z","dependency_job_id":"76487256-c49a-4d7e-b363-a571328b625a","html_url":"https://github.com/solguru310/wormhole-queries-ts-sdk-example","commit_stats":null,"previous_names":["solguru310/wormhole-queries-ts-sdk-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solguru310/wormhole-queries-ts-sdk-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solguru310%2Fwormhole-queries-ts-sdk-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solguru310%2Fwormhole-queries-ts-sdk-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solguru310%2Fwormhole-queries-ts-sdk-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solguru310%2Fwormhole-queries-ts-sdk-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solguru310","download_url":"https://codeload.github.com/solguru310/wormhole-queries-ts-sdk-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solguru310%2Fwormhole-queries-ts-sdk-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","queries","rest-api","rpc","solana","typescript-sdk","wormhole"],"created_at":"2024-10-25T16:04:31.113Z","updated_at":"2026-01-12T07:37:59.657Z","avatar_url":"https://github.com/solguru310.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Solana Wormhole Queries TS-SDK Example\n\n## Overview\n\nThis project showcases how the Wormhole Queries TS-SDK provides on-demand, attested, and on-chain verifiable RPC results across blockchain networks via a user-friendly REST API call. Before running the scripts, ensure that the required configurations are in place and the QUERIES_API_KEY environment variable is set.\n\n## Prerequisites\n\nEnsure you have the following installed on your system:\n\n- Node.js \u0026 TypeScript\n- npm or yarn \n- A Wormhole Queries API Key\n  - Request your API key through [this form](https://forms.clickup.com/45049775/f/1aytxf-10244/JKYWRUQ70AUI99F32Q)\n\n## Setup\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/solguru310/wormhole-queries-ts-sdk-example.git\n   cd /wormhole-queries-ts-sdk-example\n   ```\n\n2. **Install Dependencies:**\n\n   ```bash\n   npm install\n   ```\n\n   or\n\n   ```bash\n   yarn \n   ```\n\n\n## Running one of the Scripts\n\n   ```bash\n   QUERIES_API_KEY=\u003cYOUR_QUERIES_API_KEY\u003e npx tsx query_usdc_sep.ts\n   ```\n\n## Error Handling\nWhen using the Wormhole Queries TS-SDK, you may encounter various error codes. Here's what they mean:\n- 400 - bad request (malformed input or bytes)\n- 401 - authorization required (missing API key)\n- 403 - forbidden (invalid API key)\n- 500 - future failed to reach consensus (e.g. received 14 responses but 7 with one result and 7 with another)\n- 504 - did not reach consensus in \u003c 1m. The network drops malformed requests, so a persistent 504 is likely due to an invalid query request.\n\nIf you encounter any of these errors, double-check your API key, ensure your input is correctly formatted, and verify your network connection.\n\n## Further Reading\nFor a deeper insight into Wormhole Queries and its foundational concepts, we recommend reviewing the detailed [whitepaper](https://github.com/wormhole-foundation/wormhole/blob/main/whitepapers/0013_ccq.md#cross-chain-queries-ccq). \nIt offers extensive information on the architecture, security considerations, and implementation details of Wormhole Cross-chain Queries.\n\n## Contact me\nIf you need more technical support and development inquires, you can contact below.\n\nTelegram: [@dwlee918](https://t.me/@dwlee918)\n\nTwitter: [@derricklee918](https://x.com/derricklee918)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolguru310%2Fwormhole-queries-ts-sdk-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolguru310%2Fwormhole-queries-ts-sdk-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolguru310%2Fwormhole-queries-ts-sdk-example/lists"}