feat: update Aria wallet integration#582
Merged
pyramation merged 9 commits intohyperweb-io:mainfrom Jan 4, 2026
Merged
Conversation
Extend AriaClient to implement the complete cosmos-kit WalletClient API, enabling proper integration with cosmos-kit based dApps. Key additions: - disconnect() properly delegates to window.aria.disconnect() - Connection lifecycle: enable, addChain, on/off events, disable, ping - Signature verification: verifyArbitrary - Power features: getKeysSettled, getChainInfosWithoutEndpoints, getConnectedApps, disconnectApp - Secret Network (Enigma): encryption, decryption, viewing keys - EVM/Ethereum: signEthereum, sendEthereumTx, suggestERC20 - Advanced signing: signDirectAux, EIP-712, ICNS ADR-036 - Multi-chain: Starknet keys/signing, Bitcoin PSBT signing - Solana/SVM: keys, transaction signing, message signing - Ledger hardware wallet support
When running inside the Aria mobile app's in-app browser (detected via userAgent), use the full extension client with all features. In regular mobile browsers, WalletConnect is used (limited to signing only). Changes: - aria-extension: export client and utils from index - aria-extension: add standalone tsconfig for isolated builds - aria-mobile: add @cosmos-kit/aria-extension dependency - aria-mobile: detect AriaMobile userAgent and use extension client - aria-mobile: add tsconfig.build.json for builds
Implement all 47 methods from aria-extension in the WalletConnect client with appropriate behavior for each environment: - Add AriaClient with capability detection (client.capabilities) - Add custom WC methods: signArbitrary, sendTx, verifyArbitrary, signEthereum, signDirectAux, experimentalSignEIP712CosmosTx_v0 - Add clear error messages for unsupported methods (Enigma, Bitcoin, Starknet, Solana, Ledger) explaining why and suggesting alternatives - Add types.ts re-exporting aria-extension types + AriaWCCapabilities - Update registry.ts with requiredNamespaces for custom Aria WC methods - Add peerDependencies for @cosmjs/amino and @cosmjs/proto-signing
Feat/aria mobile parity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.