web3/web/dist/hooks.js
Claude 5e38ba0bc8
rebrand(lethean): update branding, ports, and config for Lethean blockchain
- Coin: Zano → Lethean, ticker: ZAN/ZANO → LTHN
- Ports: 11211 → 36941 (mainnet RPC), 46941 (testnet RPC)
- Wallet: 11212 → 36944/46944
- Address prefix: iTHN
- URLs: zano.org → lethean.io
- Explorer links: explorer.lthn.io

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:24:13 +01:00

14 lines
No EOL
443 B
JavaScript

import LetheanWallet from './letheanWallet.js';
import { useEffect, useState } from 'react';
function useLetheanWallet(params) {
const [letheanWallet, setLetheanWallet] = useState(null);
useEffect(() => {
if (typeof window === 'undefined') {
return;
}
setLetheanWallet(new LetheanWallet(params));
}, []);
return letheanWallet;
}
export { useLetheanWallet };
//# sourceMappingURL=hooks.js.map