Skip to content

Conversation

@dblackstone1
Copy link
Contributor

No description provided.

dblackstone1 and others added 9 commits September 21, 2025 20:33
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
@pyramation pyramation merged commit ccafa94 into hyperweb-io:main Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants