This is the developer source repository, general information, and download page can be found at Asgardex
βοΈ implemented
β
planned
- not needed
| RUNE | BTC | BCH | DOGE | ETH / ERC20 | LTC | COSMOS | BSC | AVAX | MAYA | DASH | KUJI | SOL | XRP | ARB | BASE | TRON | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Keystore | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Ledger * | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Vultisig *** | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Send ** | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Receive | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Deposit | βοΈ | - | - | - | - | - | - | - | - | βοΈ | - | - | - | - | - | - | - |
| Shares | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| History | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Synths | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | - | - | - | - | - | - | - | - |
(*) Ledger RUNE is not supported at stagenet. Ledger LTC/BCH/DOGE are not supported at testnet.
(**) With or without memo
(***) Vultisig MPC wallet (BETA). Also supports ZEC, ADA, XRP, XRD, SOL, and TRON beyond the chains listed in the table. See Vultisig section for details.
| RUNE | BSC /BEP20 | BTC | BCH | DOGE | ETH / ERC20 | LTC | COSMOS | AVAX | ARB | BASE | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Pools overview | - | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Pool detail | - | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Swap | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Deposit * | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Withdraw * | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Recovery tool | β | β | β | β | β | β | β | β | β | β | β |
(*) Symmetrical deposit/withdraw only
| MAYA | RUNE | BTC | ETH / ERC20 | KUJI | DASH | ARB | |
|---|---|---|---|---|---|---|---|
| Pools overview | - | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Pool detail | - | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Swap | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Deposit * | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Withdraw * | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Recovery tool | β | β | β | β | β | β | β |
| Synths | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
| Savers | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
(*) Symmetrical deposit/withdraw only
| Overview | Status | BOND | UNBOND | LEAVE | THORName |
|---|---|---|---|---|---|
| βοΈ | β | βοΈ | βοΈ | βοΈ | βοΈ |
| Overview | Status | BOND | UNBOND | LEAVE | MAYAName |
|---|---|---|---|---|---|
| βοΈ | β | βοΈ | βοΈ | βοΈ | βοΈ |
| ENGLISH πΊπΈ | GERMAN π©πͺ | FRENCH π«π· | RUSSIAN π·πΊ | HINDI :hi: | SPANISH πͺπΈ | KOREAN :ko: |
|---|---|---|---|---|---|---|
| βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ | βοΈ |
- 100% open-source (built by the community)
- Security first
- 30 bps affiliate fees only on swaps over $1001
- No affiliate fee on: RunePool, LP actions
(in alphabetical order)
- ESLint
- Electron
- fp-ts
- HeadlessUI
- Observable Hooks
- Prettier
- ReactJS
- Styled Components
- RxJS
- TailwindCSS
- Typescript
- Vite
- Vitest
- xchainjs-lib
- and others ...
It's recommended to use a Node version as same as Electron is running with (currently: Electron 35 / Node 22.14). It's recommended to install nvm to run as the same Node version locally as used for building ASGARDEX on CI.
git clone https://github.com/asgardex/asgardex-desktop.git asgardex
cd asgardex
yarnWhile environment variables are not required (defaults are set), you can configure them. Create an .env file by copying all content of .env.sample and change these for your needs.
- Build everything needed (main, preload and renderer) and run application in
watchmode
yarn devIn case Node might run into memory issues locally set --max-old-space-size as follow:
export NODE_OPTIONS="--max-old-space-size=4096"You may need to install the following dependencies in your local machine in order to build the native libraries used by Asgardex
- Install python3
- Install 'Microsoft C++ build tools'
You may need to install the following dependencies in your local machine in order to build the native libraries used by Asgardex
- Install python3
- Install dependency build-essential
sudo apt-get install build-essential- Install dependency libudev-dev
sudo apt-get install libudev-devWhenever THORChain ERC20 asset whitelist has been updated (usually with a new release of THORNode), run following script to auto-generate this list for ASGARDEX
For synths to have an icon the asset in the whitelist needs to be duplicated and the synth boolean flipped true
yarn generate:erc20whitelist
yarn generate:avaxerc20whitelist
yarn generate:bscerc20whitelist
yarn generate:arberc20whitelistHow to auto-unlock a locked wallet while hot-reloading the app (for development only, disabled in production build)
Use VITE_WALLET_PASSWORD to run the app by replacing password with your own password
VITE_WALLET_PASSWORD=password yarn devOr add to VITE_WALLET_PASSWORD=password to .env file and run yarn dev
yarn testyarn lintvisualize the bundle map using source-map-explorer
yarn analyzeTo check locally if auto-update works correctly create dev-app-update.yml file at the root
directory with a content based on dev-app-update.sample.yml with providing
your GutHub personal access token. After that just play locally with version provided by package.json
src
βββ main # sources of Electron's main process
βββ renderer # sources of Electron's renderer process (aka webapp)
βββ shared # shared sources for Electron's main and renderer processessrc/main
βββ electron.ts # entry point
βββ i18n # internationalization (needed for menus)
βββ menu # "native" menussrc/renderer
βββ assets # static files (svg, fonts etc.)
βββ components # basic components
βββ contexts # React contexts to provide "global" accessible states (RxJS based)
βββ helpers # helper functions
βββ hooks # custom hooks
βββ i18n # internationalization (translations etc.)
βββ index.tsx # entry point
βββ routes # routing
βββ services # RxJS based IO handler and states (consumed by contexts)
βββ types # TypeScript types (e.g. generated types for Midgard API)
βββ views # "Container" componentsASGARDEX follows security recommendation made by Electron team, such as:
- Disable the Node.js integration in renderers that display remote content
- Enable context isolation in renderers that display remote content
- Expose IPC-based APIs to provide one method per IPC message
- Disable the remote module
- Do not use openExternal with untrusted content. Provided hostnames are defined in
EXTERNALS_WHITELIST, all others are blocked. This list has to be extended if needed. - Use a current version of Electron
Important note for macOS users: Please follow guide of "How to package ASGARDEX on macOS" before running following command.
yarn package:electronOn Linux, yarn package:electron builds a Flatpak bundle alongside the deb and AppImage targets. The Flatpak target needs flatpak and flatpak-builder installed, plus the runtimes it bundles against (the config pins freedesktop 24.08):
# Build tooling (use your distro's package manager)
sudo apt install flatpak flatpak-builder
# Runtimes / base app
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub org.freedesktop.Platform//24.08 org.freedesktop.Sdk//24.08 org.electronjs.Electron2.BaseApp//24.08The bundle is written to release/ASGARDEX-<version>-linux.flatpak. Install and run it with:
flatpak install --user --bundle release/ASGARDEX-<version>-linux.flatpak
flatpak run org.thorchain.asgardexSwitching from a
*.deb/AppImage install? Existing keystores are imported into the sandbox automatically on first launch β see Keystores β Linux.
By creating or importing a keystore wallet, ASGARDEX is adding its encrypted keystore into wallets.json in Electron's appData folder at following location:
# ASGARDEX installed from *.exe
%APPDATA%/ASGARDEX/storage/wallets.json
# ASGARDEX built and run locally
%APPDATA%/Electron/storage/wallets.json# ASGARDEX installed from *.dmg
~/Library/Application Support/ASGARDEX/storage/wallets.json
# ASGARDEX built and run locally
~/Library/Application Support/Electron/storage/wallets.json# ASGARDEX installed from *.deb
~/.config/ASGARDEX/storage/wallets.json
# ASGARDEX installed from *.flatpak (sandboxed path)
~/.var/app/org.thorchain.asgardex/config/ASGARDEX/storage/wallets.json
# ASGARDEX built and run locally
~/.config/Electron/storage/wallets.jsonThe Flatpak runs in a sandbox, so ~/.config is redirected to ~/.var/app/org.thorchain.asgardex/config. When switching from the *.deb/AppImage install, ASGARDEX imports the existing ~/.config/ASGARDEX/storage into the sandbox automatically on first launch (the native files are left untouched).
By removing a wallet in Wallet -> Settings its data will be removed from wallets.json. ASGARDEX will prompt a message to users to inform about saving its phrase on a save place before removing the wallet.
After removing all wallets wallets.json will be empty and won't include any wallet related data.
By adding a Ledger account to a wallet, ASGARDEX saves its address and some extra information (chain, network, walletIndex, hdMode) into ledgers.json located in Electron's appData folder:
# ASGARDEX installed from *.exe
%APPDATA%/ASGARDEX/storage/ledgers.json
# ASGARDEX built and run locally
%APPDATA%/Electron/storage/ledgers.json# ASGARDEX installed from *.dmg
~/Library/Application Support/ASGARDEX/storage/ledgers.json
# ASGARDEX built and run locally
~/Library/Application Support/Electron/storage/ledgers.json# ASGARDEX installed from *.deb
~/.config/ASGARDEX/storage/ledgers.json
# ASGARDEX built and run locally
~/.config/Electron/storage/ledgers.jsonWhenever a Ledger has been removed in Wallet -> Settings, its data will be removed from ledgers.json. By removing all Ledger accounts from each wallet ledgers.json will be empty and won't include any Ledger related data. The same by removing all wallets.
On Linux the Ledger USB device is only accessible after the Ledger udev rules are installed β without them the app (any of *.deb, AppImage, or Flatpak) fails to connect with errors like "Getting address from Ledger failed". Install the rules once, then unplug and replug the device:
curl -fsSL https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bashThis is a host-level requirement and is independent of the Flatpak sandbox (the Flatpak grants USB device access via --device=all).
ASGARDEX supports Vultisig MPC (multi-party computation) wallets as a third wallet mode alongside Keystore and Ledger. The integration is currently in beta -- a "BETA" indicator is shown in the UI when Vultisig mode is active.
- Vault creation -- Two modes: Fast vault (email + password, server-assisted) and Secure vault (2-of-2 MPC with phone pairing via QR code)
- 20-chain support -- BTC, ETH, THOR, MAYA, BSC, AVAX, GAIA, DOGE, LTC, BCH, ARB, BASE, DASH, XRP, SOL, ZEC, KUJI, ADA, TRON, XRD
- Send transactions across all supported chains
- Token swaps via THORChain and MAYAChain (verified: BTC, ETH, CACAO, ERC20 tokens)
- ERC20 token approvals
- Vault import/export using
.vultfiles - Vault lock/unlock with password encryption
- Unified wallet dropdown -- switch between Keystore, Ledger, and Vultisig vaults from the header
The following features are guarded with "not implemented" warnings when using a Vultisig wallet:
- Trade deposits
- Liquidity provision (add/withdraw)
- Bonds management
Vultisig uses the Vultisig MPC SDK, which runs exclusively in Electron's main process. The renderer communicates with the SDK via IPC through window.apiMpc (exposed in the preload script). Key files:
- SDK IPC handlers:
src/main/api/mpc/ - Vault lifecycle:
src/renderer/services/wallet/vaultManager.ts - MPC type definitions:
src/shared/api/mpcTypes.ts
See RELEASE.md
See the docs and guides here
Everyone is welcome to contribute. Check open issues or create a new one to start your work with and open a PR afterwards. Newcomers might want to check issues labeled as good first issues.
Please use bug report template to file any bugs.

