A simple javascript XAHAU wallet to check balances, send XAH, create new mainnet accounts offline and create testnet funded accounts. It uses the xrpl.js library.
It uses a seed to derive the account address and sign transactions, 2 options are possible:
Option A: 29 characters seeds (suNq9PQrYKEifmLdFs9NPjdLeyMKm) which usually corresponds to the secp256k1 algorithm.
Option B: 31 characters seeds (sKdNVBLAmVjgcDrEfDSzTSBqsagHMEd) which usually corresponds to the ed25519 algorithm.
Step by step guide to use the code:
-
Create an empty folder in your desktop and name it as you like.
-
Download the 4 files I have in this project to that folder.
-
Open the HTML file in your browser.
-
Select the network. It works for Mainnet and Testnet.
-
It allows to create a Mainnet account (which has to be activated later with XAH). Do it offline, it's purely mathematical.
-
It allows to create a Testnet funded account from the faucet. You can do it online as it's just testnet XAH.
-
It allows to send XAH. Warning: if you sign and send a transaction using the same computer, as it has internet conection, we can consider the private key compromised once broadcasted the transaction. So, each time you send XAH using this wallet you should generate a new keyparir using a computer that never is connected to the internet and send your XAH there.
Demo online just for educational purposes here: https://skunk-proper-smoothly.ngrok-free.app/tools/simpleXAHAUwallet/xahauwallet