Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
/ truffle-nest-box Public archive

A truffle box to serve as the foundation of any Truffle and Nest.js dApp.

License

Notifications You must be signed in to change notification settings

ikhvost/truffle-nest-box

Repository files navigation

Logo

Truffle-NestJS-Box

To Be Used as Truffle Box Creating API Endpoints for Ethereum Blockchain.

We use personalised blockchain for Ethereum BlockChain Development. This personalised blockchain is made in the GanacheCLI.

The Smart Contract Written in solidity language is deployed on this Ethereum Blockchain. Smart Contract is Immutable hence, once deployed it can't be changed.

A truffle box to serve as the foundation of any Truffle and Nest.js dApp.

Pre-Requisites

  1. nvm
  2. npx

Installation

  1. Set correct Node.js version.
nvm use
  1. Install necessary dependencies.
npm clean-install
  1. Run the ganache-cli.
npx ganache
  1. Now these contracts need to be compiled and deployed on the Blockchain. For this, run npx truffle migrate inside project root directory.
  2. You can see that a new /build folder has been created in the root directory which contains the compiled contracts.
  3. Create .env file in root directory and pass to METACOIN_ADDRESS address of created contract from blockchain network. (You have .env.template as a sample)
  4. To run the Node server npm start.
  5. Server will be available on http://${APP_HOST}:${APP_PORT}/.

Collaborators

  1. Illia Khvost
  2. Bohdan Titov
  3. Philip Schulz-Klingauf

About

A truffle box to serve as the foundation of any Truffle and Nest.js dApp.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published