{"id":37978394,"url":"https://github.com/chronicleprotocol/scaffold-oracle-reader","last_synced_at":"2026-01-16T18:32:29.200Z","repository":{"id":223718667,"uuid":"758027331","full_name":"chronicleprotocol/scaffold-oracle-reader","owner":"chronicleprotocol","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-15T13:18:37.000Z","size":5697,"stargazers_count":4,"open_issues_count":8,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T22:30:07.707Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chronicleprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-02-15T13:34:58.000Z","updated_at":"2024-11-15T13:18:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"6253e657-afe6-4cbf-b853-c8adf2c1f0c3","html_url":"https://github.com/chronicleprotocol/scaffold-oracle-reader","commit_stats":null,"previous_names":["chronicleprotocol/scaffold-oracle-reader"],"tags_count":0,"template":false,"template_full_name":"scaffold-eth/scaffold-eth-2","purl":"pkg:github/chronicleprotocol/scaffold-oracle-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chronicleprotocol%2Fscaffold-oracle-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chronicleprotocol%2Fscaffold-oracle-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chronicleprotocol%2Fscaffold-oracle-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chronicleprotocol%2Fscaffold-oracle-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chronicleprotocol","download_url":"https://codeload.github.com/chronicleprotocol/scaffold-oracle-reader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chronicleprotocol%2Fscaffold-oracle-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["hacktoberfest"],"created_at":"2026-01-16T18:32:28.278Z","updated_at":"2026-01-16T18:32:29.192Z","avatar_url":"https://github.com/chronicleprotocol.png","language":"Solidity","funding_links":[],"categories":["Developer Resources"],"sub_categories":[],"readme":"# 🏗 OracleReader Built on Scaffold-ETH 2\n\n\n🧪 An open-source, toolkit for building decentralized applications (dapps) on the Ethereum blockchain and integrating with Chronicle Oracles. It's designed to make it easier for developers to create and deploy smart contracts and build user interfaces that interact with those contracts.\n\n⚙️ Built using NextJS, RainbowKit, Foundry, Wagmi, Viem, and Typescript.\n\n- ✅ **Contract Hot Reload**: Your frontend auto-adapts to your smart contract as you edit it.\n- 🪝 **[Custom hooks](https://docs.scaffoldeth.io/hooks/)**: Collection of React hooks wrapper around [wagmi](https://wagmi.sh/) to simplify interactions with smart contracts with typescript autocompletion.\n- 🧱 [**Components**](https://docs.scaffoldeth.io/components/): Collection of common web3 components to quickly build your frontend.\n- 🔥 **Burner Wallet \u0026 Local Faucet**: Quickly test your application with a burner wallet and local faucet.\n- 🔐 **Integration with Wallet Providers**: Connect to different wallet providers and interact with the Ethereum network.\n\n![Oracle Reader](OracleReader.png)\n\n\n## Requirements\n\nBefore you begin, you need to install the following tools:\n\n- [Node (\u003e= v18.17)](https://nodejs.org/en/download/)\n- Yarn ([v1](https://classic.yarnpkg.com/en/docs/install/) or [v2+](https://yarnpkg.com/getting-started/install))\n- [Git](https://git-scm.com/downloads)\n\n## 🏃🏻‍♂️ Running It \n\nTo run this example, which uses the Foundry tooling in conjunction with [Scaffold-ETH2](https://scaffoldeth.io), you first need to fork the [Sepolia network](https://sepolia.etherscan.io/). \n\nIn a terminal window install dependencies:\n\n\n```\ncd scaffold-oracle-reader\nyarn install\n```\n\nFork your target network, leave this terminal window open as it runs your local chain.\n\n```\nexport ETH_RPC_URL='https://your-sepolia-rpc-server/etc'\nyarn fork\n```\n\n\n\nIn a second terminal window, you can now deploy your contracts to the local chain:\n\n```\nexport DEPLOYER_PRIVATE_KEY=\"0xdeadbeefcafebabe\"\ncd packages/foundry\ncp .env.example .env\nyarn deploy\n```\n\nWhen this completes, you should see a contract address in the output:\n\n```\n...\n##### sepolia\n✅  [Success]Hash: 0xda5b4871929d1414a5b447769f4d8d757b1aea8e280555adb9dd7ec67bb6b683\nContract Address: 0xA2B4473120b9d18abfE90EEb2722A57CB72C4212\n```\n\nNow, you can verify that you can read with the Foundry `cast` command:\n\n```\n🦄 cast call 0xA2B4473120b9d18abfE90EEb2722A57CB72C4212 'read()(uint)'\n3319415000000000000000 [3.319e21]\n```\n\nNote that because this is a fork of the Sepolia network, you should be getting a pretty up-to-date value for `ETH/USD`.\n\n\nYou can now start your NextJS app:\n\n```\nyarn start\n```\n\nVisit your app on: `http://localhost:3000`. You can interact with your smart contract using the `Debug Contracts` page. You can tweak the app config in `packages/nextjs/scaffold.config.ts`.\n\nRun smart contract test with `yarn foundry:test`\n\n- Edit your smart contract `YourContract.sol` in `packages/foundry/contracts`\n- Edit your frontend homepage at `packages/nextjs/app/page.tsx`. For guidance on [routing](https://nextjs.org/docs/app/building-your-application/routing/defining-routes) and configuring [pages/layouts](https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts) checkout the Next.js documentation.\n- Edit your deployment scripts in `packages/foundry/script`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchronicleprotocol%2Fscaffold-oracle-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchronicleprotocol%2Fscaffold-oracle-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchronicleprotocol%2Fscaffold-oracle-reader/lists"}