Open source · Wallet
GhostSig: a passkey wallet for XRPL and Stellar that stores no keys
GhostSig is a passkey web wallet for the XRP Ledger and Stellar. Its key is derived from the user’s passkey at each signature and never stored, and there is no backend. It is the default passkey module in the Stellar Wallets Kit and in XRPL Commons’ xrpl-connect. GhostSig is in beta, and the work continues.
- Our role
- Built and maintained by Pamphile Roy
- License
- MIT
- Status
- Beta, mainnet enabled, not yet audited
- Stack
- TypeScript, WebAuthn PRF, SLIP-10, SLIP-39
- Site
- ghostsig.dev
import { WalletManager, GhostsigAdapter } from 'xrpl-connect';
const wallet = new WalletManager({
adapters: [new GhostsigAdapter()],
network: 'testnet',
});
// A popup on ghostsig.dev and a passkey: nothing to install
const { address } = await wallet.connect('ghostsig');
// One passkey prompt approves one transaction
const { hash } = await wallet.signAndSubmit({
TransactionType: 'Payment',
Destination: 'rDestination...',
Amount: '1000000', // 1 XRP, in drops
}); What it does
GhostSig keeps no key. Each time the user signs, it derives the key from their passkey through the WebAuthn PRF extension, signs, and discards it. Nothing is written to storage, and there is no backend.
- XRPL multi-purpose tokens and trust lines, and Stellar SEP-41 tokens
- SLIP-39 split backups
- A popup protocol any application can connect to, used by Tansu and by Carbon Coin, our XRPL token demo
Where it ships
GhostSig is the default passkey module in the Stellar Wallets Kit, since v2.7.0, and in XRPL Commons’ xrpl-connect 1.0.0, so apps built on either kit can offer it without extra work. In xrpl-connect it is part of the main package and of its wallet picker; in the Stellar Wallets Kit it is one of the modules that follow SEP-43, Stellar’s wallet interface standard, exactly. One passkey wallet covers pilots on both networks.