๐Ÿƒโ€โ™€๏ธ PloHub

ํ”Œ๋กœ๊น…(์กฐ๊น…์„ ํ•˜๋ฉด์„œ ์“ฐ๋ ˆ๊ธฐ๋ฅผ ์ค๋Š” ํ–‰์œ„)์„ ์ข‹์•„ํ•˜๋Š” ์‚ฌ๋žŒ๋“ค์ด ํ–‰์‚ฌ ์ •๋ณด, ์ฝ”์Šค ์ •๋ณด, ์ฐธ์—ฌ ํ›„๊ธฐ ๋“ฑ์˜ ๊ธฐ๋ก์„ ๊ณต์œ ํ•  ์ˆ˜ ์žˆ๋Š” ์ธ์„ผํ‹ฐ๋ธŒ ๊ธฐ๋ฐ˜ ์ปค๋ฎค๋‹ˆํ‹ฐ ์„œ๋น„์Šค

๐ŸŽช Team

์ด๋ฆ„ ์—ญํ•  ๋‹ด๋‹น
์ดํšจํ™• ํŒ€์žฅ main-server, docker setup
๊น€์„œ์—ฐ ํŒ€์› client
๋ฐ•์ƒํ˜„ ํŒ€์› smart contract, contract-server, daemon

๐Ÿ“ Documents

If you want to see more details, please visit our notion page

๐Ÿ“š Stack

Client

Main Server

Contract Server

Daemon

Smart Contract & Blockchain

Infra (Test)

๐Ÿ›’ Requirements

  • node v16.14.0
  • npm v9.4.0
  • go v1.20.0 (optional)
  • docker
  • aws access key & secret key (grant s3 full access)
  • pinata api key & secret key

๐Ÿณ Run on Docker Compose

1. create config files from template (.example files)

  • client/.env
  • main-server/config/config.docker.json
  • contract-server/.env
  • contract-server/src/config/config.json
  • daemon/src/config/config.json

2. Run ganache and deploy contracts

$ docker compose up -d ganache
$ cd contract && npm i && npx truffle migrate --network docker

copy and paste deployed contract addresses to contract-server/.env

3. Run docker compose

$ docker compose up -d

4. Run client

$ cd client && npm i && npm run dev