SDK and widgets
Early accessSDK: connect
Shell
# npm install @terrawallet/connect (not published yet; name may change)What it will do#
- Find Terra Wallet through EIP-6963 in browsers with the extension, and through the Solana Wallet Standard.
- Fall back to WalletConnect v2 with a QR code on desktop, or the
terrawallet://wcdeep link on a phone. - Load WalletConnect lazily, only when it is needed, to keep the core small.
- Manage the session: accounts, chain switching, signing and sending, with typed errors.
- Use a publishable key (
tw_test_pk_...ortw_live_pk_...) locked to your allowed origins.
Until then#
- Discovery and connection: EIP-6963 and EIP-1193.
- Mobile and QR: WalletConnect and Deep links.
- wagmi apps: wagmi.