Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ava-labs/avalanche-wallet
The Avalanche web wallet
https://github.com/ava-labs/avalanche-wallet
Last synced: about 1 month ago
JSON representation
The Avalanche web wallet
- Host: GitHub
- URL: https://github.com/ava-labs/avalanche-wallet
- Owner: ava-labs
- License: bsd-3-clause
- Created: 2020-01-01T16:16:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-11T20:26:53.000Z (about 1 year ago)
- Last Synced: 2024-08-04T06:02:50.664Z (4 months ago)
- Language: Vue
- Homepage: https://wallet.avax.network/
- Size: 9.28 MB
- Stars: 231
- Watchers: 35
- Forks: 163
- Open Issues: 76
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- best-of-crypto - GitHub - 68% open · ⏱️ 05.07.2023): (Others)
README
# Avalanche (AVAX) Wallet
This is the frontend Vue.js application for the Avalanche (AVAX) Wallet.
## Prerequisites
- Yarn (https://classic.yarnpkg.com/en/docs/install/)
- Recent version of npm (7.4.0)
- Node v16
- Gecko, Avalanche client in Golang (https://github.com/ava-labs/avalanchego)## Installation
1. Clone the repo `git clone https://github.com/ava-labs/avalanche-wallet.git`
2. Go to root of the project `cd avalanche-wallet`
3. Install javascript dependencies with `yarn install`.## Running The Project
In order for the wallet to work, it needs the Avalanche network to operate on. By default the wallet will connect to the Avalanche mainnet.
1. If you want to connect to a local network, make sure you have installed and able to run a AvlaancheGo node properly.
2. Run the project with hot reloading `yarn serve`When you go to the website on your browser, you might get a warning saying
"Site is not secure". This is because we are signing our own SSL Certificates. Please ignore and continue to the website.## Deployment
1. Compile and minify to have a production ready application with `yarn build`.
2. Serve from the `/dist` directory.## Changing the Network
By default the wallet will connect to the Avalanche tmainnet. You can change to another network by clicking the button labeled `TestNet` on the navigation bar and selecting another network, or add a custom network.
## Explorer API
A valid explorer API is required to correctly display balances for Mnemonic and Ledger type wallets.
The wallet uses the Avalanche Explorer API to display wallet transaction history.WARNING: This history might be out of order and incomplete.
## Browser Support
We suggest using Google Chrome to view the Avalanche Wallet website.
### Firefox and https
Firefox does not allow https requests to localhost. But the Avalanche Wallet uses https by default, so we will need to change this to http. Make this switch by editing the `vue.config.js` file in the root directory and change
```
devServer: {
https: true
},
```to
```
devServer: {
https: false
},
```and run `yarn serve` to reflect the change.
# Accounts
The wallet can encrypt your private keys into a secure file encrypted by a password.
```json
{
"accounts": iUserAccountEncrypted[]
}
```# Language Setting
Saved into local storage as a 2 letter code.
```
"lang": "en"
```# Dependencies
##### Avalanche Node (https://github.com/ava-labs/avalanchego)
To get utxos and to send transactions.
#### Explorer API Node (https://github.com/ava-labs/ortelius)
To check if an address was used before, and to get activity history.
# Default Connections
The wallet needs to connect to an Avalanche node, and an explorer node to operate properly.
By default, there are two network options to connect to: `Mainnet` and `Fuji`.
##### Mainnet
- Avalanche API: `https://api.avax.network:443`
- Explorer API: `https://explorerapi.avax.network`##### Fuji (Testnet)
- Avalanche API: `https://api.avax-test.network:443`
- Explorer API: `https://explorerapi.avax-test.network`