Stellar
Stellar Provider is used to connect UKey Wallet Stellar accounts in web applications and initiate transaction XDR, Soroban Auth Entry or message signing requests. The page is accessible via window.$ukey.stellar.
ℹ️
The method form of this Provider is similar to Stellar Wallets Kit's KitActions, including getAddress, signTransaction, signAuthEntry, signMessage and getNetwork.
Fast Links
Mini Demo
const stellar = window.$ukey?.stellar;
if (!stellar?.isUKey) throw new Error("UKey Wallet Stellar Provider not detected");
const { address } = await stellar.getAddress();
const network = await stellar.getNetwork();
console.log({ address, network });
Top Errors
4001: The user refused the connection or signature request.