Chainscout is an explorer for Blockscout instances, allowing users to easily search and filter through various blockchain networks and projects using Blockscout.
- Search functionality for chains and projects
- Filtering by hosting provider, network type, and ecosystem
- Responsive design for various screen sizes
- Pagination for easy navigation through results
- Node.js (v14 or later)
- npm or yarn
- Clone the repository:
git clone https://github.com/blockscout/chainscout.git
- Navigate to the project directory:
cd chainscout
- Install dependencies:
npm install
# or
yarn install
- Run the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 in your browser to see the application.
Use the search bar to find specific chains or projects. Apply filters to narrow down results based on hosting provider, network type, or ecosystem.
We welcome contributions to Chainscout! Here's how you can help:
- Fork the repository and create a new branch for your addition.
- Open the file
data/chains.json
. - Add a new entry for the chain, following the existing format:
"chainId": {
"name": "Chain Name",
"description": "Brief description of the chain",
"ecosystem": ["Associated ecosystem (e.g., Ethereum, Polkadot)"],
"isTestnet": false,
"layer": 1,
"rollupType": null,
"website": "https://chain-website.com",
"explorers": [
{
"url": "https://explorer-url.com",
"hostedBy": "blockscout"
}
],
"logo": "https://example.com/path/to/logo.png"
}
- If the logo URL uses a new domain, add it to the
images.domains
array innext.config.mjs
:
module.exports = {
images: {
domains: [
'existing-domain.com',
'new-logo-domain.com'
],
},
};
- Create a pull request with your changes.
- Fork the repository and create a new branch for your addition.
- Open the file data/chains.json.
- Find the entry for the chain you want to update.
- Add a new object to the explorers array:
"explorers": [
{
"url": "https://new-explorer-url.com",
"hostedBy": "hosting-provider"
}
]
- Create a pull request with your changes.
Please ensure your contributions adhere to our coding standards and include appropriate documentation.