|
@@ -11,36 +11,36 @@ Please search https://solana.stackexchange.com and the issues in the repo. Issue
|
|
|
|
|
|
|
|
## I am building an app, how do I use this?
|
|
## I am building an app, how do I use this?
|
|
|
|
|
|
|
|
-See the guide [Wallet Adapter for Solana Apps](https://github.com/solana-labs/wallet-adapter/blob/master/APP.md).
|
|
|
|
|
|
|
+See the guide [Wallet Adapter for Solana Apps](https://github.com/anza-xyz/wallet-adapter/blob/master/APP.md).
|
|
|
|
|
|
|
|
## I am building a wallet, how do I use this?
|
|
## I am building a wallet, how do I use this?
|
|
|
|
|
|
|
|
-See the guide [Wallet Adapter for Solana Wallets](https://github.com/solana-labs/wallet-adapter/blob/master/WALLET.md).
|
|
|
|
|
|
|
+See the guide [Wallet Adapter for Solana Wallets](https://github.com/anza-xyz/wallet-adapter/blob/master/WALLET.md).
|
|
|
|
|
|
|
|
## How can I get support?
|
|
## How can I get support?
|
|
|
|
|
|
|
|
Please ask questions on the [Solana Stack Exchange](https://solana.stackexchange.com).
|
|
Please ask questions on the [Solana Stack Exchange](https://solana.stackexchange.com).
|
|
|
|
|
|
|
|
-After reading this FAQ, if you've found a bug or if you'd like to request a feature, please [open an issue](https://github.com/solana-labs/wallet-adapter/issues/new).
|
|
|
|
|
|
|
+After reading this FAQ, if you've found a bug or if you'd like to request a feature, please [open an issue](https://github.com/anza-xyz/wallet-adapter/issues/new).
|
|
|
|
|
|
|
|
## Can I use this with ___?
|
|
## Can I use this with ___?
|
|
|
|
|
|
|
|
### React
|
|
### React
|
|
|
-Yes, see the [react-ui-starter](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/react-ui-starter) package.
|
|
|
|
|
|
|
+Yes, see the [react-ui-starter](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/starter/react-ui-starter) package.
|
|
|
|
|
|
|
|
### Anchor
|
|
### Anchor
|
|
|
-Yes, use the [`useAnchorWallet()`](https://github.com/solana-labs/wallet-adapter/blob/master/packages/core/react/src/useAnchorWallet.ts) hook in the React package to easily get an [Anchor-compatible Wallet interface](https://github.com/project-serum/anchor/blob/0faed886002a9b01ad0513c860e19d7570cb0221/ts/src/provider.ts#L220-L224).
|
|
|
|
|
|
|
+Yes, use the [`useAnchorWallet()`](https://github.com/anza-xyz/wallet-adapter/blob/master/packages/core/react/src/useAnchorWallet.ts) hook in the React package to easily get an [Anchor-compatible Wallet interface](https://github.com/project-serum/anchor/blob/0faed886002a9b01ad0513c860e19d7570cb0221/ts/src/provider.ts#L220-L224).
|
|
|
|
|
|
|
|
### Next.js (with React)
|
|
### Next.js (with React)
|
|
|
-Yes, see the [nextjs-starter](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/nextjs-starter) package for very basic configuration, or the [example](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/example) package for more complete configuration.
|
|
|
|
|
|
|
+Yes, see the [nextjs-starter](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/starter/nextjs-starter) package for very basic configuration, or the [example](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/starter/example) package for more complete configuration.
|
|
|
|
|
|
|
|
-If you're using one of the [react-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/react-ui), [material-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/material-ui), or [ant-design](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/ant-design) packages too, make sure to configure the `WalletModalProvider` or `WalletDialogProvider` context [as shown here](https://github.com/solana-labs/wallet-adapter#setup).
|
|
|
|
|
|
|
+If you're using one of the [react-ui](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/ui/react-ui), [material-ui](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/ui/material-ui), or [ant-design](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/ui/ant-design) packages too, make sure to configure the `WalletModalProvider` or `WalletDialogProvider` context [as shown here](https://github.com/anza-xyz/wallet-adapter#setup).
|
|
|
|
|
|
|
|
### Material UI (with React)
|
|
### Material UI (with React)
|
|
|
-Yes, see the [material-ui-starter](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/material-ui-starter) package.
|
|
|
|
|
|
|
+Yes, see the [material-ui-starter](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/starter/material-ui-starter) package.
|
|
|
|
|
|
|
|
### Ant Design (with React)
|
|
### Ant Design (with React)
|
|
|
-Yes, see the [ant-design](https://github.com/solana-labs/wallet-adapter/tree/master/packages/core/ant-design) package.
|
|
|
|
|
|
|
+Yes, see the [ant-design](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/core/ant-design) package.
|
|
|
|
|
|
|
|
### Vue
|
|
### Vue
|
|
|
Yes, see the community-maintained [Vue](https://github.com/lorisleiva/solana-wallets-vue) package.
|
|
Yes, see the community-maintained [Vue](https://github.com/lorisleiva/solana-wallets-vue) package.
|
|
@@ -86,7 +86,7 @@ Most of the packages are built using the TypeScript compiler, which outputs modu
|
|
|
|
|
|
|
|
If you're using Create React App, craco, or one of the React-based starter projects using them, this should be handled automatically.
|
|
If you're using Create React App, craco, or one of the React-based starter projects using them, this should be handled automatically.
|
|
|
|
|
|
|
|
-If you're using Next.js, this requires configuration, which is provided in the [nextjs-starter](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/nextjs-starter) package.
|
|
|
|
|
|
|
+If you're using Next.js, this requires configuration, which is provided in the [nextjs-starter](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/starter/nextjs-starter) package.
|
|
|
|
|
|
|
|
If you're using something else, you may have to configure your build tool to transpile the packages similarly to how it's done in the Next.js config.
|
|
If you're using something else, you may have to configure your build tool to transpile the packages similarly to how it's done in the Next.js config.
|
|
|
Please open an issue or pull request to document your solution!
|
|
Please open an issue or pull request to document your solution!
|
|
@@ -95,14 +95,14 @@ Please open an issue or pull request to document your solution!
|
|
|
|
|
|
|
|
### `Failed to compile. [...] Module not found: Can't resolve [...]`
|
|
### `Failed to compile. [...] Module not found: Can't resolve [...]`
|
|
|
|
|
|
|
|
-This can happen if you're cloning the project and [building it from the source](https://github.com/solana-labs/wallet-adapter/blob/master/README.md#build-from-source) and you missed a step.
|
|
|
|
|
|
|
+This can happen if you're cloning the project and [building it from the source](https://github.com/anza-xyz/wallet-adapter/blob/master/README.md#build-from-source) and you missed a step.
|
|
|
|
|
|
|
|
-If this doesn't fix the problem, please [open an issue](https://github.com/solana-labs/wallet-adapter/issues/new).
|
|
|
|
|
|
|
+If this doesn't fix the problem, please [open an issue](https://github.com/anza-xyz/wallet-adapter/issues/new).
|
|
|
|
|
|
|
|
### `[...] is not a function` / `[...] is undefined` / `Uncaught TypeError: Cannot destructure property` / `Uncaught (in promise) WalletNotConnectedError`
|
|
### `[...] is not a function` / `[...] is undefined` / `Uncaught TypeError: Cannot destructure property` / `Uncaught (in promise) WalletNotConnectedError`
|
|
|
|
|
|
|
|
-This can happen if you don't wrap your app with the `WalletContext` and `ConnectionContext` provided by the [react](https://github.com/solana-labs/wallet-adapter/tree/master/packages/core/react) package.
|
|
|
|
|
-See issues [#62](https://github.com/solana-labs/wallet-adapter/issues/62#issuecomment-916421795), [#73](https://github.com/solana-labs/wallet-adapter/issues/73#issuecomment-919237687), and [#85](https://github.com/solana-labs/wallet-adapter/issues/85).
|
|
|
|
|
|
|
+This can happen if you don't wrap your app with the `WalletContext` and `ConnectionContext` provided by the [react](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/core/react) package.
|
|
|
|
|
+See issues [#62](https://github.com/anza-xyz/wallet-adapter/issues/62#issuecomment-916421795), [#73](https://github.com/anza-xyz/wallet-adapter/issues/73#issuecomment-919237687), and [#85](https://github.com/anza-xyz/wallet-adapter/issues/85).
|
|
|
|
|
|
|
|
This shouldn't happen if you're using one of the starter projects, since they set up the contexts for you.
|
|
This shouldn't happen if you're using one of the starter projects, since they set up the contexts for you.
|
|
|
|
|
|
|
@@ -113,4 +113,4 @@ This can happen if you try to use `signTransaction`, `signAllTransactions`, or `
|
|
|
`sendTransaction` is the primary method that all wallets support, and it signs transactions.
|
|
`sendTransaction` is the primary method that all wallets support, and it signs transactions.
|
|
|
The other methods are optional APIs, so you have to feature-detect them before using them.
|
|
The other methods are optional APIs, so you have to feature-detect them before using them.
|
|
|
|
|
|
|
|
-Please see [issue #72](https://github.com/solana-labs/wallet-adapter/issues/72#issuecomment-919232595).
|
|
|
|
|
|
|
+Please see [issue #72](https://github.com/anza-xyz/wallet-adapter/issues/72#issuecomment-919232595).
|