Skip to content

vsavchyn-dev/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplified Blockchain

This project is a simple implementation of a blockchain using C++ and OpenSSL's SHA256 algorithm.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have "make" tool in your
  • You have installed the latest version of CMake.
  • You have installed vcpkg, a C++ package manager, and setted-up VCPKG_ROOT variable.

Building the Project

To build the project, follow these steps:

  1. Clone the repository:
git clone https://github.com/vsavchyn-dev/blockchain
cd blockchain
  1. Install the projcet dependencies:

This project depends on OpenSSL. You can install it using vcpkg in directory:

vcpkg install openssl
  1. Configure the project with CMake:
cmake -B build . -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystem/vcpkg.cmake
  1. Build the project:
cd ./build/ && make

or

cmake --build build && cd ./build/

Running the project

After building the project, you can run it from build directory with:

./blockchain-exmp

This will start the blockchain simulation.

About

simple blockchain using openssl's SHA256 algorithm implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors