Polkadot & Kusama ecosystem Enterprise Desktop application.
Detailed changelog with releases description is located in the changelog file
Minimum version of Node.js
is v18.x
.
Minimum version of pnpm
is v8.x
.
To install all dependencies:
pnpm install
Husky hooks will be installed automatically after installing project dependencies:
"prepare": "husky install"
P.S. don't update pre-commit file to npm githook:pre-commit
The production
run configuration is the same as production build except that the application won't be
installed in the operating system and source code hot-reload will be used.
Production configuration uses:
chains.json
file for chains configurationUse the following instructions in order to start application in the production
environment with hot-reload:
Electron (desktop) environment - recommended:
pnpm start
Web (browser) environment - not recommended:
pnpm start:renderer
The dev
run configuration shouldn't be used for production. This configuration is only for developing new features and
debugging errors.
Development configuration uses:
chains_dev.json
file that contains testnets in order to debug and test new featuresUse the following instructions in order to start application in the dev
environment with hot-reload:
Electron (desktop) environment - recommended:
pnpm start:dev
Web (browser) environment - not recommended:
pnpm start:renderer:dev
All the localisation files are stored in the /src/shared/locale
folder.
ESlint checks if localisation files are well-formed and valid including:
tsx
files are translatedpnpm lint:i18n-locale
checks if localization files are well-formed and validpnpm lint:i18n-fix
fixes the keys sorting orderpnpm lint:i18n-tsx
checks if tsx
files are translatedIn some cases there is no need to translate the text, so ESlint ignore rules should be used.
<span className="font-bold">
{/* eslint-disable-next-line i18next/no-literal-string */}
{data?.asset.symbol} ({data?.asset.name})
</span>
or
//eslint-disable-next-line i18next/no-literal-string
const qrCodePayload = `substrate:${address}:${wallet.accountId}`;
To package application for the local platform:
pnpm build
pnpm postbuild
pnpm dist
Log files help to solve your problem. Logs are collected in the nova-spektr.log
that is located in the folder:
~/Library/Logs/nova-spektr/nova-spektr.log
%USERPROFILE%\AppData\Roaming\nova-spektr\logs\nova-spektr.log
~/.config/nova-spektr/logs/nova-spektr.log
Sharing logs when you're contacting the support will speed up the problem fix.
Contributing guide is described in the CONTRIBUTING.md
Check the official support channels:
All issues are being tracked in the Nova Spektr Support project
Your feedback is welcome. Use GitHub issues for submitting the feedback. All feedback is being tracked in the Nova Spektr Feedback project
Nova Spektr - Polkadot, Kusama enterprise application is available under the Apache 2.0 license. See the LICENSE file for more info. © Novasama Technologies GmbH 2023