Addson's web3 Projects.
The main goal of this project is to create a prototype of a Bitcoin network, including all the key concepts like blocks, transactions, UTXO, mempool, miner, and wallet. The aim is to simulate these concepts for learning purposes, rather than making a professional application. But don't worry, it works well as a practical learning tool to understand not only how Bitcoin mining works but also the main ideas behind the Bitcoin network. So, I invite you to try it out... It's definitely worth it!
If you have any questions, please email me at addsonbastos@proton.me. Let's collaborate and move forward together!
Instructions on how to install and configure the project.
-
Clone the repository:
git clone https://github.com/addson/web3 cd blockchain -
Install the dependencies:
npm install
-
Compile the TypeScript code:
npm run compile
-
Create a
.envfile in the root of the project and add your environment variables.
-
Start in development mode:
npm run dev
-
Start the application (optional):
npm start
-
Run tests:
npm test -
Run tests in watch mode (optional):
npm run test:watch
-
Run blockchain server with nodemon (optional):
npm run blockchain:nodemon
-
Run blockchain server:
npm run blockchain
-
Run miner client:
npm run miner
-
Run wallet client:
npm run wallet
If you want to contribute or discuss this project, please send an email to addsonbastos@proton.me. Let's collaborate and move forward together!
This project is licensed under the MIT license - see the LICENSE file for details.