dorafactory-multisig
This poject is an MVP based on this design. The frontend framework consists of Vue3+Vite+ElementPlus.
Recommended IDE Setup
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
- Build the image,
docker build -t dorafactory-multsig:evaluate .
- Run a container,
docker run -p 3000:3000 dorafactory-multsig:evaluate
- Run the tests following the guide
Known issues
- 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.
- 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.