Skip to content

adityamishra1006/creating-blockchain-using-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

creating-blockchain-using-javascript-etherPulse

EtherPulse Blockchain

EtherPulse is a simple blockchain implementation in JavaScript. It allows users to create transactions, mine blocks, and maintain a decentralized ledger.

Table of Contents

Introduction

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.

Features

  • Simple blockchain implementation
  • Transaction creation and mining functionality
  • Proof-of-work consensus algorithm
  • Basic balance tracking for addresses

Getting Started

To get started with EtherPulse, follow these steps:

  1. Clone the repository:

    https://github.com/adityamishra1006/creating-blockchain-using-javascript
    
  2. Install dependencies:

    npm install
    
  3. Run the application:

    node your-main-file.js
    

Usage

EtherPulse provides a basic blockchain structure with the ability to create transactions, mine new blocks, and check address balances.

Examples

Explore the provided examples in the repository to see how EtherPulse can be used in different scenarios.

Contributing

Feel free to contribute to the development of EtherPulse! Open issues, submit pull requests, and share your ideas.

Tips

Install the crypto.js library by executing this code.

   npm install --save crypto.js

Include this during the process of saving SHA-256

Creating Transactions

let transaction1 = new Transaction("Tom", "Jerry", 100);
etherPulse.createTransaction(transaction1);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published