Admin
Table of Contents
Overview
SPV Wallet Admin console is an admin panel that allows for viewing (and in some parts integrating with) SPV Wallet data.
Usage
Locally
Clone spv-wallet-admin
Create an
env-config.json
file in root of the project and put SPV Wallet URL (localhost if you run locally):
If localhost doesn't work, try putting http://127.0.0.1:3000/v1
as the url.
Run SPV Wallet Admin
Enter the url in the browser (usually localhost:3000) and log in with your xPriv.
Docker-compose
Clone spv-wallet-admin
Create an
env-config.json
file in root of the project and put SPV Wallet URL (localhost if you run locally):
Add a volume with this file in docker-compose.yml:
Run docker-compose
Enter localhost:3000 in your browser and log in with your xPriv
What it offers
Admin Dashboard
You can quickly jump to useful links from here (like xpubs, transactions, destinations, paymails)
Viewing transactions and UTXOS (not implemented yet)
Registering an xPub
From xPriv
Or just by pasting an xPub key
Added xPubs are shown in XPubs list
Access Keys
View access key data
Revoke access key (not working - probably a frontend problem)
Destinations
Viewing addresses and locking scripts of destinations
Seems to be creating a new destination every minute
Paymails
Allows for viewing paymails
Revoking paymails (not working on local env because of CORS and some other errors)
Transactions
Viewing transaction data such as timestamp, sender, receiver, hash, etc.
+Transactions
Recording a transaction by passing Transaction ID or Hex string
Generic error messages, but looks like it's working fine
UTXOS
Showing spent and unspent UTXOS data
XPubs
Viewing xpubs
Project structure
App.js - entry point with all Providers
route.js - routes to pages
.env - env for specifing some titles and SPV Wallet URL
src
components - js components like dashboard, listing, etc
hooks - some useful hooks
icons - icons used in the dashboard
pages - explained here
theme - MUI Themes
utils - simple js functions
Last updated