This blockchain project is a simple blockchain and the blockchain explorer that allows users to search and view detailed information about blocks, transactions, and addresses.
- Search functionality: Users can search for relevant data based on block hash, transaction ID, or address.
- Block information: Displays the hash, index, timestamp, nonce, previous block hash, and transaction count of a block.
- Transaction information: Shows the sender, receiver, and amount of a transaction.
- Address information: Provides the balance of an address and its associated transactions.
Before getting started, make sure you have the following technical requirements:
- Node.js
- express.js
- AngularJS
- jQuery
- Bootstrap
Follow these steps to set up and run the project:
-
Clone the project to your local machine:
git clone https://github.com/Chenxinjie65/Blockchain.git
-
Navigate to the project directory:
cd Blockchain -
Install dependencies:
npm install
-
Start the project:
npm run node_1
-
Open your browser and visit http://localhost:3001.
-
Enter the blockchain explorer and select the search type (block hash, transaction ID, or address).
-
Click the "Search" button to view the corresponding block, transaction, or address information.
Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please submit an Issue or Pull Request.
This project is licensed under the MIT License.