{"repo":"Shaivpidadi/custom-block-explorer","free":true,"listed":false,"github":"https://github.com/Shaivpidadi/custom-block-explorer","clone":"git clone https://github.com/Shaivpidadi/custom-block-explorer.git","description":"A custom blockchain explorer for interacting with a local Hardhat node.","language":"JavaScript","stars":13,"topics":["block-explorer","blockchain","blockexplorer","custom","explorer","ui","web3"],"license":null,"category":"blockchain-web3","readme_excerpt":"Block Explorer This project is a custom blockchain explorer built with React, Ethers.js, and Hardhat. It allows users to explore blockchain data and interact with smart contracts on a local Hardhat node, making it ideal for development and testing in a controlled environment. Preview If you have Hardhat running locally, preview the explorer using your local provider: Preview with Local Provider Or, try the explorer with sample data here: Preview with Mock Data Getting Started Prerequisites Ensure you have the following installed on your machine: - Node.js (v14 or higher) - npm or yarn - Hardhat (for local blockchain node) Installation 1. Clone the repository: 2. Install dependencies: Configuration The app uses environment variables to configure the connection to the blockchain node. To customize, create a .env file in the project root with the following variables: Running the Application 1. Start the Hardhat Node Open a terminal, navigate to your Hardhat project directory, and start the Hardhat node: 2. Start the Block Explorer In another terminal window, go to the block-explorer project directory and start the React app: The app should now be accessible at http://localhost:3000 , with full interaction capabilities on the Hardhat node. Running with Docker For simplified setup, the project can be run in Docker. 1. Build the Docker image: 2. Run the Docker container: This will serve the app on http://localhost:3000 . Testing To run tests, ensure the Hardhat node is running, the","default_branch":null,"files":null,"tree":[],"storefront":"/r/Shaivpidadi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Shaivpidadi/custom-block-explorer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}