@qorechain/connect
v0.1.0
Published
One universal wallet connector for QoreChain across all 3 VMs (EVM, Cosmos, SVM). Detects any wallet by its standard interface (EIP-1193, OfflineDirectSigner, Solana Wallet Standard) and auto-layers the FIPS-204 PQC signature only where the chain requires
Downloads
38
Readme
@qorechain/connect
One component to connect any wallet to QoreChain across all three VMs.
It detects the wallet by the standard interface it exposes and routes the
transaction, auto-layering the FIPS-204 ML-DSA-87 signature only where the
chain requires it (Cosmos + SVM-execute) and skipping it on the PQC-exempt EVM
lane. Built on @qorechain/wallet-adapter.
import { QoreConnect } from '@qorechain/connect';
const vm = QoreConnect.detect(wallet); // 'evm' | 'cosmos' | 'svm'
await QoreConnect.send(wallet, { to, amount }); // routed + PQC where neededCoverage — top wallets per VM (all use a standard interface this routes)
| VM | Interface detected | Wallets |
|---|---|---|
| EVM | EIP-1193 / EIP-6963 (provider.request) | MetaMask · Trust · Coinbase · Rabby · OKX · Brave · Rainbow · Zerion · Frame · imToken |
| Cosmos | OfflineDirectSigner (signDirect) | Keplr · Leap · Cosmostation · Station · Compass · XDEFI · OWallet · Coin98 · Fox · Trust |
| SVM | Solana Wallet Standard (signAndSendTransaction) | Phantom · Solflare · Backpack · Glow · Coinbase · Exodus · OKX · Trust · Brave · Coin98 |
Because each wallet conforms to its VM's standard interface, the single connector covers all of them — no per-wallet code. Verified live: EVM tx mined; Cosmos PQC tx committed code 0 (ML-DSA accepted); SVM read OK.
PQC, automatically
- EVM → structurally PQC-exempt → wallet signs natively, no extra step.
- Cosmos → PQC-required → connector bakes the ML-DSA-87 extension into the body
before the wallet
signDirects it, so the wallet needs zero changes. - SVM → reads native;
tx svm executeis a cosmos tx → same PQC layer.
License
Apache-2.0
