⚠️ Deprecation warning: This repository has been integrated into the Alephium frontend monorepo and is no longer maintained.
The official Alephium desktop wallet.
Install depedencies with:
npm installTo launch it as an electron app, run:
npm run start:electronnpm testThe command below will detect your OS and build the corresponding package:
npm run electron-packTo build for ARM64 Linux, run:
npm run electron-pack-linux:arm64To release a new version:
-
Checkout the master branch:
git checkout master
-
Create a commit that updates the package version in package.json and package-lock.json and a tag with:
npm version patch # if you want to bump the patch version npm version minor # if you want to bump the minor version npm version major # if you want to bump the major version npm version prepatch --preid=rc # if you want to create a release candidate and bump the patch version npm version preminor --preid=rc # if you want to create a release candidate and bump the minor version npm version premajor --preid=rc # if you want to create a release candidate and bump the major version
-
Push the new commit and new tag to GitHub to trigger the release workflow that will build the downloadable binaries:
git push git push [remote] <tag>
-
Copy
locales/fr-FR/translation.jsonintolocales/[xx-YY]/translation.jsonand add your translations. -
Import new translation file and add it to the resources in
src/i18n.tsimport en from '../locales/en-US/translation.json' import fr from '../locales/fr-FR/translation.json' i18next.use(initReactI18next).init({ resources: { 'en-US': { translation: en }, 'fr-FR': { translation: fr } } })
-
Add new language option in
src/utils/settings.tsconst languageOptions = [ { label: 'English', value: 'en-US' }, { label: 'Français', value: 'fr-FR' } ]
-
Import
dayjstranslation file insrc/storage/settings/settingsSlice.tsimport 'dayjs/locale/fr'
