EtherPulse is a simple blockchain implementation in JavaScript. It allows users to create transactions, mine blocks, and maintain a decentralized ledger.
EtherPulse is a basic blockchain application built using JavaScript. It includes classes for transactions, blocks, and the blockchain itself. The blockchain utilizes the SHA-256 hashing algorithm for security and includes a proof-of-work mechanism for mining new blocks.
- Simple blockchain implementation
- Transaction creation and mining functionality
- Proof-of-work consensus algorithm
- Basic balance tracking for addresses
To get started with EtherPulse, follow these steps:
-
Clone the repository:
https://github.com/adityamishra1006/creating-blockchain-using-javascript
-
Install dependencies:
npm install
-
Run the application:
node your-main-file.js
EtherPulse provides a basic blockchain structure with the ability to create transactions, mine new blocks, and check address balances.
Explore the provided examples in the repository to see how EtherPulse can be used in different scenarios.
Feel free to contribute to the development of EtherPulse! Open issues, submit pull requests, and share your ideas.
Install the crypto.js library by executing this code.
npm install --save crypto.js
Include this during the process of saving SHA-256
let transaction1 = new Transaction("Tom", "Jerry", 100);
etherPulse.createTransaction(transaction1);