DoraFactory / dorafactory-multisig

A web3 grant program demonstrating our design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dorafactory-multisig

This poject is an MVP based on this design. The frontend framework consists of Vue3+Vite+ElementPlus.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

Unit test

Unit test case are built with vitest and Vue Test Utils(VTU), to run all unit tests just type following command

npm run test

Integration test with Docker

  1. Build the image,
    docker build -t dorafactory-multsig:evaluate .
  2. Run a container,
    docker run -p 3000:3000 dorafactory-multsig:evaluate
  3. Run the tests following the guide

Known issues

  1. Vue build does not support some of our polkadot packages, it'll always fail. This is a known issue to be fixed. vitejs/vite#7364 Currently, our project can only be view under development mode.
  2. You may have found that our account icon/avatar won't change, as the vue-identicon dose not support Vue3 yet. It's logged polkadot-js/ui#611, we'll update our code once it's upgraded. Also, we can add PR for it when we're free.

About

A web3 grant program demonstrating our design

License:MIT License


Languages

Language:Vue 88.0%Language:JavaScript 9.9%Language:CSS 1.4%Language:Dockerfile 0.3%Language:HTML 0.3%