Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 948 Bytes

File metadata and controls

46 lines (35 loc) · 948 Bytes

NFT Framework Contracts

Welcome to Framework contracts monorepo.

Pre Install

I assume you have NodeJS NPM/YARN, Postgres, RabbitMQ and Redis installed or, you can just use docker and docker compose :)

In any case you have to fill up sensitive keys in .env files

This private keys starts with 0x and belongs to OWNER

PRIVATE_KEY=
PRIVATE_KEY1=
PRIVATE_KEY2=
PRIVATE_KEY3=

Install

npm i
npm run bootstrap
npm run build

DEV setup with Docker and Besu blockchain

  1. Stop all containers (if any) and clean existing besu and start fresh
docker stop $(docker ps -a -q)
docker compose down -v
rm -rf besu
docker compose up -d

-you will have local Besu blockchain and block explorer up and running

Test

npm run test

There is Swagger API documentation configured on http://localhost:3001/swagger

Configuration

For fine tune check services READMEs