{"id":29124864,"url":"https://github.com/hirosystems/clarinet-pyth-example","last_synced_at":"2025-06-29T21:07:03.308Z","repository":{"id":275717318,"uuid":"923664941","full_name":"hirosystems/clarinet-pyth-example","owner":"hirosystems","description":"Example of a pyth project relying on Pyth data","archived":false,"fork":false,"pushed_at":"2025-05-12T15:29:50.000Z","size":261,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-06-26T11:56:52.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clarity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hirosystems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-01-28T16:47:31.000Z","updated_at":"2025-03-28T13:57:41.000Z","dependencies_parsed_at":"2025-02-04T07:35:24.565Z","dependency_job_id":"c4ced4f1-f203-4f29-99bc-4ff6fd9a7845","html_url":"https://github.com/hirosystems/clarinet-pyth-example","commit_stats":null,"previous_names":["hirosystems/clarinet-pyth-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hirosystems/clarinet-pyth-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fclarinet-pyth-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fclarinet-pyth-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fclarinet-pyth-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fclarinet-pyth-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirosystems","download_url":"https://codeload.github.com/hirosystems/clarinet-pyth-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fclarinet-pyth-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262667296,"owners_count":23345534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-06-29T21:07:02.192Z","updated_at":"2025-06-29T21:07:03.197Z","avatar_url":"https://github.com/hirosystems.png","language":"Clarity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clarinet Transaction Simulation Demo\n\nSee it in action:\n\n```sh\n$ npm i\n$ npm t\n```\n\n## Details\n\nThis project currently uses clarinet-sdk latest beta\n(`\"@hirosystems/clarinet-sdk\": \"^2.13.0-beta15\"` or above).\n\n### Enable remote data fetching\n\nRemote data fetching is enabled with the following setting.\nThe Simnet will fork mainnet from block 522000.\n\n\u003e [!IMPORTANT]  \n\u003e This is still in beta and could change in the near future.\n\n```toml\n# clarinet.toml\n[repl.remote_data]\nenabled = true\napi_url = \"https://api.hiro.so\"\ninitial_height = 522000\n```\n\n### Usage\n\nSee usage examples in the test file.\nNothing really changes in the way we interact with contract,\nexcept that it will use data from mainnet.\n\n```ts\nconst { result } = simnet.callReadOnlyFn(\n  \"SP3R4F6C1J3JQWWCVZ3S7FRRYPMYG6ZW6RZK31FXY.pyth-storage-v3\",\n  \"get-price\",\n  [btcFeed],\n  address1,\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirosystems%2Fclarinet-pyth-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirosystems%2Fclarinet-pyth-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirosystems%2Fclarinet-pyth-example/lists"}