Skip to content

own-2023/blockchain-service

Repository files navigation

Blockchain Service

Blockchain Service created using Nestjs and connects to the blockchain of a locally running Ganache Ethereum node using the web3.js library. Additionally, images intended for storage are stored here in a decentralized manner using the IPFS (InterPlanetary File System) protocol without any fees, and it integrates with the blockchain service.

Requirements

Node.js version 18 or higher, 18 is recommended. Docker Desktop or Docker Engine

Usage

This command installs project dependencicies

npm install

To run this project, make sure Docker is running and execute the docker-compose command. This command will download and install the necessary images such as ganache, ipfs-kubo, mysql

docker compose up

Run the blockchain service using the following command

npm run start:dev

Testing

This project is tested using Jest. You can run the tests using the following command.

# unit tests
$ npm run test

About

Web service for blockchain operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors