├── .changeset ├── README.md └── config.json ├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── label-actions.yml └── workflows │ ├── build-and-test.yml │ ├── label-actions.yml │ └── release.yml ├── .gitignore ├── .nojekyll ├── .npmrc ├── .prettierignore ├── .prettierrc ├── APP.md ├── BUILD.md ├── FAQ.md ├── LICENSE ├── PACKAGES.md ├── README.md ├── WALLET.md ├── package.json ├── packages ├── core │ ├── base │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ ├── src │ │ │ ├── adapter.ts │ │ │ ├── errors.ts │ │ │ ├── index.ts │ │ │ ├── signer.ts │ │ │ ├── standard.ts │ │ │ ├── transaction.ts │ │ │ └── types.ts │ │ ├── tsconfig.cjs.json │ │ ├── tsconfig.esm.json │ │ └── tsconfig.json │ └── react │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── __mocks__ │ │ └── @solana-mobile │ │ │ └── wallet-adapter-mobile.ts │ │ ├── jest.config.js │ │ ├── jest.resolver.cjs │ │ ├── package.json │ │ ├── src │ │ ├── ConnectionProvider.tsx │ │ ├── WalletProvider.tsx │ │ ├── WalletProviderBase.tsx │ │ ├── __mocks__ │ │ │ └── MockWalletAdapter.ts │ │ ├── __tests__ │ │ │ ├── WalletProviderBase-test.tsx │ │ │ ├── WalletProviderDesktop-test.tsx │ │ │ ├── WalletProviderMobile-test.tsx │ │ │ ├── getClusterFromConnection-test.ts │ │ │ ├── getEnvironment-test.ts │ │ │ └── useLocalStorage-test.tsx │ │ ├── defineProperty.ts │ │ ├── errors.ts │ │ ├── getEnvironment.ts │ │ ├── getInferredClusterFromEndpoint.ts │ │ ├── index.ts │ │ ├── useAnchorWallet.ts │ │ ├── useConnection.tsx │ │ ├── useLocalStorage.native.ts │ │ ├── useLocalStorage.ts │ │ └── useWallet.ts │ │ ├── tsconfig.cjs.json │ │ ├── tsconfig.esm.json │ │ ├── tsconfig.json │ │ └── tsconfig.tests.json ├── starter │ ├── create-react-app-starter │ │ ├── .editorconfig │ │ ├── .gitignore │ │ ├── .prettierignore │ │ ├── .prettierrc │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── config-overrides.js │ │ ├── package.json │ │ ├── public │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── logo192.png │ │ │ ├── logo512.png │ │ │ ├── manifest.json │ │ │ └── robots.txt │ │ ├── src │ │ │ ├── App.css │ │ │ ├── App.tsx │ │ │ ├── index.css │ │ │ ├── index.tsx │ │ │ ├── react-app-env.d.ts │ │ │ ├── reportWebVitals.ts │ │ │ └── setupTests.ts │ │ └── tsconfig.json │ ├── example │ │ ├── .editorconfig │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── .prettierignore │ │ ├── .prettierrc │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── next-env.d.ts │ │ ├── next.config.js │ │ ├── package.json │ │ ├── public │ │ │ ├── favicon.ico │ │ │ └── vercel.svg │ │ ├── src │ │ │ ├── components │ │ │ │ ├── AutoConnectProvider.tsx │ │ │ │ ├── ContextProvider.tsx │ │ │ │ ├── RequestAirdrop.tsx │ │ │ │ ├── SendLegacyTransaction.tsx │ │ │ │ ├── SendTransaction.tsx │ │ │ │ ├── SendV0Transaction.tsx │ │ │ │ ├── SignMessage.tsx │ │ │ │ ├── SignTransaction.tsx │ │ │ │ └── notify.tsx │ │ │ ├── pages │ │ │ │ ├── _app.tsx │ │ │ │ └── index.tsx │ │ │ └── styles │ │ │ │ └── globals.css │ │ └── tsconfig.json │ ├── material-ui-starter │ │ ├── .editorconfig │ │ ├── .gitignore │ │ ├── .prettierignore │ │ ├── .prettierrc │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── package.json │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── Theme.tsx │ │ │ ├── index.css │ │ │ ├── index.html │ │ │ ├── index.tsx │ │ │ └── reset.css │ │ └── tsconfig.json │ ├── nextjs-starter │ │ ├── .editorconfig │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── .prettierignore │ │ ├── .prettierrc │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── next-env.d.ts │ │ ├── next.config.js │ │ ├── package.json │ │ ├── public │ │ │ ├── favicon.ico │ │ │ └── vercel.svg │ │ ├── src │ │ │ ├── pages │ │ │ │ ├── _app.tsx │ │ │ │ ├── api │ │ │ │ │ └── hello.ts │ │ │ │ └── index.tsx │ │ │ └── styles │ │ │ │ ├── Home.module.css │ │ │ │ └── globals.css │ │ └── tsconfig.json │ └── react-ui-starter │ │ ├── .editorconfig │ │ ├── .gitignore │ │ ├── .prettierignore │ │ ├── .prettierrc │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── package.json │ │ ├── src │ │ ├── App.tsx │ │ ├── index.css │ │ ├── index.html │ │ ├── index.tsx │ │ └── reset.css │ │ └── tsconfig.json ├── ui │ ├── ant-design │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ ├── src │ │ │ ├── WalletConnectButton.tsx │ │ │ ├── WalletDisconnectButton.tsx │ │ │ ├── WalletIcon.tsx │ │ │ ├── WalletMenuItem.tsx │ │ │ ├── WalletModal.tsx │ │ │ ├── WalletModalButton.tsx │ │ │ ├── WalletModalProvider.tsx │ │ │ ├── WalletMultiButton.tsx │ │ │ ├── index.ts │ │ │ └── useWalletModal.ts │ │ ├── styles.css │ │ ├── tsconfig.cjs.json │ │ ├── tsconfig.esm.json │ │ └── tsconfig.json │ ├── material-ui │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ ├── src │ │ │ ├── WalletConnectButton.tsx │ │ │ ├── WalletDialog.tsx │ │ │ ├── WalletDialogButton.tsx │ │ │ ├── WalletDialogProvider.tsx │ │ │ ├── WalletDisconnectButton.tsx │ │ │ ├── WalletIcon.tsx │ │ │ ├── WalletListItem.tsx │ │ │ ├── WalletMultiButton.tsx │ │ │ ├── index.ts │ │ │ └── useWalletDialog.ts │ │ ├── tsconfig.cjs.json │ │ ├── tsconfig.esm.json │ │ └── tsconfig.json │ └── react-ui │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ ├── src │ │ ├── Button.tsx │ │ ├── Collapse.tsx │ │ ├── WalletConnectButton.tsx │ │ ├── WalletDisconnectButton.tsx │ │ ├── WalletIcon.tsx │ │ ├── WalletListItem.tsx │ │ ├── WalletModal.tsx │ │ ├── WalletModalButton.tsx │ │ ├── WalletModalProvider.tsx │ │ ├── WalletMultiButton.tsx │ │ ├── WalletSVG.tsx │ │ ├── index.ts │ │ └── useWalletModal.tsx │ │ ├── styles.css │ │ ├── tsconfig.cjs.json │ │ ├── tsconfig.esm.json │ │ └── tsconfig.json └── wallets │ ├── alpha │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── avana │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── backpack │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── bitkeep │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── bitpie │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── blocto │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── brave │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── censo │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── clover │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── coin98 │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── coinbase │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── coinhub │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── exodus │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── fractal │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── glow │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── huobi │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── hyperpay │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── icons │ ├── ONTO.svg │ ├── __DO_NOT_MOVE__.txt │ ├── bitkeep.svg │ ├── bitpie.svg │ ├── blocto.svg │ ├── clover.svg │ ├── coin98.svg │ ├── coinbase.svg │ ├── coinhub.svg │ ├── huobiwallet.svg │ ├── hyperpay.svg │ ├── keystone.svg │ ├── ledger.svg │ ├── mathwallet.svg │ ├── nightly.svg │ ├── phantom.svg │ ├── safepal.svg │ ├── salmon.png │ ├── slope.svg │ ├── solflare.svg │ ├── sollet.svg │ ├── sollet_extension.png │ ├── solong.png │ ├── tokenary.svg │ ├── tokenpocket.svg │ ├── torus.svg │ └── walletconnect.svg │ ├── keystone │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── krystal │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── ledger │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ ├── index.ts │ │ ├── polyfills │ │ │ ├── Buffer.ts │ │ │ └── index.ts │ │ └── util.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── magiceden │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── mathwallet │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── neko │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── nightly │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── nufi │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── onto │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── particle │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── phantom │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── safepal │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── saifu │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── salmon │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── sky │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── slope │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── solflare │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── sollet │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ ├── base.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── solong │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── spot │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── strike │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── tokenary │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── tokenpocket │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── torus │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── trust │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── unsafe-burner │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── walletconnect │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── adapter.ts │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ ├── wallets │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json │ └── xdefi │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ ├── adapter.ts │ └── index.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── tsconfig.all.json ├── tsconfig.base.json ├── tsconfig.cjs.json ├── tsconfig.esm.json ├── tsconfig.json ├── tsconfig.root.json ├── tsconfig.tests.json ├── turbo.json ├── typedoc.json └── wallets.png /.changeset/README.md: -------------------------------------------------------------------------------- 1 | # Changesets 2 | 3 | Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works 4 | with multi-package repos, or single-package repos to help you version and publish your code. You can 5 | find the full documentation for it [in our repository](https://github.com/changesets/changesets) 6 | 7 | We have a quick list of common questions to get you started engaging with this project in 8 | [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) 9 | -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/@changesets/config@2.2.0/schema.json", 3 | "changelog": "@changesets/cli/changelog", 4 | "commit": false, 5 | "fixed": [], 6 | "linked": [], 7 | "access": "restricted", 8 | "baseBranch": "master", 9 | "updateInternalDependencies": "patch", 10 | "ignore": [] 11 | } 12 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 4 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | .github 2 | .next 3 | .parcel-cache 4 | .swc 5 | 6 | docs 7 | lib 8 | build 9 | dist 10 | out 11 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "extends": [ 4 | "eslint:recommended", 5 | "plugin:@typescript-eslint/recommended", 6 | "plugin:prettier/recommended", 7 | "plugin:react/recommended", 8 | "plugin:react-hooks/recommended", 9 | "plugin:require-extensions/recommended" 10 | ], 11 | "parser": "@typescript-eslint/parser", 12 | "plugins": [ 13 | "@typescript-eslint", 14 | "prettier", 15 | "react", 16 | "react-hooks", 17 | "require-extensions" 18 | ], 19 | "settings": { 20 | "react": { 21 | "version": "detect" 22 | } 23 | }, 24 | "rules": { 25 | "@typescript-eslint/ban-ts-comment": "off", 26 | "@typescript-eslint/no-explicit-any": "off", 27 | "@typescript-eslint/no-unused-vars": "off", 28 | "@typescript-eslint/no-empty-interface": "off", 29 | "@typescript-eslint/consistent-type-imports": "error", 30 | "react/no-unescaped-entities": ["error", { "forbid": [">"] }], 31 | "react-hooks/rules-of-hooks": "error", 32 | "react-hooks/exhaustive-deps": "warn" 33 | }, 34 | "overrides": [ 35 | { 36 | "files": [ 37 | "packages/starter/**/*" 38 | ], 39 | "rules": { 40 | "require-extensions/require-extensions": "off" 41 | } 42 | } 43 | ] 44 | } 45 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/workflows/label-actions.yml: -------------------------------------------------------------------------------- 1 | name: Label Actions 2 | 3 | on: 4 | issues: 5 | types: [labeled, unlabeled] 6 | pull_request: 7 | types: [labeled, unlabeled] 8 | 9 | permissions: 10 | contents: read 11 | issues: write 12 | pull-requests: write 13 | 14 | jobs: 15 | label-actions: 16 | name: Label Actions 17 | runs-on: ubuntu-latest 18 | steps: 19 | - name: Label Actions 20 | uses: dessant/label-actions@v3 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .vscode 3 | .DS_Store 4 | 5 | node_modules 6 | 7 | package-lock.json 8 | yarn.lock 9 | 10 | .next 11 | .parcel-cache 12 | .swc 13 | build 14 | lib 15 | dist 16 | docs 17 | out 18 | *.tsbuildinfo 19 | 20 | .turbo -------------------------------------------------------------------------------- /.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/.nojekyll -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | auto-install-peers=true 2 | strict-peer-dependencies=false 3 | shamefully-hoist=true 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .github 2 | .next 3 | .parcel-cache 4 | .swc 5 | 6 | docs 7 | lib 8 | build 9 | dist 10 | out 11 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "trailingComma": "es5", 4 | "tabWidth": 4, 5 | "semi": true, 6 | "singleQuote": true 7 | } -------------------------------------------------------------------------------- /BUILD.md: -------------------------------------------------------------------------------- 1 | # Build Wallet Adapter from Source 2 | 3 | ### 0. Prerequisites 4 | 5 | * Node 16+ 6 | * PNPM 7 | 8 | If you have Node 16+, you can [activate PNPM with Corepack](https://pnpm.io/installation#using-corepack): 9 | ```shell 10 | corepack enable 11 | corepack prepare pnpm@`npm info pnpm --json | jq -r .version` --activate 12 | ``` 13 | 14 | Corepack requires a version to enable, so if you don't have [jq](https://stedolan.github.io/jq/) installed, you can [install it](https://formulae.brew.sh/formula/jq), or just manually get the current version of pnpm with `npm info pnpm` and use it like this: 15 | ```shell 16 | corepack prepare pnpm@7.13.4 --activate 17 | ``` 18 | 19 | ### 1. Clone the project: 20 | ```shell 21 | git clone https://github.com/solana-labs/wallet-adapter.git 22 | ``` 23 | 24 | ### 2. Install dependencies: 25 | ```shell 26 | cd wallet-adapter 27 | pnpm install 28 | ``` 29 | 30 | ### 3. Build all packages: 31 | ```shell 32 | pnpm run build:ts 33 | ``` 34 | Please be patient! This may take a while the first time you do it. Subsequent builds will be incremental and are quite fast. 35 | 36 | You can also use `pnpm watch` to run incremental builds when source files change, enabling hot module reloading. 37 | 38 | ### 4. Run locally: 39 | ```shell 40 | cd packages/starter/react-ui-starter 41 | pnpm start 42 | open http://localhost:1234 43 | ``` 44 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Wallet Adapter 2 | 3 | Modular TypeScript wallet adapters and components for Solana applications. 4 | 5 | - [Demo](https://solana-labs.github.io/wallet-adapter/example/) 6 | - [TypeScript Docs](https://solana-labs.github.io/wallet-adapter/) 7 | - [For Solana Apps](https://github.com/solana-labs/wallet-adapter/blob/master/APP.md) 8 | - [For Solana Wallets](https://github.com/solana-labs/wallet-adapter/blob/master/WALLET.md) 9 | - [Packages](https://github.com/solana-labs/wallet-adapter/blob/master/PACKAGES.md) 10 | - [FAQ (Frequently Asked Questions)](https://github.com/solana-labs/wallet-adapter/blob/master/FAQ.md) 11 | - [Build from Source](https://github.com/solana-labs/wallet-adapter/blob/master/BUILD.md) 12 | 13 | 14 | ![Wallets](wallets.png) 15 | -------------------------------------------------------------------------------- /WALLET.md: -------------------------------------------------------------------------------- 1 | # Wallet Adapter for Solana Wallets 2 | 3 | Support for [Mobile Wallet Adapter](https://github.com/solana-mobile/mobile-wallet-adapter) (MWA) and the [Wallet Standard](https://github.com/wallet-standard/wallet-standard) has been added directly into Wallet Adapter. Please review the MWA docs and [this guide for wallets](https://github.com/solana-labs/wallet-standard/blob/master/WALLET.md) to implement the Wallet Standard. 4 | 5 | You can implement these protocols directly in your wallet, and your wallet will work across Solana apps. As wallets continue to add support for these protocols, the adapters for these wallets will be deprecated. 6 | 7 | For any wallet injected into the window in a browser, browser extension, or mobile app, you no longer need to publish an adapter at all. You don't need to open a PR to MWA or the Wallet Standard. 8 | 9 | We are no longer accepting contributions for new adapters of this type. Bug fixes to existing adapters are welcome, but new features should be implemented using the MWA and Wallet Standard interfaces. 10 | 11 | Contributions are still welcome for new adapters that are not injected into the window but instead rely on loading an SDK to interact with an external wallet. 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/core/base/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-base 2 | 3 | ## 0.9.22 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | 9 | ## 0.9.21 10 | 11 | ### Patch Changes 12 | 13 | - f99c2154: Add StandardAdapter to base Adapter type 14 | 15 | ## 0.9.20 16 | 17 | ### Patch Changes 18 | 19 | - 912cc0e: Allow wallets to customize autoConnect handling, adding support for Phantom deep links on iOS 20 | 21 | ## 0.9.19 22 | 23 | ### Patch Changes 24 | 25 | - 353f2a5: Add isVersionedTransaction helper function 26 | -------------------------------------------------------------------------------- /packages/core/base/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-base` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/core/base/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | export * from './errors.js'; 3 | export * from './signer.js'; 4 | export * from './standard.js'; 5 | export * from './transaction.js'; 6 | export * from './types.js'; 7 | -------------------------------------------------------------------------------- /packages/core/base/src/transaction.ts: -------------------------------------------------------------------------------- 1 | import type { Transaction, TransactionVersion, VersionedTransaction } from '@solana/web3.js'; 2 | 3 | export type SupportedTransactionVersions = ReadonlySet | null | undefined; 4 | 5 | export type TransactionOrVersionedTransaction = S extends null | undefined 6 | ? Transaction 7 | : Transaction | VersionedTransaction; 8 | 9 | export function isVersionedTransaction( 10 | transaction: Transaction | VersionedTransaction 11 | ): transaction is VersionedTransaction { 12 | return 'version' in transaction; 13 | } 14 | -------------------------------------------------------------------------------- /packages/core/base/src/types.ts: -------------------------------------------------------------------------------- 1 | import type { WalletAdapter } from './adapter.js'; 2 | import type { MessageSignerWalletAdapter, SignerWalletAdapter } from './signer.js'; 3 | import type { StandardWalletAdapter } from './standard.js'; 4 | 5 | export type Adapter = WalletAdapter | SignerWalletAdapter | MessageSignerWalletAdapter | StandardWalletAdapter; 6 | 7 | export enum WalletAdapterNetwork { 8 | Mainnet = 'mainnet-beta', 9 | Testnet = 'testnet', 10 | Devnet = 'devnet', 11 | } 12 | -------------------------------------------------------------------------------- /packages/core/base/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/core/base/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/core/base/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/core/react/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-react` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/core/react/__mocks__/@solana-mobile/wallet-adapter-mobile.ts: -------------------------------------------------------------------------------- 1 | import { type WalletName } from '@solana/wallet-adapter-base'; 2 | import { MockWalletAdapter } from '../../src/__mocks__/MockWalletAdapter.js'; 3 | 4 | export const SolanaMobileWalletAdapterWalletName = 'Solana Mobile Wallet Adapter Name For Tests'; 5 | export const createDefaultAddressSelector = jest.fn(); 6 | export const createDefaultAuthorizationResultCache = jest.fn(); 7 | export const createDefaultWalletNotFoundHandler = jest.fn(); 8 | 9 | class MockSolanaMobileWalletAdapter extends MockWalletAdapter { 10 | name = SolanaMobileWalletAdapterWalletName as WalletName; 11 | icon = 'sms.png'; 12 | url = 'https://solanamobile.com'; 13 | publicKey = null; 14 | } 15 | 16 | export const SolanaMobileWalletAdapter = jest.fn().mockImplementation( 17 | (...args) => 18 | new MockSolanaMobileWalletAdapter( 19 | // @ts-ignore 20 | ...args 21 | ) 22 | ); 23 | -------------------------------------------------------------------------------- /packages/core/react/jest.config.js: -------------------------------------------------------------------------------- 1 | import { dirname } from 'path'; 2 | import { fileURLToPath } from 'url'; 3 | 4 | const __dirname = dirname(fileURLToPath(import.meta.url)); 5 | 6 | /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ 7 | export default { 8 | preset: 'ts-jest/presets/default-esm', 9 | moduleNameMapper: { 10 | '^(\\.{1,2}/.*)\\.js$': '$1', 11 | }, 12 | resolver: `${__dirname}/jest.resolver.cjs`, 13 | globals: { 14 | IS_REACT_ACT_ENVIRONMENT: true, 15 | 'ts-jest': { 16 | tsconfig: './tsconfig.tests.json', 17 | }, 18 | }, 19 | testEnvironment: 'node', 20 | transformIgnorePatterns: ['/node_modules/(?!(uuid))'], 21 | }; 22 | -------------------------------------------------------------------------------- /packages/core/react/src/ConnectionProvider.tsx: -------------------------------------------------------------------------------- 1 | import { Connection, type ConnectionConfig } from '@solana/web3.js'; 2 | import React, { type FC, type ReactNode, useMemo } from 'react'; 3 | import { ConnectionContext } from './useConnection.js'; 4 | 5 | export interface ConnectionProviderProps { 6 | children: ReactNode; 7 | endpoint: string; 8 | config?: ConnectionConfig; 9 | } 10 | 11 | export const ConnectionProvider: FC = ({ 12 | children, 13 | endpoint, 14 | config = { commitment: 'confirmed' }, 15 | }) => { 16 | const connection = useMemo(() => new Connection(endpoint, config), [endpoint, config]); 17 | 18 | return {children}; 19 | }; 20 | -------------------------------------------------------------------------------- /packages/core/react/src/__mocks__/MockWalletAdapter.ts: -------------------------------------------------------------------------------- 1 | import { BaseWalletAdapter, WalletReadyState } from '@solana/wallet-adapter-base'; 2 | import { act } from 'react-dom/test-utils'; 3 | 4 | export abstract class MockWalletAdapter extends BaseWalletAdapter { 5 | connectedValue = false; 6 | get connected() { 7 | return this.connectedValue; 8 | } 9 | readyStateValue: WalletReadyState = WalletReadyState.Installed; 10 | get readyState() { 11 | return this.readyStateValue; 12 | } 13 | connecting = false; 14 | connect = jest.fn(async () => { 15 | this.connecting = true; 16 | this.connecting = false; 17 | this.connectedValue = true; 18 | act(() => { 19 | // eslint-disable-next-line @typescript-eslint/no-non-null-assertion 20 | this.emit('connect', this.publicKey!); 21 | }); 22 | }); 23 | disconnect = jest.fn(async () => { 24 | this.connecting = false; 25 | this.connectedValue = false; 26 | act(() => { 27 | this.emit('disconnect'); 28 | }); 29 | }); 30 | sendTransaction = jest.fn(); 31 | supportedTransactionVersions = null; 32 | autoConnect = jest.fn(); 33 | } 34 | -------------------------------------------------------------------------------- /packages/core/react/src/defineProperty.ts: -------------------------------------------------------------------------------- 1 | type InferValue = Desc extends { get(): any; value: any } 2 | ? never 3 | : Desc extends { value: infer T } 4 | ? Record 5 | : Desc extends { get(): infer T } 6 | ? Record 7 | : never; 8 | 9 | type DefineProperty = Desc extends { 10 | writable: any; 11 | set(val: any): any; 12 | } 13 | ? never 14 | : Desc extends { writable: any; get(): any } 15 | ? never 16 | : Desc extends { writable: false } 17 | ? Readonly> 18 | : Desc extends { writable: true } 19 | ? InferValue 20 | : Readonly>; 21 | 22 | export default function defineProperty( 23 | obj: Obj, 24 | prop: Key, 25 | val: PDesc 26 | ): asserts obj is Obj & DefineProperty { 27 | Object.defineProperty(obj, prop, val); 28 | } 29 | -------------------------------------------------------------------------------- /packages/core/react/src/errors.ts: -------------------------------------------------------------------------------- 1 | import { WalletError } from '@solana/wallet-adapter-base'; 2 | 3 | export class WalletNotSelectedError extends WalletError { 4 | name = 'WalletNotSelectedError'; 5 | } 6 | -------------------------------------------------------------------------------- /packages/core/react/src/getInferredClusterFromEndpoint.ts: -------------------------------------------------------------------------------- 1 | import { type Cluster } from '@solana/web3.js'; 2 | 3 | export default function getInferredClusterFromEndpoint(endpoint?: string): Cluster { 4 | if (!endpoint) { 5 | return 'mainnet-beta'; 6 | } 7 | if (/devnet/i.test(endpoint)) { 8 | return 'devnet'; 9 | } else if (/testnet/i.test(endpoint)) { 10 | return 'testnet'; 11 | } else { 12 | return 'mainnet-beta'; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/core/react/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ConnectionProvider.js'; 2 | export * from './errors.js'; 3 | export * from './useAnchorWallet.js'; 4 | export * from './useConnection.js'; 5 | export * from './useLocalStorage.js'; 6 | export * from './useWallet.js'; 7 | export * from './WalletProvider.js'; 8 | -------------------------------------------------------------------------------- /packages/core/react/src/useAnchorWallet.ts: -------------------------------------------------------------------------------- 1 | import { type PublicKey, type Transaction, type VersionedTransaction } from '@solana/web3.js'; 2 | import { useMemo } from 'react'; 3 | import { useWallet } from './useWallet.js'; 4 | 5 | export interface AnchorWallet { 6 | publicKey: PublicKey; 7 | signTransaction(transaction: T): Promise; 8 | signAllTransactions(transactions: T[]): Promise; 9 | } 10 | 11 | export function useAnchorWallet(): AnchorWallet | undefined { 12 | const { publicKey, signTransaction, signAllTransactions } = useWallet(); 13 | return useMemo( 14 | () => 15 | publicKey && signTransaction && signAllTransactions 16 | ? { publicKey, signTransaction, signAllTransactions } 17 | : undefined, 18 | [publicKey, signTransaction, signAllTransactions] 19 | ); 20 | } 21 | -------------------------------------------------------------------------------- /packages/core/react/src/useConnection.tsx: -------------------------------------------------------------------------------- 1 | import { type Connection } from '@solana/web3.js'; 2 | import { createContext, useContext } from 'react'; 3 | 4 | export interface ConnectionContextState { 5 | connection: Connection; 6 | } 7 | 8 | export const ConnectionContext = createContext({} as ConnectionContextState); 9 | 10 | export function useConnection(): ConnectionContextState { 11 | return useContext(ConnectionContext); 12 | } 13 | -------------------------------------------------------------------------------- /packages/core/react/src/useLocalStorage.native.ts: -------------------------------------------------------------------------------- 1 | import { useState } from 'react'; 2 | import { type useLocalStorage as baseUseLocalStorage } from './useLocalStorage.js'; 3 | 4 | export const useLocalStorage: typeof baseUseLocalStorage = function useLocalStorage( 5 | _key: string, 6 | defaultState: T 7 | ): [T, React.Dispatch>] { 8 | /** 9 | * Until such time as we have a strategy for implementing wallet 10 | * memorization on React Native, simply punt and return a no-op. 11 | */ 12 | return useState(defaultState); 13 | }; 14 | -------------------------------------------------------------------------------- /packages/core/react/src/useLocalStorage.ts: -------------------------------------------------------------------------------- 1 | import { type Dispatch, type SetStateAction, useEffect, useRef, useState } from 'react'; 2 | 3 | export function useLocalStorage(key: string, defaultState: T): [T, Dispatch>] { 4 | const state = useState(() => { 5 | try { 6 | const value = localStorage.getItem(key); 7 | if (value) return JSON.parse(value) as T; 8 | } catch (error: any) { 9 | if (typeof window !== 'undefined') { 10 | console.error(error); 11 | } 12 | } 13 | 14 | return defaultState; 15 | }); 16 | const value = state[0]; 17 | 18 | const isFirstRenderRef = useRef(true); 19 | useEffect(() => { 20 | if (isFirstRenderRef.current) { 21 | isFirstRenderRef.current = false; 22 | return; 23 | } 24 | try { 25 | if (value === null) { 26 | localStorage.removeItem(key); 27 | } else { 28 | localStorage.setItem(key, JSON.stringify(value)); 29 | } 30 | } catch (error: any) { 31 | if (typeof window !== 'undefined') { 32 | console.error(error); 33 | } 34 | } 35 | }, [value, key]); 36 | 37 | return state; 38 | } 39 | -------------------------------------------------------------------------------- /packages/core/react/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "exclude": ["src/**/__mocks__", "src/**/__tests__"], 5 | "compilerOptions": { 6 | "outDir": "lib/cjs", 7 | "jsx": "react" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/core/react/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "exclude": ["src/**/__mocks__", "src/**/__tests__"], 5 | "compilerOptions": { 6 | "outDir": "lib/esm", 7 | "declarationDir": "lib/types", 8 | "jsx": "react" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/core/react/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | }, 10 | { 11 | "path": "./tsconfig.tests.json" 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /packages/core/react/tsconfig.tests.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.tests.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "jsx": "react" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 4 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | 25 | /lib 26 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/.prettierignore: -------------------------------------------------------------------------------- 1 | /build 2 | /lib 3 | /node_modules 4 | 5 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "trailingComma": "es5", 4 | "tabWidth": 4, 5 | "semi": true, 6 | "singleQuote": true 7 | } -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-create-react-app-starter 2 | 3 | ## 0.1.15 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-wallets@0.19.15 10 | - @solana/wallet-adapter-react-ui@0.9.29 11 | - @solana/wallet-adapter-react@0.15.30 12 | - @solana/wallet-adapter-base@0.9.22 13 | 14 | ## 0.1.14 15 | 16 | ### Patch Changes 17 | 18 | - 912cc0e: Allow wallets to customize autoConnect handling, adding support for Phantom deep links on iOS 19 | - Updated dependencies [912cc0e] 20 | - @solana/wallet-adapter-base@0.9.20 21 | - @solana/wallet-adapter-react@0.15.26 22 | - @solana/wallet-adapter-react-ui@0.9.24 23 | - @solana/wallet-adapter-wallets@0.19.9 24 | 25 | ## 0.1.13 26 | 27 | ### Patch Changes 28 | 29 | - 5d016a2: Mobile Wallet Adapter and Wallet Standard support in `@solana/wallet-adapter-react` 30 | 31 | - Early Access + Upgrade Guide: https://github.com/solana-labs/wallet-adapter/issues/604 32 | - Changes in this release: https://github.com/solana-labs/wallet-adapter/pull/598 33 | 34 | - Updated dependencies [5d016a2] 35 | - @solana/wallet-adapter-react@0.15.22 36 | - @solana/wallet-adapter-react-ui@0.9.20 37 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/config-overrides.js: -------------------------------------------------------------------------------- 1 | const { ProvidePlugin } = require('webpack'); 2 | 3 | module.exports = function (config, env) { 4 | return { 5 | ...config, 6 | module: { 7 | ...config.module, 8 | rules: [ 9 | ...config.module.rules, 10 | { 11 | test: /\.m?[jt]sx?$/, 12 | enforce: 'pre', 13 | use: ['source-map-loader'], 14 | }, 15 | { 16 | test: /\.m?[jt]sx?$/, 17 | resolve: { 18 | fullySpecified: false, 19 | }, 20 | }, 21 | ], 22 | }, 23 | plugins: [ 24 | ...config.plugins, 25 | new ProvidePlugin({ 26 | process: 'process/browser', 27 | }), 28 | ], 29 | resolve: { 30 | ...config.resolve, 31 | fallback: { 32 | assert: require.resolve('assert'), 33 | buffer: require.resolve('buffer'), 34 | crypto: require.resolve('crypto-browserify'), 35 | stream: require.resolve('stream-browserify'), 36 | }, 37 | }, 38 | ignoreWarnings: [/Failed to parse source map/], 39 | }; 40 | }; 41 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/packages/starter/create-react-app-starter/public/favicon.ico -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/packages/starter/create-react-app-starter/public/logo192.png -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/packages/starter/create-react-app-starter/public/logo512.png -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | min-height: 100vh; 3 | display: flex; 4 | justify-content: center; 5 | align-items: center; 6 | } 7 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #222222; 3 | margin: 0; 4 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 5 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 6 | sans-serif; 7 | -webkit-font-smoothing: antialiased; 8 | -moz-osx-font-smoothing: grayscale; 9 | } 10 | 11 | code { 12 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 13 | monospace; 14 | } 15 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './App'; 4 | import './index.css'; 5 | import reportWebVitals from './reportWebVitals'; 6 | 7 | ReactDOM.render( 8 | 9 | 10 | , 11 | document.getElementById('root') 12 | ); 13 | 14 | // If you want to start measuring performance in your app, pass a function 15 | // to log results (for example: reportWebVitals(console.log)) 16 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 17 | reportWebVitals(); 18 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/src/reportWebVitals.ts: -------------------------------------------------------------------------------- 1 | import { ReportHandler } from 'web-vitals'; 2 | 3 | const reportWebVitals = (onPerfEntry?: ReportHandler) => { 4 | if (onPerfEntry && onPerfEntry instanceof Function) { 5 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 6 | getCLS(onPerfEntry); 7 | getFID(onPerfEntry); 8 | getFCP(onPerfEntry); 9 | getLCP(onPerfEntry); 10 | getTTFB(onPerfEntry); 11 | }); 12 | } 13 | }; 14 | 15 | export default reportWebVitals; 16 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /packages/starter/create-react-app-starter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib", 6 | "target": "es5", 7 | "lib": ["dom", "dom.iterable", "esnext"], 8 | "allowJs": true, 9 | "skipLibCheck": true, 10 | "esModuleInterop": true, 11 | "allowSyntheticDefaultImports": true, 12 | "strict": true, 13 | "forceConsistentCasingInFileNames": true, 14 | "noFallthroughCasesInSwitch": true, 15 | "module": "esnext", 16 | "moduleResolution": "node", 17 | "resolveJsonModule": true, 18 | "isolatedModules": true, 19 | "noEmit": true, 20 | "jsx": "react-jsx" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /packages/starter/example/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 4 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /packages/starter/example/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /packages/starter/example/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # next.js 12 | /.next/ 13 | /.swc/ 14 | /out/ 15 | 16 | # production 17 | /build 18 | 19 | # misc 20 | .DS_Store 21 | *.pem 22 | 23 | # debug 24 | npm-debug.log* 25 | yarn-debug.log* 26 | yarn-error.log* 27 | 28 | # local env files 29 | .env.local 30 | .env.development.local 31 | .env.test.local 32 | .env.production.local 33 | 34 | # vercel 35 | .vercel 36 | 37 | # typescript 38 | *.tsbuildinfo 39 | /lib 40 | -------------------------------------------------------------------------------- /packages/starter/example/.prettierignore: -------------------------------------------------------------------------------- 1 | /.next 2 | /.swc 3 | /lib 4 | /node_modules 5 | 6 | -------------------------------------------------------------------------------- /packages/starter/example/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "trailingComma": "es5", 4 | "tabWidth": 4, 5 | "semi": true, 6 | "singleQuote": true 7 | } -------------------------------------------------------------------------------- /packages/starter/example/next-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | 4 | // NOTE: This file should not be edited 5 | // see https://nextjs.org/docs/basic-features/typescript for more information. 6 | -------------------------------------------------------------------------------- /packages/starter/example/next.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/no-var-requires */ 2 | const plugins = require('next-compose-plugins'); 3 | const antdLess = require('next-plugin-antd-less'); 4 | const { PHASE_PRODUCTION_BUILD } = require('next/constants'); 5 | 6 | module.exports = function (phase, ...args) { 7 | return plugins( 8 | [ 9 | [ 10 | antdLess, 11 | { 12 | modifyVars: { 13 | '@background': '#303030', 14 | '@primary-color': '#512da8', 15 | }, 16 | }, 17 | ], 18 | ], 19 | { 20 | reactStrictMode: true, 21 | basePath: phase === PHASE_PRODUCTION_BUILD ? '/wallet-adapter/example' : '', 22 | } 23 | )(phase, ...args); 24 | }; 25 | -------------------------------------------------------------------------------- /packages/starter/example/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/packages/starter/example/public/favicon.ico -------------------------------------------------------------------------------- /packages/starter/example/public/vercel.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /packages/starter/example/src/components/AutoConnectProvider.tsx: -------------------------------------------------------------------------------- 1 | import { useLocalStorage } from '@solana/wallet-adapter-react'; 2 | import type { FC, ReactNode } from 'react'; 3 | import React, { createContext, useContext } from 'react'; 4 | 5 | export interface AutoConnectContextState { 6 | autoConnect: boolean; 7 | setAutoConnect(autoConnect: boolean): void; 8 | } 9 | 10 | export const AutoConnectContext = createContext({} as AutoConnectContextState); 11 | 12 | export function useAutoConnect(): AutoConnectContextState { 13 | return useContext(AutoConnectContext); 14 | } 15 | 16 | export const AutoConnectProvider: FC<{ children: ReactNode }> = ({ children }) => { 17 | const [autoConnect, setAutoConnect] = useLocalStorage('autoConnect', true); 18 | 19 | return ( 20 | {children} 21 | ); 22 | }; 23 | -------------------------------------------------------------------------------- /packages/starter/example/src/components/RequestAirdrop.tsx: -------------------------------------------------------------------------------- 1 | import { Button } from '@mui/material'; 2 | import { useConnection, useWallet } from '@solana/wallet-adapter-react'; 3 | import type { TransactionSignature } from '@solana/web3.js'; 4 | import { LAMPORTS_PER_SOL } from '@solana/web3.js'; 5 | import type { FC } from 'react'; 6 | import React, { useCallback } from 'react'; 7 | import { useNotify } from './notify'; 8 | 9 | export const RequestAirdrop: FC = () => { 10 | const { connection } = useConnection(); 11 | const { publicKey } = useWallet(); 12 | const notify = useNotify(); 13 | 14 | const onClick = useCallback(async () => { 15 | let signature: TransactionSignature | undefined = undefined; 16 | try { 17 | if (!publicKey) throw new Error('Wallet not connected!'); 18 | 19 | signature = await connection.requestAirdrop(publicKey, LAMPORTS_PER_SOL); 20 | notify('info', 'Airdrop requested:', signature); 21 | 22 | await connection.confirmTransaction(signature, 'processed'); 23 | notify('success', 'Airdrop successful!', signature); 24 | } catch (error: any) { 25 | notify('error', `Airdrop failed! ${error?.message}`, signature); 26 | } 27 | }, [publicKey, connection, notify]); 28 | 29 | return ( 30 | 33 | ); 34 | }; 35 | -------------------------------------------------------------------------------- /packages/starter/example/src/components/SignMessage.tsx: -------------------------------------------------------------------------------- 1 | import { Button } from '@mui/material'; 2 | import { useWallet } from '@solana/wallet-adapter-react'; 3 | import bs58 from 'bs58'; 4 | import type { FC } from 'react'; 5 | import React, { useCallback } from 'react'; 6 | import { sign } from 'tweetnacl'; 7 | import { useNotify } from './notify'; 8 | 9 | export const SignMessage: FC = () => { 10 | const { publicKey, signMessage } = useWallet(); 11 | const notify = useNotify(); 12 | 13 | const onClick = useCallback(async () => { 14 | try { 15 | if (!publicKey) throw new Error('Wallet not connected!'); 16 | if (!signMessage) throw new Error('Wallet does not support message signing!'); 17 | 18 | const message = new TextEncoder().encode('Hello, world!'); 19 | const signature = await signMessage(message); 20 | if (!sign.detached.verify(message, signature, publicKey.toBytes())) 21 | throw new Error('Message signature invalid!'); 22 | 23 | notify('success', `Message signature: ${bs58.encode(signature)}`); 24 | } catch (error: any) { 25 | notify('error', `Message signing failing: ${error?.message}`); 26 | } 27 | }, [publicKey, signMessage, notify]); 28 | 29 | return ( 30 | 33 | ); 34 | }; 35 | -------------------------------------------------------------------------------- /packages/starter/example/src/pages/_app.tsx: -------------------------------------------------------------------------------- 1 | import type { AppProps } from 'next/app'; 2 | import Head from 'next/head'; 3 | import type { FC } from 'react'; 4 | import React from 'react'; 5 | import { ContextProvider } from '../components/ContextProvider'; 6 | 7 | // Use require instead of import since order matters 8 | require('antd/dist/antd.dark.less'); 9 | require('@solana/wallet-adapter-ant-design/styles.css'); 10 | require('@solana/wallet-adapter-react-ui/styles.css'); 11 | require('../styles/globals.css'); 12 | 13 | const App: FC = ({ Component, pageProps }) => { 14 | return ( 15 | <> 16 | 17 | @solana/wallet-adapter Example 18 | 19 | 20 | 21 | 22 | 23 | ); 24 | }; 25 | 26 | export default App; 27 | -------------------------------------------------------------------------------- /packages/starter/example/src/styles/globals.css: -------------------------------------------------------------------------------- 1 | html, 2 | body { 3 | padding: 0; 4 | margin: 0; 5 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, 6 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; 7 | background-color: #303030; 8 | color: #FFFFFF; 9 | } 10 | 11 | a { 12 | color: inherit; 13 | text-decoration: none; 14 | } 15 | 16 | * { 17 | box-sizing: border-box; 18 | } 19 | -------------------------------------------------------------------------------- /packages/starter/example/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "package.json"], 4 | "compilerOptions": { 5 | "outDir": "lib", 6 | "target": "es6", 7 | "lib": ["dom", "dom.iterable", "esnext"], 8 | "allowJs": true, 9 | "skipLibCheck": true, 10 | "strict": true, 11 | "forceConsistentCasingInFileNames": true, 12 | "noEmit": true, 13 | "esModuleInterop": true, 14 | "module": "esnext", 15 | "moduleResolution": "node", 16 | "resolveJsonModule": true, 17 | "isolatedModules": true, 18 | "jsx": "preserve", 19 | "incremental": true 20 | }, 21 | "exclude": ["node_modules"] 22 | } 23 | -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 4 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/.gitignore: -------------------------------------------------------------------------------- 1 | /.parcel-cache 2 | /dist 3 | /lib 4 | /node_modules 5 | 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/.prettierignore: -------------------------------------------------------------------------------- 1 | /.parcel-cache 2 | /dist 3 | /lib 4 | /node_modules 5 | 6 | -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "trailingComma": "es5", 4 | "tabWidth": 4, 5 | "semi": true, 6 | "singleQuote": true 7 | } -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-material-ui-starter 2 | 3 | ## 0.13.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-wallets@0.19.15 10 | - @solana/wallet-adapter-material-ui@0.16.28 11 | - @solana/wallet-adapter-react@0.15.30 12 | - @solana/wallet-adapter-base@0.9.22 13 | 14 | ## 0.13.16 15 | 16 | ### Patch Changes 17 | 18 | - 912cc0e: Allow wallets to customize autoConnect handling, adding support for Phantom deep links on iOS 19 | - Updated dependencies [912cc0e] 20 | - @solana/wallet-adapter-base@0.9.20 21 | - @solana/wallet-adapter-react@0.15.26 22 | - @solana/wallet-adapter-material-ui@0.16.22 23 | - @solana/wallet-adapter-wallets@0.19.9 24 | 25 | ## 0.13.15 26 | 27 | ### Patch Changes 28 | 29 | - 5d016a2: Mobile Wallet Adapter and Wallet Standard support in `@solana/wallet-adapter-react` 30 | 31 | - Early Access + Upgrade Guide: https://github.com/solana-labs/wallet-adapter/issues/604 32 | - Changes in this release: https://github.com/solana-labs/wallet-adapter/pull/598 33 | 34 | - Updated dependencies [5d016a2] 35 | - @solana/wallet-adapter-react@0.15.22 36 | - @solana/wallet-adapter-material-ui@0.16.18 37 | -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/src/index.css: -------------------------------------------------------------------------------- 1 | @import './reset.css'; 2 | 3 | html, body { 4 | background-color: #303030; 5 | color: #FFFFFF; 6 | } 7 | 8 | #app { 9 | min-height: 100vh; 10 | display: flex; 11 | justify-content: center; 12 | align-items: center; 13 | } 14 | -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | WalletAdapter Starter 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React, { StrictMode } from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import { App } from './App'; 4 | 5 | ReactDOM.render( 6 | 7 | 8 | , 9 | document.getElementById('app') 10 | ); 11 | -------------------------------------------------------------------------------- /packages/starter/material-ui-starter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib", 6 | "noEmit": true, 7 | "target": "esnext", 8 | "module": "esnext", 9 | "moduleResolution": "node", 10 | "jsx": "react", 11 | "strict": true, 12 | "esModuleInterop": true, 13 | "resolveJsonModule": true, 14 | "isolatedModules": true 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 4 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # next.js 12 | /.next/ 13 | /.swc/ 14 | /out/ 15 | 16 | # production 17 | /build 18 | 19 | # misc 20 | .DS_Store 21 | *.pem 22 | 23 | # debug 24 | npm-debug.log* 25 | yarn-debug.log* 26 | yarn-error.log* 27 | 28 | # local env files 29 | .env.local 30 | .env.development.local 31 | .env.test.local 32 | .env.production.local 33 | 34 | # vercel 35 | .vercel 36 | 37 | # typescript 38 | *.tsbuildinfo 39 | /lib 40 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/.prettierignore: -------------------------------------------------------------------------------- 1 | /.next 2 | /.swc 3 | /lib 4 | /node_modules 5 | 6 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "trailingComma": "es5", 4 | "tabWidth": 4, 5 | "semi": true, 6 | "singleQuote": true 7 | } -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-nextjs-starter 2 | 3 | ## 0.8.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-wallets@0.19.15 10 | - @solana/wallet-adapter-react-ui@0.9.29 11 | - @solana/wallet-adapter-react@0.15.30 12 | - @solana/wallet-adapter-base@0.9.22 13 | 14 | ## 0.8.16 15 | 16 | ### Patch Changes 17 | 18 | - 912cc0e: Allow wallets to customize autoConnect handling, adding support for Phantom deep links on iOS 19 | - Updated dependencies [912cc0e] 20 | - @solana/wallet-adapter-base@0.9.20 21 | - @solana/wallet-adapter-react@0.15.26 22 | - @solana/wallet-adapter-react-ui@0.9.24 23 | - @solana/wallet-adapter-wallets@0.19.9 24 | 25 | ## 0.8.15 26 | 27 | ### Patch Changes 28 | 29 | - 5d016a2: Mobile Wallet Adapter and Wallet Standard support in `@solana/wallet-adapter-react` 30 | 31 | - Early Access + Upgrade Guide: https://github.com/solana-labs/wallet-adapter/issues/604 32 | - Changes in this release: https://github.com/solana-labs/wallet-adapter/pull/598 33 | 34 | - Updated dependencies [5d016a2] 35 | - @solana/wallet-adapter-react@0.15.22 36 | - @solana/wallet-adapter-react-ui@0.9.20 37 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/next-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | 4 | // NOTE: This file should not be edited 5 | // see https://nextjs.org/docs/basic-features/typescript for more information. 6 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/next.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | module.exports = { 3 | reactStrictMode: true, 4 | }; 5 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/packages/starter/nextjs-starter/public/favicon.ico -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/public/vercel.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/src/pages/api/hello.ts: -------------------------------------------------------------------------------- 1 | // Next.js API route support: https://nextjs.org/docs/api-routes/introduction 2 | import type { NextApiRequest, NextApiResponse } from 'next'; 3 | 4 | type Data = { 5 | name: string; 6 | }; 7 | 8 | export default function handler(req: NextApiRequest, res: NextApiResponse) { 9 | res.status(200).json({ name: 'John Doe' }); 10 | } 11 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/src/styles/globals.css: -------------------------------------------------------------------------------- 1 | html, 2 | body { 3 | padding: 0; 4 | margin: 0; 5 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, 6 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; 7 | } 8 | 9 | a { 10 | color: inherit; 11 | text-decoration: none; 12 | } 13 | 14 | * { 15 | box-sizing: border-box; 16 | } 17 | -------------------------------------------------------------------------------- /packages/starter/nextjs-starter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], 4 | "compilerOptions": { 5 | "outDir": "lib", 6 | "target": "es6", 7 | "lib": ["dom", "dom.iterable", "esnext"], 8 | "allowJs": true, 9 | "skipLibCheck": true, 10 | "strict": true, 11 | "forceConsistentCasingInFileNames": true, 12 | "noEmit": true, 13 | "esModuleInterop": true, 14 | "module": "esnext", 15 | "moduleResolution": "node", 16 | "resolveJsonModule": true, 17 | "isolatedModules": true, 18 | "jsx": "preserve", 19 | "incremental": true 20 | }, 21 | "exclude": ["node_modules"] 22 | } 23 | -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 4 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/.gitignore: -------------------------------------------------------------------------------- 1 | /.parcel-cache 2 | /dist 3 | /lib 4 | /node_modules 5 | 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/.prettierignore: -------------------------------------------------------------------------------- 1 | /.parcel-cache 2 | /dist 3 | /lib 4 | /node_modules 5 | 6 | -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "trailingComma": "es5", 4 | "tabWidth": 4, 5 | "semi": true, 6 | "singleQuote": true 7 | } -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-react-ui-starter 2 | 3 | ## 0.9.18 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-wallets@0.19.15 10 | - @solana/wallet-adapter-react-ui@0.9.29 11 | - @solana/wallet-adapter-react@0.15.30 12 | - @solana/wallet-adapter-base@0.9.22 13 | 14 | ## 0.9.17 15 | 16 | ### Patch Changes 17 | 18 | - 912cc0e: Allow wallets to customize autoConnect handling, adding support for Phantom deep links on iOS 19 | - Updated dependencies [912cc0e] 20 | - @solana/wallet-adapter-base@0.9.20 21 | - @solana/wallet-adapter-react@0.15.26 22 | - @solana/wallet-adapter-react-ui@0.9.24 23 | - @solana/wallet-adapter-wallets@0.19.9 24 | 25 | ## 0.9.16 26 | 27 | ### Patch Changes 28 | 29 | - 5d016a2: Mobile Wallet Adapter and Wallet Standard support in `@solana/wallet-adapter-react` 30 | 31 | - Early Access + Upgrade Guide: https://github.com/solana-labs/wallet-adapter/issues/604 32 | - Changes in this release: https://github.com/solana-labs/wallet-adapter/pull/598 33 | 34 | - Updated dependencies [5d016a2] 35 | - @solana/wallet-adapter-react@0.15.22 36 | - @solana/wallet-adapter-react-ui@0.9.20 37 | -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/src/index.css: -------------------------------------------------------------------------------- 1 | @import './reset.css'; 2 | 3 | html, body { 4 | background-color: #303030; 5 | color: #FFFFFF; 6 | } 7 | 8 | #app { 9 | min-height: 100vh; 10 | display: flex; 11 | justify-content: center; 12 | align-items: center; 13 | } 14 | -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | WalletAdapter Starter 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React, { StrictMode } from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import { App } from './App'; 4 | 5 | ReactDOM.render( 6 | 7 | 8 | , 9 | document.getElementById('app') 10 | ); 11 | -------------------------------------------------------------------------------- /packages/starter/react-ui-starter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib", 6 | "noEmit": true, 7 | "target": "esnext", 8 | "module": "esnext", 9 | "moduleResolution": "node", 10 | "jsx": "react", 11 | "strict": true, 12 | "esModuleInterop": true, 13 | "resolveJsonModule": true, 14 | "isolatedModules": true 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/ui/ant-design/src/WalletIcon.tsx: -------------------------------------------------------------------------------- 1 | import type { Wallet } from '@solana/wallet-adapter-react'; 2 | import type { DetailedHTMLProps, FC, ImgHTMLAttributes } from 'react'; 3 | import React from 'react'; 4 | 5 | export interface WalletIconProps extends DetailedHTMLProps, HTMLImageElement> { 6 | wallet: Wallet | null; 7 | } 8 | 9 | export const WalletIcon: FC = ({ wallet, ...props }) => { 10 | return ( 11 | wallet && ( 12 | {`${wallet.adapter.name} 18 | ) 19 | ); 20 | }; 21 | -------------------------------------------------------------------------------- /packages/ui/ant-design/src/WalletMenuItem.tsx: -------------------------------------------------------------------------------- 1 | import type { Wallet } from '@solana/wallet-adapter-react'; 2 | import type { MenuItemProps } from 'antd'; 3 | import { Button, Menu } from 'antd'; 4 | import type { FC, MouseEventHandler } from 'react'; 5 | import React from 'react'; 6 | import { WalletIcon } from './WalletIcon.js'; 7 | 8 | interface WalletMenuItemProps extends Omit { 9 | onClick: MouseEventHandler; 10 | wallet: Wallet; 11 | } 12 | 13 | export const WalletMenuItem: FC = ({ onClick, wallet, ...props }) => { 14 | return ( 15 | 16 | 26 | 27 | ); 28 | }; 29 | -------------------------------------------------------------------------------- /packages/ui/ant-design/src/WalletModalButton.tsx: -------------------------------------------------------------------------------- 1 | import type { ButtonProps } from 'antd'; 2 | import { Button } from 'antd'; 3 | import type { FC, MouseEventHandler } from 'react'; 4 | import React, { useCallback } from 'react'; 5 | import { useWalletModal } from './useWalletModal.js'; 6 | 7 | export const WalletModalButton: FC = ({ 8 | children = 'Select Wallet', 9 | type = 'primary', 10 | size = 'large', 11 | htmlType = 'button', 12 | onClick, 13 | ...props 14 | }) => { 15 | const { setVisible } = useWalletModal(); 16 | 17 | const handleClick: MouseEventHandler = useCallback( 18 | (event) => { 19 | if (onClick) onClick(event); 20 | if (!event.defaultPrevented) setVisible(true); 21 | }, 22 | [onClick, setVisible] 23 | ); 24 | 25 | return ( 26 | 29 | ); 30 | }; 31 | -------------------------------------------------------------------------------- /packages/ui/ant-design/src/WalletModalProvider.tsx: -------------------------------------------------------------------------------- 1 | import type { FC, ReactNode } from 'react'; 2 | import React, { useState } from 'react'; 3 | import { WalletModalContext } from './useWalletModal.js'; 4 | import type { WalletModalProps } from './WalletModal.js'; 5 | import { WalletModal } from './WalletModal.js'; 6 | 7 | export interface WalletModalProviderProps extends WalletModalProps { 8 | children: ReactNode; 9 | } 10 | 11 | export const WalletModalProvider: FC = ({ children, ...props }) => { 12 | const [visible, setVisible] = useState(false); 13 | 14 | return ( 15 | 21 | {children} 22 | 23 | 24 | ); 25 | }; 26 | -------------------------------------------------------------------------------- /packages/ui/ant-design/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useWalletModal.js'; 2 | export * from './WalletConnectButton.js'; 3 | export * from './WalletModal.js'; 4 | export * from './WalletModalButton.js'; 5 | export * from './WalletModalProvider.js'; 6 | export * from './WalletDisconnectButton.js'; 7 | export * from './WalletIcon.js'; 8 | export * from './WalletMultiButton.js'; 9 | -------------------------------------------------------------------------------- /packages/ui/ant-design/src/useWalletModal.ts: -------------------------------------------------------------------------------- 1 | import { createContext, useContext } from 'react'; 2 | 3 | export interface WalletModalContextState { 4 | visible: boolean; 5 | setVisible: (open: boolean) => void; 6 | } 7 | 8 | const DEFAULT_CONTEXT = { 9 | setVisible(_open: boolean) { 10 | console.error(constructMissingProviderErrorMessage('call', 'setVisible')); 11 | }, 12 | visible: false, 13 | }; 14 | Object.defineProperty(DEFAULT_CONTEXT, 'visible', { 15 | get() { 16 | console.error(constructMissingProviderErrorMessage('read', 'visible')); 17 | return false; 18 | }, 19 | }); 20 | 21 | function constructMissingProviderErrorMessage(action: string, valueName: string) { 22 | return ( 23 | 'You have tried to ' + 24 | ` ${action} "${valueName}"` + 25 | ' on a WalletModalContext without providing one.' + 26 | ' Make sure to render a WalletModalProvider' + 27 | ' as an ancestor of the component that uses ' + 28 | 'WalletModalContext' 29 | ); 30 | } 31 | 32 | export const WalletModalContext = createContext(DEFAULT_CONTEXT as WalletModalContextState); 33 | 34 | export function useWalletModal(): WalletModalContextState { 35 | return useContext(WalletModalContext); 36 | } 37 | -------------------------------------------------------------------------------- /packages/ui/ant-design/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "exclude": ["src/**/__tests__"], 5 | "compilerOptions": { 6 | "outDir": "lib/cjs", 7 | "jsx": "react" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/ui/ant-design/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "exclude": ["src/**/__tests__"], 5 | "compilerOptions": { 6 | "outDir": "lib/esm", 7 | "declarationDir": "lib/types", 8 | "jsx": "react" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/ui/ant-design/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/ui/material-ui/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-material-ui` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/ui/material-ui/src/WalletDialogButton.tsx: -------------------------------------------------------------------------------- 1 | import type { ButtonProps } from '@mui/material'; 2 | import { Button } from '@mui/material'; 3 | import type { FC, MouseEventHandler } from 'react'; 4 | import React, { useCallback } from 'react'; 5 | import { useWalletDialog } from './useWalletDialog.js'; 6 | 7 | export const WalletDialogButton: FC = ({ 8 | children = 'Select Wallet', 9 | color = 'primary', 10 | variant = 'contained', 11 | type = 'button', 12 | onClick, 13 | ...props 14 | }) => { 15 | const { setOpen } = useWalletDialog(); 16 | 17 | const handleClick: MouseEventHandler = useCallback( 18 | (event) => { 19 | if (onClick) onClick(event); 20 | if (!event.defaultPrevented) setOpen(true); 21 | }, 22 | [onClick, setOpen] 23 | ); 24 | 25 | return ( 26 | 29 | ); 30 | }; 31 | -------------------------------------------------------------------------------- /packages/ui/material-ui/src/WalletDialogProvider.tsx: -------------------------------------------------------------------------------- 1 | import type { FC, ReactNode } from 'react'; 2 | import React, { useState } from 'react'; 3 | import { WalletDialogContext } from './useWalletDialog.js'; 4 | import type { WalletDialogProps } from './WalletDialog.js'; 5 | import { WalletDialog } from './WalletDialog.js'; 6 | 7 | export interface WalletDialogProviderProps extends WalletDialogProps { 8 | children: ReactNode; 9 | } 10 | 11 | export const WalletDialogProvider: FC = ({ children, ...props }) => { 12 | const [open, setOpen] = useState(false); 13 | 14 | return ( 15 | 21 | {children} 22 | 23 | 24 | ); 25 | }; 26 | -------------------------------------------------------------------------------- /packages/ui/material-ui/src/WalletIcon.tsx: -------------------------------------------------------------------------------- 1 | import type { Theme } from '@mui/material'; 2 | import { styled } from '@mui/material'; 3 | import type { Wallet } from '@solana/wallet-adapter-react'; 4 | import type { DetailedHTMLProps, FC, ImgHTMLAttributes } from 'react'; 5 | import React from 'react'; 6 | 7 | const Img = styled('img')(({ theme }: { theme: Theme }) => ({ 8 | width: theme.spacing(3), 9 | height: theme.spacing(3), 10 | })); 11 | 12 | export interface WalletIconProps extends DetailedHTMLProps, HTMLImageElement> { 13 | wallet: Wallet | null; 14 | } 15 | 16 | export const WalletIcon: FC = ({ wallet, ...props }) => { 17 | return wallet && {`${wallet.adapter.name}; 18 | }; 19 | -------------------------------------------------------------------------------- /packages/ui/material-ui/src/WalletListItem.tsx: -------------------------------------------------------------------------------- 1 | import type { ListItemProps } from '@mui/material'; 2 | import { Button, ListItem } from '@mui/material'; 3 | import type { Wallet } from '@solana/wallet-adapter-react'; 4 | import type { FC, MouseEventHandler } from 'react'; 5 | import React from 'react'; 6 | import { WalletIcon } from './WalletIcon.js'; 7 | 8 | interface WalletListItemProps extends Omit { 9 | onClick: MouseEventHandler; 10 | wallet: Wallet; 11 | } 12 | 13 | export const WalletListItem: FC = ({ onClick, wallet, ...props }) => { 14 | return ( 15 | 16 | 19 | 20 | ); 21 | }; 22 | -------------------------------------------------------------------------------- /packages/ui/material-ui/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useWalletDialog.js'; 2 | export * from './WalletConnectButton.js'; 3 | export * from './WalletDialog.js'; 4 | export * from './WalletDialogButton.js'; 5 | export * from './WalletDialogProvider.js'; 6 | export * from './WalletDisconnectButton.js'; 7 | export * from './WalletIcon.js'; 8 | export * from './WalletMultiButton.js'; 9 | -------------------------------------------------------------------------------- /packages/ui/material-ui/src/useWalletDialog.ts: -------------------------------------------------------------------------------- 1 | import { createContext, useContext } from 'react'; 2 | 3 | export interface WalletDialogContextState { 4 | open: boolean; 5 | setOpen: (open: boolean) => void; 6 | } 7 | 8 | export const WalletDialogContext = createContext({} as WalletDialogContextState); 9 | 10 | export function useWalletDialog(): WalletDialogContextState { 11 | return useContext(WalletDialogContext); 12 | } 13 | -------------------------------------------------------------------------------- /packages/ui/material-ui/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "exclude": ["src/**/__tests__"], 5 | "compilerOptions": { 6 | "outDir": "lib/cjs", 7 | "jsx": "react" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/ui/material-ui/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "exclude": ["src/**/__tests__"], 5 | "compilerOptions": { 6 | "outDir": "lib/esm", 7 | "declarationDir": "lib/types", 8 | "jsx": "react" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/ui/material-ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/ui/react-ui/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-react-ui` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/ui/react-ui/src/Button.tsx: -------------------------------------------------------------------------------- 1 | import type { CSSProperties, FC, MouseEvent, PropsWithChildren, ReactElement } from 'react'; 2 | import React from 'react'; 3 | 4 | export type ButtonProps = PropsWithChildren<{ 5 | className?: string; 6 | disabled?: boolean; 7 | endIcon?: ReactElement; 8 | onClick?: (e: MouseEvent) => void; 9 | startIcon?: ReactElement; 10 | style?: CSSProperties; 11 | tabIndex?: number; 12 | }>; 13 | 14 | export const Button: FC = (props) => { 15 | return ( 16 | 28 | ); 29 | }; 30 | -------------------------------------------------------------------------------- /packages/ui/react-ui/src/WalletIcon.tsx: -------------------------------------------------------------------------------- 1 | import type { Wallet } from '@solana/wallet-adapter-react'; 2 | import type { DetailedHTMLProps, FC, ImgHTMLAttributes } from 'react'; 3 | import React from 'react'; 4 | 5 | export interface WalletIconProps extends DetailedHTMLProps, HTMLImageElement> { 6 | wallet: Wallet | null; 7 | } 8 | 9 | export const WalletIcon: FC = ({ wallet, ...props }) => { 10 | return wallet && {`${wallet.adapter.name}; 11 | }; 12 | -------------------------------------------------------------------------------- /packages/ui/react-ui/src/WalletListItem.tsx: -------------------------------------------------------------------------------- 1 | import { WalletReadyState } from '@solana/wallet-adapter-base'; 2 | import type { Wallet } from '@solana/wallet-adapter-react'; 3 | import type { FC, MouseEventHandler } from 'react'; 4 | import React from 'react'; 5 | import { Button } from './Button.js'; 6 | import { WalletIcon } from './WalletIcon.js'; 7 | 8 | export interface WalletListItemProps { 9 | handleClick: MouseEventHandler; 10 | tabIndex?: number; 11 | wallet: Wallet; 12 | } 13 | 14 | export const WalletListItem: FC = ({ handleClick, tabIndex, wallet }) => { 15 | return ( 16 |
  • 17 | 21 |
  • 22 | ); 23 | }; 24 | -------------------------------------------------------------------------------- /packages/ui/react-ui/src/WalletModalButton.tsx: -------------------------------------------------------------------------------- 1 | import type { FC, MouseEvent } from 'react'; 2 | import React, { useCallback } from 'react'; 3 | import type { ButtonProps } from './Button.js'; 4 | import { Button } from './Button.js'; 5 | import { useWalletModal } from './useWalletModal.js'; 6 | 7 | export const WalletModalButton: FC = ({ children = 'Select Wallet', onClick, ...props }) => { 8 | const { visible, setVisible } = useWalletModal(); 9 | 10 | const handleClick = useCallback( 11 | (event: MouseEvent) => { 12 | if (onClick) onClick(event); 13 | if (!event.defaultPrevented) setVisible(!visible); 14 | }, 15 | [onClick, setVisible, visible] 16 | ); 17 | 18 | return ( 19 | 22 | ); 23 | }; 24 | -------------------------------------------------------------------------------- /packages/ui/react-ui/src/WalletModalProvider.tsx: -------------------------------------------------------------------------------- 1 | import type { FC, ReactNode } from 'react'; 2 | import React, { useState } from 'react'; 3 | import { WalletModalContext } from './useWalletModal.js'; 4 | import type { WalletModalProps } from './WalletModal.js'; 5 | import { WalletModal } from './WalletModal.js'; 6 | 7 | export interface WalletModalProviderProps extends WalletModalProps { 8 | children: ReactNode; 9 | } 10 | 11 | export const WalletModalProvider: FC = ({ children, ...props }) => { 12 | const [visible, setVisible] = useState(false); 13 | 14 | return ( 15 | 21 | {children} 22 | {visible && } 23 | 24 | ); 25 | }; 26 | -------------------------------------------------------------------------------- /packages/ui/react-ui/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useWalletModal.js'; 2 | export * from './WalletConnectButton.js'; 3 | export * from './WalletModal.js'; 4 | export * from './WalletModalButton.js'; 5 | export * from './WalletModalProvider.js'; 6 | export * from './WalletDisconnectButton.js'; 7 | export * from './WalletIcon.js'; 8 | export * from './WalletMultiButton.js'; 9 | -------------------------------------------------------------------------------- /packages/ui/react-ui/src/useWalletModal.tsx: -------------------------------------------------------------------------------- 1 | import { createContext, useContext } from 'react'; 2 | 3 | export interface WalletModalContextState { 4 | visible: boolean; 5 | setVisible: (open: boolean) => void; 6 | } 7 | 8 | const DEFAULT_CONTEXT = { 9 | setVisible(_open: boolean) { 10 | console.error(constructMissingProviderErrorMessage('call', 'setVisible')); 11 | }, 12 | visible: false, 13 | }; 14 | Object.defineProperty(DEFAULT_CONTEXT, 'visible', { 15 | get() { 16 | console.error(constructMissingProviderErrorMessage('read', 'visible')); 17 | return false; 18 | }, 19 | }); 20 | 21 | function constructMissingProviderErrorMessage(action: string, valueName: string) { 22 | return ( 23 | 'You have tried to ' + 24 | ` ${action} "${valueName}"` + 25 | ' on a WalletModalContext without providing one.' + 26 | ' Make sure to render a WalletModalProvider' + 27 | ' as an ancestor of the component that uses ' + 28 | 'WalletModalContext' 29 | ); 30 | } 31 | 32 | export const WalletModalContext = createContext(DEFAULT_CONTEXT as WalletModalContextState); 33 | 34 | export function useWalletModal(): WalletModalContextState { 35 | return useContext(WalletModalContext); 36 | } 37 | -------------------------------------------------------------------------------- /packages/ui/react-ui/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "exclude": ["src/**/__tests__"], 5 | "compilerOptions": { 6 | "outDir": "lib/cjs", 7 | "jsx": "react" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/ui/react-ui/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "exclude": ["src/**/__tests__"], 5 | "compilerOptions": { 6 | "outDir": "lib/esm", 7 | "declarationDir": "lib/types", 8 | "jsx": "react" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/ui/react-ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/alpha/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-alpha 2 | 3 | ## 0.1.9 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.8 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.7 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.6 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/alpha/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-alpha` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/alpha/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/alpha/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/alpha/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/alpha/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/avana/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-avana 2 | 3 | ## 0.1.12 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.11 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.10 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.9 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/avana/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-avana` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/avana/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/avana/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/avana/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/avana/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/backpack/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-backpack 2 | 3 | ## 0.1.13 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.12 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.11 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.10 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/backpack/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-backpack` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/backpack/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/backpack/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/backpack/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/backpack/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/bitkeep/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-bitkeep 2 | 3 | ## 0.3.18 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.3.17 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.3.16 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.3.15 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/bitkeep/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-bitkeep` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/bitkeep/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/bitkeep/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/bitkeep/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/bitkeep/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/bitpie/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-bitpie 2 | 3 | ## 0.5.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.5.16 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.5.15 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.5.14 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/bitpie/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-bitpie` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/bitpie/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/bitpie/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/bitpie/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/bitpie/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/blocto/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-blocto 2 | 3 | ## 0.5.21 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.5.20 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.5.19 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.5.18 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/blocto/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-blocto` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/blocto/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/blocto/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/blocto/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/blocto/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/brave/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-brave 2 | 3 | ## 0.1.16 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.15 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.14 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.13 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/brave/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-brave` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/brave/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/brave/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/brave/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/brave/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/censo/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-censo 2 | 3 | ## 0.1.3 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.2 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.1 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.0 26 | 27 | ### Minor Changes 28 | 29 | - d8b328e: Add Censo wallet 30 | -------------------------------------------------------------------------------- /packages/wallets/censo/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-censo` 2 | 3 | Wallet adapter for [Censo Custody](https://censocustody.com) 4 | -------------------------------------------------------------------------------- /packages/wallets/censo/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/censo/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/censo/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/censo/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/clover/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-clover 2 | 3 | ## 0.4.18 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.4.17 12 | 13 | ### Patch Changes 14 | 15 | - f99c2154: Update URL and icon for Clover adapter 16 | - Updated dependencies [f99c2154] 17 | - @solana/wallet-adapter-base@0.9.21 18 | 19 | ## 0.4.16 20 | 21 | ### Patch Changes 22 | 23 | - Updated dependencies [912cc0e] 24 | - @solana/wallet-adapter-base@0.9.20 25 | 26 | ## 0.4.15 27 | 28 | ### Patch Changes 29 | 30 | - Updated dependencies [353f2a5] 31 | - @solana/wallet-adapter-base@0.9.19 32 | -------------------------------------------------------------------------------- /packages/wallets/clover/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-clover` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/clover/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/clover/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/clover/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/clover/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/coin98/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-coin98 2 | 3 | ## 0.5.19 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.5.18 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.5.17 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.5.16 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/coin98/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-coin98` 2 | 3 | 4 | 5 | Coming soon. 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/wallets/coin98/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/coin98/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/coin98/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/coin98/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/coinbase/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-coinbase 2 | 3 | ## 0.1.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.16 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.15 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.14 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/coinbase/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-coinbase` 2 | 3 | This package provides an adapter to enable Solana apps to connect to the Coinbase Wallet browser extension. 4 | 5 | For quick setup, please refer to the solana-labs/wallet-adapter [README](https://github.com/solana-labs/wallet-adapter#quick-setup-using-react-ui) 6 | 7 | [Coinbase Wallet extension](https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad?hl=en) is the safest and easiest way to use crypto apps in your browser. 8 | 9 | - [Coinbase Wallet](https://www.coinbase.com/wallet) 10 | - [Getting Started](https://www.coinbase.com/wallet/getting-started-extension) 11 | -------------------------------------------------------------------------------- /packages/wallets/coinbase/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/coinbase/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/coinbase/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/coinbase/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/coinhub/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-coinhub 2 | 3 | ## 0.3.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.3.16 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.3.15 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.3.14 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/coinhub/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-coinhub` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/coinhub/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/coinhub/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/coinhub/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/coinhub/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/exodus/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-exodus 2 | 3 | ## 0.1.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.16 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.15 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.14 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/exodus/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-exodus` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/exodus/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/exodus/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/exodus/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/exodus/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/fractal/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-fractal 2 | 3 | ## 0.1.7 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.6 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.5 19 | 20 | ### Patch Changes 21 | 22 | - 912cc0e: Allow wallets to customize autoConnect handling, adding support for Phantom deep links on iOS 23 | - Updated dependencies [912cc0e] 24 | - @solana/wallet-adapter-base@0.9.20 25 | 26 | ## 0.1.4 27 | 28 | ### Patch Changes 29 | 30 | - 6e1aa20: Fixes a bug with `signMessage` where the fractal.is popup was sending an incorrect signature Uint8Array 31 | 32 | ## 0.1.3 33 | 34 | ### Patch Changes 35 | 36 | - ac78da7: Add signMessage method to Fractal adapter 37 | - Updated dependencies [353f2a5] 38 | - @solana/wallet-adapter-base@0.9.19 39 | -------------------------------------------------------------------------------- /packages/wallets/fractal/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-fractal` 2 | 3 | This package provides an adapter to enable Solana apps to connect to a Fractal Wallet. 4 | 5 | For quick setup, please refer to the solana-labs/wallet-adapter [README](https://github.com/solana-labs/wallet-adapter#quick-setup-using-react-ui) 6 | 7 | Integrating with [Fractal's Developer APIs and SDKs](https://developers.fractal.is) is the easiest way to build web3 games. 8 | -------------------------------------------------------------------------------- /packages/wallets/fractal/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/fractal/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/fractal/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/fractal/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/glow/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-glow 2 | 3 | ## 0.1.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.16 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.15 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.14 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/glow/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-glow` 2 | 3 | [Glow](https://glow.app) is an easy-to-use, secure wallet for iOS. 4 | 5 | ## Platforms 6 | 7 | We support the following platforms: 8 | 9 | - **Desktop** Browser extension that works across Chrome, Brave, Edge, and Firefox 10 | - **iOS** Safari extension that you can use in your native Safari browser 11 | - **Android** in-app browser (coming August 2022) 12 | 13 | ## Resources 14 | 15 | - [Download Glow](https://glow.app/download) 16 | - [Demo of Glow + Wallet Adapter](https://wallet-adapter-example.luma-dev.com) 17 | - [User Guide for Enabling Safari Extension](https://glow.app/safari) 18 | 19 | ## Setting Network 20 | 21 | On Glow, the app is responsible for choosing the network that processes the transaction. We simulate all transactions 22 | before prompting the user to approve them and if the app doesn't choose the right network, the simulation will fail. 23 | 24 | ```ts 25 | // This will default to Mainnet 26 | const wallets = useMemo(() => [new GlowWalletAdapter()]) 27 | 28 | // This will use Devnet 29 | const devnetWallets = useMemo(() => [new GlowWalletAdapter({ network: "devnet" })]) 30 | ``` 31 | -------------------------------------------------------------------------------- /packages/wallets/glow/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@solana/wallet-adapter-glow", 3 | "version": "0.1.17", 4 | "author": "Solana Maintainers ", 5 | "repository": "https://github.com/solana-labs/wallet-adapter", 6 | "license": "Apache-2.0", 7 | "publishConfig": { 8 | "access": "public" 9 | }, 10 | "files": [ 11 | "lib", 12 | "src", 13 | "LICENSE" 14 | ], 15 | "engines": { 16 | "node": ">=16" 17 | }, 18 | "type": "module", 19 | "sideEffects": false, 20 | "main": "./lib/cjs/index.js", 21 | "module": "./lib/esm/index.js", 22 | "types": "./lib/types/index.d.ts", 23 | "exports": { 24 | "require": "./lib/cjs/index.js", 25 | "import": "./lib/esm/index.js", 26 | "types": "./lib/types/index.d.ts" 27 | }, 28 | "scripts": { 29 | "build": "tsc --build --verbose && pnpm run package", 30 | "clean": "shx mkdir -p lib && shx rm -rf lib", 31 | "lint": "prettier --check 'src/{*,**/*}.{ts,tsx,js,jsx,json}' && eslint", 32 | "package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json" 33 | }, 34 | "peerDependencies": { 35 | "@solana/web3.js": "^1.58.0" 36 | }, 37 | "dependencies": { 38 | "@solana/wallet-adapter-base": "workspace:^" 39 | }, 40 | "devDependencies": { 41 | "@solana/web3.js": "^1.73.2", 42 | "shx": "^0.3.4" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /packages/wallets/glow/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/glow/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/glow/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/glow/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/huobi/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-huobi 2 | 3 | ## 0.1.14 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.13 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.12 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.11 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/huobi/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-huobi` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/huobi/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/huobi/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/huobi/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/huobi/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/hyperpay/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-hyperpay 2 | 3 | ## 0.1.13 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.12 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.11 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.10 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/hyperpay/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-hyperpay` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/hyperpay/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/hyperpay/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/hyperpay/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/hyperpay/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/icons/ONTO.svg: -------------------------------------------------------------------------------- 1 | 2 | ONTO LOGO_288x288 3 | 6 | 7 | -------------------------------------------------------------------------------- /packages/wallets/icons/__DO_NOT_MOVE__.txt: -------------------------------------------------------------------------------- 1 | Do not move this directory or the icons within it. 2 | 3 | https://github.com/solana-labs/wallet-adapter/issues/74 4 | -------------------------------------------------------------------------------- /packages/wallets/icons/blocto.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/wallets/icons/clover.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/wallets/icons/coinbase.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /packages/wallets/icons/huobiwallet.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /packages/wallets/icons/keystone.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /packages/wallets/icons/ledger.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/wallets/icons/phantom.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/wallets/icons/safepal.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/wallets/icons/salmon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/packages/wallets/icons/salmon.png -------------------------------------------------------------------------------- /packages/wallets/icons/slope.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/wallets/icons/sollet.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/wallets/icons/sollet_extension.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/packages/wallets/icons/sollet_extension.png -------------------------------------------------------------------------------- /packages/wallets/icons/solong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/packages/wallets/icons/solong.png -------------------------------------------------------------------------------- /packages/wallets/icons/tokenary.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Oval 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/wallets/icons/torus.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/wallets/keystone/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-keystone 2 | 3 | ## 0.1.11 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.10 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.9 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.8 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/keystone/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-keystone` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/keystone/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/keystone/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/keystone/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/keystone/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/krystal/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-krystal 2 | 3 | ## 0.1.11 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.10 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.9 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.8 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/krystal/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-krystal` 2 | 3 | 4 | 5 | Coming soon. 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/wallets/krystal/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/krystal/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/krystal/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/krystal/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/ledger/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-ledger 2 | 3 | ## 0.9.24 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.9.23 12 | 13 | ### Patch Changes 14 | 15 | - f99c2154: Add v0 tx support to Ledger adapter 16 | - Updated dependencies [f99c2154] 17 | - @solana/wallet-adapter-base@0.9.21 18 | 19 | ## 0.9.22 20 | 21 | ### Patch Changes 22 | 23 | - Updated dependencies [912cc0e] 24 | - @solana/wallet-adapter-base@0.9.20 25 | 26 | ## 0.9.21 27 | 28 | ### Patch Changes 29 | 30 | - Updated dependencies [353f2a5] 31 | - @solana/wallet-adapter-base@0.9.19 32 | -------------------------------------------------------------------------------- /packages/wallets/ledger/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-ledger` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/ledger/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | export { getDerivationPath } from './util.js'; 3 | -------------------------------------------------------------------------------- /packages/wallets/ledger/src/polyfills/Buffer.ts: -------------------------------------------------------------------------------- 1 | import { Buffer } from 'buffer'; 2 | 3 | if (typeof window !== 'undefined' && window.Buffer === undefined) { 4 | (window as any).Buffer = Buffer; 5 | } 6 | 7 | export {}; 8 | -------------------------------------------------------------------------------- /packages/wallets/ledger/src/polyfills/index.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import './Buffer.js'; 4 | -------------------------------------------------------------------------------- /packages/wallets/ledger/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/ledger/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/ledger/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/magiceden/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-magiceden 2 | 3 | ## 0.1.12 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.11 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.10 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.9 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/magiceden/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-magiceden` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/magiceden/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/magiceden/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/magiceden/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/magiceden/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/mathwallet/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-mathwallet 2 | 3 | ## 0.9.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.9.16 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.9.15 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.9.14 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/mathwallet/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-mathwallet` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/mathwallet/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/mathwallet/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/mathwallet/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/mathwallet/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/neko/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-neko 2 | 3 | ## 0.2.11 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.2.10 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.2.9 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.2.8 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/neko/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-neko` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/neko/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@solana/wallet-adapter-neko", 3 | "version": "0.2.11", 4 | "author": "Solana Maintainers ", 5 | "repository": "https://github.com/solana-labs/wallet-adapter", 6 | "license": "Apache-2.0", 7 | "publishConfig": { 8 | "access": "public" 9 | }, 10 | "files": [ 11 | "lib", 12 | "src", 13 | "LICENSE" 14 | ], 15 | "engines": { 16 | "node": ">=16" 17 | }, 18 | "type": "module", 19 | "sideEffects": false, 20 | "main": "./lib/cjs/index.js", 21 | "module": "./lib/esm/index.js", 22 | "types": "./lib/types/index.d.ts", 23 | "exports": { 24 | "require": "./lib/cjs/index.js", 25 | "import": "./lib/esm/index.js", 26 | "types": "./lib/types/index.d.ts" 27 | }, 28 | "scripts": { 29 | "build": "tsc --build --verbose && pnpm run package", 30 | "clean": "shx mkdir -p lib && shx rm -rf lib", 31 | "lint": "prettier --check 'src/{*,**/*}.{ts,tsx,js,jsx,json}' && eslint", 32 | "package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json" 33 | }, 34 | "peerDependencies": { 35 | "@solana/web3.js": "^1.58.0" 36 | }, 37 | "dependencies": { 38 | "@solana/wallet-adapter-base": "workspace:^" 39 | }, 40 | "devDependencies": { 41 | "@solana/web3.js": "^1.73.2", 42 | "shx": "^0.3.4" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /packages/wallets/neko/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/neko/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/neko/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/neko/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/nightly/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-nightly 2 | 3 | ## 0.1.14 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.13 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.12 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.11 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/nightly/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-nightly` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/nightly/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/nightly/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/nightly/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/nightly/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/nufi/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-nufi 2 | 3 | ## 0.1.15 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.14 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.13 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.12 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/nufi/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-nufi` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/nufi/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@solana/wallet-adapter-nufi", 3 | "version": "0.1.15", 4 | "author": "Solana Maintainers ", 5 | "repository": "https://github.com/solana-labs/wallet-adapter", 6 | "license": "Apache-2.0", 7 | "publishConfig": { 8 | "access": "public" 9 | }, 10 | "files": [ 11 | "lib", 12 | "src", 13 | "LICENSE" 14 | ], 15 | "engines": { 16 | "node": ">=16" 17 | }, 18 | "type": "module", 19 | "sideEffects": false, 20 | "main": "./lib/cjs/index.js", 21 | "module": "./lib/esm/index.js", 22 | "types": "./lib/types/index.d.ts", 23 | "exports": { 24 | "require": "./lib/cjs/index.js", 25 | "import": "./lib/esm/index.js", 26 | "types": "./lib/types/index.d.ts" 27 | }, 28 | "scripts": { 29 | "build": "tsc --build --verbose && pnpm run package", 30 | "clean": "shx mkdir -p lib && shx rm -rf lib", 31 | "lint": "prettier --check 'src/{*,**/*}.{ts,tsx,js,jsx,json}' && eslint", 32 | "package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json" 33 | }, 34 | "peerDependencies": { 35 | "@solana/web3.js": "^1.58.0" 36 | }, 37 | "dependencies": { 38 | "@solana/wallet-adapter-base": "workspace:^" 39 | }, 40 | "devDependencies": { 41 | "@solana/web3.js": "^1.73.2", 42 | "shx": "^0.3.4" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /packages/wallets/nufi/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/nufi/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/nufi/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/nufi/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/onto/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-onto 2 | 3 | ## 0.1.6 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.5 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.4 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.3 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/onto/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-onto` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/onto/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/onto/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/onto/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/onto/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/particle/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-particle 2 | 3 | ## 0.1.9 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.8 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.7 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.6 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/particle/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-particle` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/particle/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/particle/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/particle/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/particle/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/phantom/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-phantom 2 | 3 | ## 0.9.22 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.9.21 12 | 13 | ### Patch Changes 14 | 15 | - f99c2154: Fix for Phantom adapter's `connected` state 16 | - Updated dependencies [f99c2154] 17 | - @solana/wallet-adapter-base@0.9.21 18 | 19 | ## 0.9.20 20 | 21 | ### Patch Changes 22 | 23 | - b4558126: Add support for redirecting to Solflare browser on iOS 24 | 25 | ## 0.9.19 26 | 27 | ### Patch Changes 28 | 29 | - 912cc0e: Allow wallets to customize autoConnect handling, adding support for Phantom deep links on iOS 30 | - Updated dependencies [912cc0e] 31 | - @solana/wallet-adapter-base@0.9.20 32 | 33 | ## 0.9.18 34 | 35 | ### Patch Changes 36 | 37 | - fed93f5: Add support for VersionedTransaction to Phantom adapter 38 | - Updated dependencies [353f2a5] 39 | - @solana/wallet-adapter-base@0.9.19 40 | -------------------------------------------------------------------------------- /packages/wallets/phantom/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-phantom` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/phantom/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/phantom/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/phantom/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/phantom/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/safepal/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-safepal 2 | 3 | ## 0.5.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.5.16 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.5.15 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.5.14 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/safepal/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-safepal` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/safepal/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/safepal/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/safepal/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/safepal/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/saifu/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-saifu 2 | 3 | ## 0.1.14 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.13 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.12 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.11 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/saifu/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-saifu` 2 | 3 | Wallet adapter for integrating https://saifuwallet.com/ 4 | -------------------------------------------------------------------------------- /packages/wallets/saifu/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/saifu/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/saifu/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/saifu/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/salmon/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-salmon 2 | 3 | ## 0.1.13 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.12 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.11 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.10 26 | 27 | ### Patch Changes 28 | 29 | - b4f06fe: Update Salmon adapter loadable SDK 30 | - Updated dependencies [353f2a5] 31 | - @solana/wallet-adapter-base@0.9.19 32 | -------------------------------------------------------------------------------- /packages/wallets/salmon/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-salmon` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/salmon/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/salmon/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/salmon/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/salmon/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/sky/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-sky 2 | 3 | ## 0.1.14 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.13 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.12 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.11 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/sky/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-sky` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/sky/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/sky/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/sky/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/sky/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/slope/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-slope 2 | 3 | ## 0.5.20 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.5.19 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.5.18 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.5.17 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/slope/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-slope` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/slope/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/slope/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/slope/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/slope/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/solflare/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-solflare 2 | 3 | ## 0.6.24 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.6.23 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.6.22 19 | 20 | ### Patch Changes 21 | 22 | - b4558126: Add support for redirecting to Solflare browser on iOS 23 | 24 | ## 0.6.21 25 | 26 | ### Patch Changes 27 | 28 | - 21d2c863: Add support for `accountChanged` event to Solflare adapter 29 | 30 | ## 0.6.20 31 | 32 | ### Patch Changes 33 | 34 | - Updated dependencies [912cc0e] 35 | - @solana/wallet-adapter-base@0.9.20 36 | 37 | ## 0.6.19 38 | 39 | ### Patch Changes 40 | 41 | - Updated dependencies [353f2a5] 42 | - @solana/wallet-adapter-base@0.9.19 43 | -------------------------------------------------------------------------------- /packages/wallets/solflare/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-solflare` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/solflare/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/solflare/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/solflare/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/solflare/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/sollet/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-sollet 2 | 3 | ## 0.11.16 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.11.15 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.11.14 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.11.13 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/sollet/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-sollet` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/sollet/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './base.js'; 2 | export * from './adapter.js'; 3 | -------------------------------------------------------------------------------- /packages/wallets/sollet/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/sollet/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/sollet/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/solong/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-solong 2 | 3 | ## 0.9.17 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.9.16 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.9.15 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.9.14 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/solong/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-solong` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/solong/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/solong/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/solong/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/solong/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/spot/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-spot 2 | 3 | ## 0.1.14 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.13 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.12 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.11 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/spot/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-spot` 2 | 3 | Coming soon. 4 | -------------------------------------------------------------------------------- /packages/wallets/spot/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/spot/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/spot/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/spot/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/strike/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-strike 2 | 3 | ## 0.1.12 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.11 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.10 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.9 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/strike/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-strike` 2 | 3 | Wallet adapter for the [Strike Protocols Wallet](https://strikeprotocols.com) 4 | -------------------------------------------------------------------------------- /packages/wallets/strike/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/strike/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/strike/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/strike/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/tokenary/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-tokenary 2 | 3 | ## 0.1.11 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.10 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.9 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.8 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/tokenary/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-tokenary` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/tokenary/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/tokenary/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/tokenary/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/tokenary/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/tokenpocket/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-tokenpocket 2 | 3 | ## 0.4.18 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.4.17 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.4.16 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.4.15 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/tokenpocket/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-tokenpocket` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/tokenpocket/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/tokenpocket/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/tokenpocket/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/tokenpocket/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/torus/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-torus 2 | 3 | ## 0.11.27 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.11.26 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.11.25 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.11.24 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/torus/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-torus` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/torus/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/torus/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/torus/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/torus/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/trust/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-trust 2 | 3 | ## 0.1.12 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.11 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.10 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.9 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/trust/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-trust` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/trust/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/trust/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/trust/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/trust/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/unsafe-burner/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-unsafe-burner 2 | 3 | ## 0.1.6 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.5 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.4 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.3 26 | 27 | ### Patch Changes 28 | 29 | - 353f2a5: Add isVersionedTransaction helper function 30 | - Updated dependencies [353f2a5] 31 | - @solana/wallet-adapter-base@0.9.19 32 | -------------------------------------------------------------------------------- /packages/wallets/unsafe-burner/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-unsafe-burner` 2 | 3 | This is the default wallet adapter used in the starter packs. This adapter implements the Wallet Adapter interface, but uses an unsafe local keypair to sign messages. 4 | 5 | See https://github.com/solana-labs/wallet-adapter#usage for an example of how to configure your app for compatibility with a list of wallets of your choosing. 6 | -------------------------------------------------------------------------------- /packages/wallets/unsafe-burner/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/unsafe-burner/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/unsafe-burner/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/unsafe-burner/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/walletconnect/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-walletconnect 2 | 3 | ## 0.1.14 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.13 12 | 13 | ### Patch Changes 14 | 15 | - 61e86b58: Taking a new version of `@jnwng/walletconnect-solana` with upgraded dependencies on `@walletconnect/sign-client` 16 | 17 | ## 0.1.12 18 | 19 | ### Patch Changes 20 | 21 | - f5abf15c: Using WalletConnect (alone, or through `@solana/wallet-adapter-wallets` no longer fatals in Next 13. 22 | 23 | ## 0.1.11 24 | 25 | ### Patch Changes 26 | 27 | - Updated dependencies [f99c2154] 28 | - @solana/wallet-adapter-base@0.9.21 29 | 30 | ## 0.1.10 31 | 32 | ### Patch Changes 33 | 34 | - Updated dependencies [912cc0e] 35 | - @solana/wallet-adapter-base@0.9.20 36 | 37 | ## 0.1.9 38 | 39 | ### Patch Changes 40 | 41 | - Updated dependencies [353f2a5] 42 | - @solana/wallet-adapter-base@0.9.19 43 | -------------------------------------------------------------------------------- /packages/wallets/walletconnect/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-walletconnect` 2 | 3 | ``` 4 | import { WalletConnectWalletAdapter } from '@solana/wallet-adapter-walletconnect'; 5 | 6 | const App = () => { 7 | ... 8 | const wallets = useMemo( 9 | () => [ 10 | new WalletConnectWalletAdapter({ 11 | network, 12 | options: { 13 | relayUrl: 'wss://relay.walletconnect.com', 14 | // example WC app project ID 15 | projectId: 'e899c82be21d4acca2c8aec45e893598', 16 | metadata: { 17 | name: 'Example App', 18 | description: 'Example App', 19 | url: 'https://github.com/solana-labs/wallet-adapter', 20 | icons: ['https://avatars.githubusercontent.com/u/35608259?s=200'], 21 | }, 22 | }, 23 | }), 24 | ], 25 | [] 26 | ); 27 | ... 28 | } 29 | ``` 30 | -------------------------------------------------------------------------------- /packages/wallets/walletconnect/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/walletconnect/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/walletconnect/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/walletconnect/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/wallets/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-wallets` 2 | 3 | 4 | 5 | Coming soon. -------------------------------------------------------------------------------- /packages/wallets/wallets/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/wallets/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/wallets/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /packages/wallets/xdefi/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @solana/wallet-adapter-xdefi 2 | 3 | ## 0.1.6 4 | 5 | ### Patch Changes 6 | 7 | - 8a8fdc72: Update dependencies 8 | - Updated dependencies [8a8fdc72] 9 | - @solana/wallet-adapter-base@0.9.22 10 | 11 | ## 0.1.5 12 | 13 | ### Patch Changes 14 | 15 | - Updated dependencies [f99c2154] 16 | - @solana/wallet-adapter-base@0.9.21 17 | 18 | ## 0.1.4 19 | 20 | ### Patch Changes 21 | 22 | - Updated dependencies [912cc0e] 23 | - @solana/wallet-adapter-base@0.9.20 24 | 25 | ## 0.1.3 26 | 27 | ### Patch Changes 28 | 29 | - Updated dependencies [353f2a5] 30 | - @solana/wallet-adapter-base@0.9.19 31 | -------------------------------------------------------------------------------- /packages/wallets/xdefi/README.md: -------------------------------------------------------------------------------- 1 | # `@solana/wallet-adapter-xdefi` 2 | 3 | 4 | 5 | Coming soon. 6 | -------------------------------------------------------------------------------- /packages/wallets/xdefi/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapter.js'; 2 | -------------------------------------------------------------------------------- /packages/wallets/xdefi/tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.cjs.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/cjs" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/wallets/xdefi/tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.esm.json", 3 | "include": ["src"], 4 | "compilerOptions": { 5 | "outDir": "lib/esm", 6 | "declarationDir": "lib/types" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/wallets/xdefi/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.root.json", 3 | "references": [ 4 | { 5 | "path": "./tsconfig.cjs.json" 6 | }, 7 | { 8 | "path": "./tsconfig.esm.json" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/*/*' 3 | -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- 1 | { 2 | "include": [], 3 | "compilerOptions": { 4 | "target": "ESNext", 5 | "module": "ESNext", 6 | "moduleResolution": "Node", 7 | "esModuleInterop": true, 8 | "isolatedModules": true, 9 | "noEmitOnError": true, 10 | "resolveJsonModule": true, 11 | "strict": true, 12 | "stripInternal": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tsconfig.cjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.base.json", 3 | "compilerOptions": { 4 | "target": "ES2016", 5 | "module": "CommonJS", 6 | "sourceMap": true 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /tsconfig.esm.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.base.json", 3 | "compilerOptions": { 4 | "target": "ES2020", 5 | "module": "ES2020", 6 | "sourceMap": true, 7 | "declaration": true, 8 | "declarationMap": true 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.all.json", 3 | "include": ["./packages/*/*/src", "./packages/*/*/package.json"], 4 | "compilerOptions": { 5 | "noEmit": true, 6 | "skipLibCheck": true, 7 | "jsx": "react" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tsconfig.root.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.base.json", 3 | "compilerOptions": { 4 | "composite": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tsconfig.tests.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.base.json", 3 | "compilerOptions": { 4 | "noEmit": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://turbo.build/schema.json", 3 | "pipeline": { 4 | "build": { 5 | "dependsOn": ["^build"], 6 | "outputs": [".next/**", "build/**", "dist/**", "lib/**"] 7 | }, 8 | "lint": { 9 | "outputs": [], 10 | "inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"] 11 | }, 12 | "test": { 13 | "dependsOn": ["build"], 14 | "outputs": [], 15 | "inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "entryPoints": ["packages/core/*", "packages/ui/*", "packages/wallets/wallets"], 3 | "entryPointStrategy": "packages", 4 | "out": "docs", 5 | "readme": "README.md" 6 | } 7 | -------------------------------------------------------------------------------- /wallets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexisdev/wallet-adapter/8d32a2404bb961e312e7449bdbb351c65f9a3b7d/wallets.png --------------------------------------------------------------------------------