Docs

oneKeyWallet

A wallet configurator for Onekey Wallet which allows integrating the wallet with React.

It returns a WalletConfig object which can be used to connect the wallet to via ConnectWallet component or useConnect hook as mentioned in Connecting Wallets guide

Example

oneKeyWallet({
projectId: "YOUR_PROJECT_ID",
recommended: true,
});

Parameters

Returns