Skip to content

Commit

Permalink
feat: support OneKey Wallet (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteZhang1024 authored Jan 8, 2024
1 parent d5d7a7b commit 0c47324
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Note: These are in alphabetical order, any new wallets must be in alphabetical o
- [Trust](https://www.npmjs.com/package/@trustwallet/aptos-wallet-adapter)
- [WELLDONE](https://www.npmjs.com/package/@welldone-studio/aptos-wallet-adapter)
- [OKX](https://www.npmjs.com/package/@okwallet/aptos-wallet-adapter)
- [OneKey](https://www.npmjs.com/package/@onekeyfe/aptos-wallet-adapter)

#### Develop Locally

Expand Down
2 changes: 2 additions & 0 deletions apps/nextjs-example/components/AppContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { TrustWallet } from "@trustwallet/aptos-wallet-adapter";
import { MSafeWalletAdapter } from "@msafe/aptos-wallet-adapter";
import { WelldoneWallet } from "@welldone-studio/aptos-wallet-adapter";
import { OKXWallet } from '@okwallet/aptos-wallet-adapter';
import { OnekeyWallet } from '@onekeyfe/aptos-wallet-adapter';
import {
AptosWalletAdapterProvider,
NetworkName,
Expand Down Expand Up @@ -51,6 +52,7 @@ const WalletContextProvider: FC<{ children: ReactNode }> = ({ children }) => {
new TrustWallet(),
new WelldoneWallet(),
new OKXWallet(),
new OnekeyWallet(),
];

return (
Expand Down
1 change: 1 addition & 0 deletions apps/nextjs-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@msafe/aptos-wallet-adapter": "^1.0.11",
"@nightlylabs/aptos-wallet-adapter-plugin": "^0.2.12",
"@okwallet/aptos-wallet-adapter": "^0.0.3",
"@onekeyfe/aptos-wallet-adapter": "^0.1.2",
"@openblockhq/aptos-wallet-adapter": "^0.1.5",
"@pontem/wallet-adapter-plugin": "^0.2.1",
"@rise-wallet/wallet-adapter": "^0.1.2",
Expand Down
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0c47324

Please sign in to comment.