Currently we use
const { Web3modal, WagmiCore, Chains } = await import(
"https://cdn.jsdelivr.net/npm/@web3modal/cdn@5.1.11/dist/wagmi.js"
);
but the package is deprecated: source https://www.npmjs.com/package/web3modal
Their upgrade path is documented at https://grok.com/share/bGVnYWN5_8af98068-6b7a-4db5-bda8-97da69f85621
We much prefer to use CDN version, rather than adding an entire build system (yarn/npm, Vite, webpack). ESPECIALLY because TenThousandSu.com is specifically designed to be a studyable/copy-pastable example for others to use.
Stronger than than, we require:
- Supports Trezor wallet
- Supports AirGap wallet
Currently we use
but the package is deprecated: source https://www.npmjs.com/package/web3modal
Their upgrade path is documented at https://grok.com/share/bGVnYWN5_8af98068-6b7a-4db5-bda8-97da69f85621
We much prefer to use CDN version, rather than adding an entire build system (yarn/npm, Vite, webpack). ESPECIALLY because TenThousandSu.com is specifically designed to be a studyable/copy-pastable example for others to use.
Stronger than than, we require: