{"id":35014391,"url":"https://github.com/threefoldtech/tfchain-explorer","last_synced_at":"2026-05-20T22:34:51.593Z","repository":{"id":289747245,"uuid":"972264386","full_name":"threefoldtech/tfchain-explorer","owner":"threefoldtech","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-26T09:32:26.000Z","size":2071,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"development","last_synced_at":"2025-12-28T18:58:13.822Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/threefoldtech.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,"zenodo":null}},"created_at":"2025-04-24T19:45:39.000Z","updated_at":"2025-04-24T20:45:55.000Z","dependencies_parsed_at":"2025-04-24T21:36:45.212Z","dependency_job_id":null,"html_url":"https://github.com/threefoldtech/tfchain-explorer","commit_stats":null,"previous_names":["threefoldtech/tfchain-explorer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/threefoldtech/tfchain-explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Ftfchain-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Ftfchain-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Ftfchain-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Ftfchain-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threefoldtech","download_url":"https://codeload.github.com/threefoldtech/tfchain-explorer/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Ftfchain-explorer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33278171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-12-27T05:12:08.988Z","updated_at":"2026-05-20T22:34:51.588Z","avatar_url":"https://github.com/threefoldtech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TFChain Explorer\n\n[![Live Demo](https://img.shields.io/badge/Live%20Demo-View%20Explorer-blue)](https://threefoldtech.github.io/tfchain-explorer/)\n\nA comprehensive blockchain explorer for TFChain, a Substrate-based blockchain that powers the ThreeFold Grid. This explorer provides real-time insights into TFChain-specific entities including grid statistics, farms, nodes, twins, contracts, and account transaction history.\n\n![TFChain Explorer Screenshot](https://raw.githubusercontent.com/threefoldtech/tfchain-explorer/main/screenshot.png)\n\n## Features\n\n- **Live Grid Statistics**: Real-time overview of TFChain grid metrics (nodes, farms, twins, contracts)\n- **Farm Explorer**: Browse and search TFChain farms with detailed information\n- **Node Explorer**: Examine node details with filtering and sorting capabilities\n- **Block Explorer**: View detailed block information including extrinsics and events\n- **Account Transaction History**: Track account transactions with customizable block range selection\n- **TFChain Pallets Documentation**: Reference for TFChain-specific pallets and types\n- **Real-time Updates**: Live updates as new blocks are finalized\n\n## Architecture\n\n```\nTFChain Explorer Architecture\n┌─────────────────────┐     ┌─────────────────┐     ┌───────────────────┐\n│                     │     │                 │     │                   │\n│  React Components   │────▶│  Polkadot.js    │────▶│  TFChain Network  │\n│  \u0026 Hooks            │     │  API            │     │  Endpoints        │\n│                     │     │                 │     │                   │\n└─────────────────────┘     └─────────────────┘     └───────────────────┘\n```\n\n## Tech Stack\n\n- **Frontend**: React 19, TypeScript, Chakra UI v2/v3\n- **Blockchain Connectivity**: @polkadot/api\n- **Build System**: Vite\n- **Routing**: React Router v6\n- **Deployment**: GitHub Pages\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v18+)\n- npm or yarn\n- Git\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/threefoldtech/tfchain-explorer.git\ncd tfchain-explorer\n\n# Install dependencies\nnpm install --legacy-peer-deps\n\n# Start the development server\nnpm run dev\n```\n\nThe application will be available at http://localhost:5173/\n\n### Available Scripts\n\n- `npm run dev` - Start the development server\n- `npm run build` - Build the application for production with TypeScript checking\n- `npm run build-force` - Build the application without TypeScript checking\n- `npm run preview` - Preview the production build locally\n- `npm run deploy` - Deploy the application to GitHub Pages\n\n## Connecting to TFChain Networks\n\nThe explorer is configured to connect to the following TFChain networks:\n\n- **Development**: `wss://tfchain.dev.grid.tf`\n- **QA**: `wss://tfchain.qa.grid.tf`\n- **Test**: `wss://tfchain.test.grid.tf`\n- **Production**: `wss://tfchain.grid.tf`\n\nYou can modify these endpoints in `src/api/substrate.ts`.\n\n## Deployment\n\n### Deploying to GitHub Pages\n\nThe project is configured for easy deployment to GitHub Pages:\n\n```bash\n# Deploy to GitHub Pages\nnpm run deploy\n```\n\nThis will:\n1. Build the application using the `build-force` script\n2. Push the built files to the `gh-pages` branch\n3. Make the site available at `https://threefoldtech.github.io/tfchain-explorer/`\n\n### Custom Deployment\n\nTo deploy to a custom domain or hosting service:\n\n1. Update the `homepage` field in `package.json`\n2. Update the `base` path in `vite.config.ts`\n3. Build the application: `npm run build-force`\n4. Deploy the contents of the `dist` directory to your hosting service\n\n## Project Structure\n\n```\n/src\n├── api/                  # API connection and context\n├── components/           # Reusable UI components\n│   ├── TFChainStats.tsx  # Grid statistics component\n│   ├── TFChainFarms.tsx  # Farms listing component\n│   ├── TFChainNodes.tsx  # Nodes listing component\n│   └── ...\n├── hooks/                # Custom React hooks\n│   ├── useBlocks.ts      # Block data fetching\n│   └── ...\n├── pages/                # Page components\n├── types/                # TypeScript type definitions\n├── utils/                # Utility functions\n├── App.tsx               # Main application component\n└── main.tsx              # Application entry point\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\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## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgments\n\n- [Polkadot.js](https://polkadot.js.org/) - JavaScript API for Substrate-based blockchains\n- [ThreeFold](https://threefold.io/) - For creating TFChain and the ThreeFold Grid\n- [Substrate](https://substrate.io/) - Blockchain development framework\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefoldtech%2Ftfchain-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreefoldtech%2Ftfchain-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefoldtech%2Ftfchain-explorer/lists"}