Skip to content

The Hewego project is an application designed for issuing bonds on the Hedera blockchain. The project's repository includes multiple components, such as the server, website, indexer, and smart contract resources, all necessary for the deployment and operation of the bond issuance platform on Hedera.

Notifications You must be signed in to change notification settings

namphantech/hewego

 
 

Repository files navigation

Hedera Hackathon Monorepos

Description

The Hewego project is an application designed for issuing bonds on the Hedera blockchain. The project's repository includes multiple components, such as the server, website, indexer, and smart contract resources, all necessary for the deployment and operation of the bond issuance platform on Hedera.

Techstack

  • Database: PostgresSQL
  • Frontend: NextJS
  • API, Indexer: NestJS
  • SmartContract: Solidity

Prerequisite

  • You must install Node version 18 or newer. To run stable application, we recommend using node version 18.

Env

Before starting the app you would need to setup env variables. To do so first go to the root apps dir of monorepo and copy all .env.example in each sub folder to .env file equivalently.

Installation

$ npm install -g pnpm
$ pnpm install

Build

$ pnpm run build

Running

# development
$ pnpm run dev

Smart Contract

$ cd packages/smart-contract
$ cp .env.example .env
$ yarn install 

# Run job task
$ npx hardhat run ./scripts/jobs.ts --network testnet

How to test the application

  • You need to have a Hedera testnet account. You can create one here.
  • You need to have Loan token (LTK) & Collateral token (CTK) in your account. You can get them by swaping HBAR to LTK or CTK.

Demo

About

The Hewego project is an application designed for issuing bonds on the Hedera blockchain. The project's repository includes multiple components, such as the server, website, indexer, and smart contract resources, all necessary for the deployment and operation of the bond issuance platform on Hedera.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 62.4%
  • TypeScript 35.1%
  • EJS 1.4%
  • JavaScript 0.6%
  • Shell 0.2%
  • Dockerfile 0.2%
  • Other 0.1%