{"id":18794412,"url":"https://github.com/chainstacklabs/performance-tool-client","last_synced_at":"2025-10-25T02:39:52.819Z","repository":{"id":223303983,"uuid":"744548019","full_name":"chainstacklabs/performance-tool-client","owner":"chainstacklabs","description":"Chainstack Compare frontend","archived":false,"fork":false,"pushed_at":"2025-03-03T12:38:41.000Z","size":5042,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T06:11:49.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://compare.chainstack.com","language":"JavaScript","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/chainstacklabs.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-01-17T14:24:17.000Z","updated_at":"2025-03-03T12:38:45.000Z","dependencies_parsed_at":"2025-03-03T13:41:24.525Z","dependency_job_id":null,"html_url":"https://github.com/chainstacklabs/performance-tool-client","commit_stats":null,"previous_names":["chainstacklabs/performance-tool-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fperformance-tool-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fperformance-tool-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fperformance-tool-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fperformance-tool-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chainstacklabs","download_url":"https://codeload.github.com/chainstacklabs/performance-tool-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248728223,"owners_count":21152180,"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":"2024-11-07T21:29:23.721Z","updated_at":"2025-10-25T02:39:47.797Z","avatar_url":"https://github.com/chainstacklabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Performance Tool Client\n\nA modern web application for monitoring and analyzing blockchain network performance metrics.\n\n## Overview\n\nThis tool provides real-time performance monitoring and analysis capabilities for blockchain networks, built with Next.js, TypeScript, and Tailwind CSS.\n\n## Prerequisites\n\n- Node.js (v18 or higher)\n- npm or yarn\n- Modern web browser\n\n## Getting Started\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/your-username/performance-tool-client.git\ncd performance-tool-client\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n# or\nyarn install\n```\n\n3. Set up environment variables:\n\n```bash\ncp .env.example .env.local\n```\n\n## Commands\n\nRun the development server on localhost:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nBuild the application:\n\n```bash\nnpm run build\n# or\nyarn build\n```\n\nMore about [deploying options](https://nextjs.org/docs/app/building-your-application/deploying)\n\nDeployments:\n\nDeployed on Vercel automatically on PR merge.\n\n## How to Add New Method\n\nNavigate to `src/app/store/store.js` and find the `METHODS` array:\n\n```javascript\nexport const METHODS = entity([\n  {\n    id: 0,\n    method_used: 'eth_getBlockByNumber',\n    method_url: process.env.NEXT_PUBLIC_BACKEND_APP_PATH_URL + 'test-get-block',\n    perform: true,\n    isLoading: true,\n    data: {},\n  },\n  {\n    id: 1,\n    method_used: 'eth_call',\n    method_url: process.env.NEXT_PUBLIC_BACKEND_APP_PATH_URL + 'test-eth-call',\n    perform: true,\n    isLoading: true,\n    data: {},\n  },\n]);\n```\n\nTo add a new method:\n\n1. Add a new object at the end of the array\n2. Increment the `id` field value\n3. Set `method_used` for the card label shown in results UI\n4. Update `method_url` with the new path\n5. Keep other fields unchanged\n\n## Project Structure\n\n```\n├── src/\n│   ├── app/          # Next.js App Router components\n│   └── components/   # Reusable React components\n└── public/           # Static assets\n```\n\n## Key Directories\n\n- `/app/compare-double/page.js`: Implements side-by-side comparison functionality for two blockchain nodes page\n- `/app/compare-single/page.js`: Implements testing functionality for one blockchain node page\n- `/app/injection-result-double/page.js`: Implements side-by-side comparison functionality for two blockchain nodes for injected page\n- `/app/store/store.js`: Contains global state management and methods configuration\n- `/app/page.js`: Initial page\n\n## Core Technologies\n\n- [Next.js](https://nextjs.org/) - React Framework\n- [TypeScript](https://www.typescriptlang.org/) - Type safety\n- [Tailwind CSS](https://tailwindcss.com/) - Styling\n- [ESLint](https://eslint.org/) - Code linting\n- [Jest](https://jestjs.io/) - Testing framework\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## Code Quality\n\n- Follows best practices for React and Next.js\n- Implements maintainable and scalable code structure\n- Includes comprehensive documentation\n- Uses TypeScript for type safety\n- Adheres to ESLint configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainstacklabs%2Fperformance-tool-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainstacklabs%2Fperformance-tool-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainstacklabs%2Fperformance-tool-client/lists"}