Agent-ready, AI-native wallet connectivity for Polkadot apps — browser extensions, Ledger, Polkadot Vault, and proxy accounts in one toolkit.
Core observables for extensions and accounts discovery
Providers and hooks for connecting to web3 wallets and interacting with accounts
Ledger hardware wallet adaptor for @polkadot-cloud/connect
Proxy account adaptor and hooks for @polkadot-cloud/connect
Polkadot Vault (QR-based) wallet adaptor for @polkadot-cloud/connect
Install the React package with the core state layer and Dedot API, which Cloud Connect utilises for chain access:
pnpm add @polkadot-cloud/connect @polkadot-cloud/connect-core dedotRegister a Dedot client for each network your dapp uses, then mount ConnectProvider near the root of your React tree:
import { ConnectProvider } from '@polkadot-cloud/connect'
import { removeApi, setApi } from '@polkadot-cloud/connect-core'
import { DedotClient, WsProvider } from 'dedot'
const network = 'polkadot'
const api = await DedotClient.new(new WsProvider('wss://rpc.polkadot.io'))
setApi(network, api)
export function App() {
return (
<ConnectProvider ss58={0} dappName="My Dapp" network={network}>
<Dapp />
</ConnectProvider>
)
}
// On teardown:
removeApi(network)
await api.disconnect()Inside the provider, use useExtensions() to connect browser wallets, useExtensionAccounts() or useImportedAccounts() to read accounts, and useActiveAccount() to track the selected account. Add optional first-party adaptors through the adaptors prop when your app needs Ledger, Polkadot Vault, or proxy account support.
For agent-facing usage context and integration procedures, see the skill files in .agents/skills.