Skip to content

Commit

Permalink
Merge pull request #202 from okxwallet/main
Browse files Browse the repository at this point in the history
feature: add wallet
  • Loading branch information
gregnazario authored Nov 28, 2023
2 parents f7984d9 + ad4afe9 commit 710a5a2
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 @@ -30,6 +30,7 @@ Note: These are in alphabetical order, any new wallets must be in alphabetical o
- [TokenPocket](https://www.npmjs.com/package/@tp-lab/aptos-wallet-adapter)
- [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)

#### 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 @@ -12,6 +12,7 @@ import { TokenPocketWallet } from "@tp-lab/aptos-wallet-adapter";
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 {
AptosWalletAdapterProvider,
NetworkName,
Expand Down Expand Up @@ -49,6 +50,7 @@ const WalletContextProvider: FC<{ children: ReactNode }> = ({ children }) => {
new TokenPocketWallet(),
new TrustWallet(),
new WelldoneWallet(),
new OKXWallet(),
];

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 @@ -25,6 +25,7 @@
"@martianwallet/aptos-wallet-adapter": "^0.0.4",
"@msafe/aptos-wallet-adapter": "^1.0.11",
"@nightlylabs/aptos-wallet-adapter-plugin": "^0.2.12",
"@okwallet/aptos-wallet-adapter": "^0.0.3",
"@openblockhq/aptos-wallet-adapter": "^0.1.5",
"@pontem/wallet-adapter-plugin": "^0.2.0",
"@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 710a5a2

Please sign in to comment.