2023-12-28 11:10:28 +11:00
|
|
|
# FireWalletBrowser
|
2024-01-29 15:19:38 +11:00
|
|
|
## Installation
|
|
|
|
|
2025-01-31 16:53:22 +11:00
|
|
|
See [here](https://firewallet.au/setup) for instructions on how to setup a FireWallet
|
|
|
|
|
2024-01-29 15:19:38 +11:00
|
|
|
```bash
|
|
|
|
git clone https://github.com/Nathanwoodburn/firewalletbrowser.git
|
|
|
|
cd firewalletbrowser
|
|
|
|
python3 -m pip install -r requirements.txt
|
|
|
|
cp example.env .env
|
|
|
|
```
|
|
|
|
|
2024-01-29 15:48:36 +11:00
|
|
|
Edit .env to have your HSD api key.
|
|
|
|
If you have HSD runnning on a separate computer also add the IP here
|
|
|
|
|
2024-01-29 15:19:38 +11:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
Make sure HSD is running then run the following commands:
|
|
|
|
|
2024-02-13 10:00:55 +11:00
|
|
|
On Linux:
|
2024-01-29 15:19:38 +11:00
|
|
|
```bash
|
|
|
|
python3 server.py
|
|
|
|
# Or for more verbose output
|
|
|
|
python3 main.py
|
|
|
|
```
|
|
|
|
|
2024-02-13 10:00:55 +11:00
|
|
|
On Windows:
|
|
|
|
```bash
|
2024-02-17 11:57:04 +11:00
|
|
|
python3 main.py
|
2024-02-13 10:00:55 +11:00
|
|
|
```
|
|
|
|
|
|
|
|
|
2024-01-29 15:42:54 +11:00
|
|
|
Then access the wallet at http://localhost:5000
|
|
|
|
|
|
|
|
|
|
|
|
Also available as a docker image:
|
|
|
|
To run using a HSD running directly on the host:
|
|
|
|
|
|
|
|
```bash
|
2025-01-31 15:58:46 +11:00
|
|
|
sudo docker run --network=host -e HSD_API=yourapikeyhere git.woodburn.au/nathanwoodburn/firewallet:latest
|
2024-01-29 15:48:36 +11:00
|
|
|
```
|
|
|
|
|
|
|
|
If you have HSD running on a different IP/container
|
|
|
|
|
|
|
|
```bash
|
2025-01-31 15:58:46 +11:00
|
|
|
sudo docker run -p 5000:5000 -e HSD_API=yourapikeyhere -e HSD_IP=hsdcontainer git.woodburn.au/nathanwoodburn/firewallet:latest
|
2024-01-29 16:00:22 +11:00
|
|
|
```
|
|
|
|
|
2025-01-28 17:38:02 +11:00
|
|
|
For Docker you can mount a volume to persist the user data (/app/user_data)
|
|
|
|
|
2024-02-04 15:08:24 +11:00
|
|
|
## Features
|
|
|
|
- Basic wallet functionality
|
2024-02-04 16:55:28 +11:00
|
|
|
- Create new wallet
|
|
|
|
- Import wallet from seed
|
2024-02-04 15:08:24 +11:00
|
|
|
- Send HNS
|
|
|
|
- Receive HNS
|
|
|
|
- Have multiple wallets
|
|
|
|
- View transactions
|
|
|
|
- View balance
|
|
|
|
- View wallet domains
|
|
|
|
- Domain management
|
|
|
|
- Transfer domains
|
|
|
|
- DNS Editor
|
|
|
|
- Renew domains
|
|
|
|
- Auctions
|
|
|
|
- Send open
|
|
|
|
- Send bid
|
|
|
|
- Send reveal
|
|
|
|
- Send redeem
|
|
|
|
- Download a list of all domains
|
|
|
|
- Resend all pending transactions
|
|
|
|
- Rescan
|
|
|
|
- Zap pending transactions
|
|
|
|
- View xPub
|
2025-01-29 17:07:44 +11:00
|
|
|
- Custom plugin support (find some [here](https://git.woodburn.au/nathanwoodburn?tab=repositories&q=plugin&sort=recentupdate))
|
2024-02-04 15:08:24 +11:00
|
|
|
|
2024-02-01 23:41:22 +11:00
|
|
|
## Themes
|
|
|
|
Set a theme in the .env file
|
|
|
|
**Available themes**
|
|
|
|
- dark-purple
|
|
|
|
- black
|
2024-01-29 16:00:22 +11:00
|
|
|
|
|
|
|
## Images
|
|
|
|
Login page
|
|
|
|

|
|
|
|
|
|
|
|
Home page
|
|
|
|

|
|
|
|
|
|
|
|
Transactions page
|
|
|
|

|
|
|
|
|
|
|
|
Send page
|
|
|
|

|
|
|
|
|
|
|
|
Transaction confirmation
|
|
|
|

|
|
|
|
|
|
|
|
Receive page
|
|
|
|

|
|
|
|
|
|
|
|
Settings page
|
|
|
|

|
|
|
|
|
|
|
|
Domain page
|
|
|
|

|
|
|
|
|
|
|
|
Domain management page
|
|
|
|

|
|
|
|
|
|
|
|
DNS Editor page
|
|
|
|

|
|
|
|
|
|
|
|
Auction page
|
2025-01-29 13:59:39 +11:00
|
|
|

|
|
|
|
|
|
|
|
## Environment variables
|
|
|
|
|
|
|
|
```yaml
|
2025-01-31 15:58:46 +11:00
|
|
|
HSD_API: HSD API key
|
|
|
|
HSD_IP: HSD IP address
|
|
|
|
THEME: Theme to use (dark-purple, black)
|
|
|
|
SHOW_EXPIRED: Show expired domains (true/false)
|
2025-01-31 16:53:22 +11:00
|
|
|
EXCLUDE: Comma separated list of wallets to exclude from the wallet list (default primary)
|
2025-01-31 16:21:44 +11:00
|
|
|
EXPLORER_TX: URL for exploring transactions (default https://niami.io/tx/)
|
|
|
|
HSD_NETWORK: Network to connect to (main, regtest, simnet)
|
2025-01-29 13:59:39 +11:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Warnings
|
|
|
|
|
|
|
|
- This is a work in progress and is not guaranteed to work
|
|
|
|
- This is not a wallet by itself but rather a frontend for HSD
|
|
|
|
- I am not responsible for any loss of funds from using this wallet (including loss of funds from auctions)
|
|
|
|
- I am not responsible if you expose this frontend to the internet (please don't do this unless you know what you are doing)
|