{"_id":"@dicksonp/patched-wallet-adapter","name":"@dicksonp/patched-wallet-adapter","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@dicksonp/patched-wallet-adapter","version":"0.0.1","license":"MIT","main":"dist/components.esm.js","module":"dist/components.esm.js","types":"dist/types/index.d.ts","type":"module","babelMacros":{"twin":{"config":"tailwind.config.js","preset":"emotion"}},"sideEffects":false,"scripts":{"type-check":"tsc --noEmit","type-check:watch":"pnpm type-check -- --watch","build:types":"tsc --noEmit false --emitDeclarationOnly --outDir dist/types","build:js":"rollup -c","build-lib":"pnpm build:types && pnpm build:js","dev":"next dev","build":"next build","start":"next start","serve":"npx serve public"},"peerDependencies":{"@emotion/react":"^11.10.5","@emotion/styled":"^11.10.5","@reown/appkit":">=1.6.0","@reown/appkit-adapter-solana":">=1.6.0","@reown/appkit-wallet-button":">=1.6.0","@solana/spl-token":"*","@solana/web3.js":"1.95.4","decimal.js":">=10.4.3","react":">=18","styled-components":"*","@jup-ag/jup-mobile-adapter":"*"},"dependencies":{"@emotion/react":"^11.10.5","@emotion/styled":"^11.10.5","@solana-mobile/wallet-adapter-mobile":"^2.0.0","@solana/wallet-adapter-base":"0.9.23","@solana/wallet-adapter-react":"0.15.35","react-use":">=17.2.4"},"devDependencies":{"@babel/core":"^7.20.5","@babel/preset-env":"^7.20.2","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.18.6","@emotion/babel-preset-css-prop":"^11.10.0","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^25.0.3","@rollup/plugin-node-resolve":"^15.1.0","@solana/spl-token":"0.1.8","@solana/spl-token-registry":"~0.2.1105","@solana/wallet-adapter-wallets":"0.19.33","@solana/web3.js":"1.95.4","@solflare-wallet/wallet-adapter":"~1.0.3","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","@types/react-syntax-highlighter":"^15.5.6","@types/styled-components":"^5.1.26","autoprefixer":"^10.4.13","babel-loader":"^9.1.0","babel-plugin-macros":"^3.1.0","decimal.js":"^10.4.3","lokijs":"1.5.12","next":"^13.4.9","postcss":"^8.4.20","prettier":"^3.0.2","react":"^18.2.0","react-dom":"^18.2.0","react-syntax-highlighter":"^15.5.0","rollup":"^3.7.3","rollup-plugin-node-externals":"^6.1.1","sonner":"^0.4.0","styled-components":"^5.3.6","tailwindcss":"^3.2.4","twin.macro":"^3.1.0","typescript":"5.7.2"},"resolutions":{"@solana/wallet-adapter-base":"0.9.23"},"pnpm":{"patchedDependencies":{"@solana/web3.js@1.95.4":"patches/@solana__web3.js@1.95.4.patch"}},"_id":"@dicksonp/patched-wallet-adapter@0.0.1","gitHead":"ace485e4f980b61555aa86d46810a39ff9edbc3f","description":"<img src=\"public/unified-wallet-kit-demo.gif\" />","_nodeVersion":"20.11.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-2ncGD7c7F2N51UwcCcTJQUOMThcFsUSAhW9mR/nCFgUSoNnnlyI3fo8u4zCaHyPLwatWY5XZFgBwPjBoZL7KFg==","shasum":"30b3076d5b096a84305c3cedcee8ee3f477d3478","tarball":"https://registry.npmjs.org/@dicksonp/patched-wallet-adapter/-/patched-wallet-adapter-0.0.1.tgz","fileCount":104,"unpackedSize":1287140,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDcW0DFPq3SdhIbNfHMCp1KnYhagSyBs5baYN3VKRdZtAiEAqNxg3Ar78EZW6vuIsM/c6awbgE9AzK22iido6tEBpec="}]},"_npmUser":{"name":"dicksonp","email":"dickson.pys@icloud.com"},"directories":{},"maintainers":[{"name":"dicksonp","email":"dickson.pys@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/patched-wallet-adapter_0.0.1_1748950713188_0.656542428134518"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-03T11:38:33.122Z","0.0.1":"2025-06-03T11:38:33.379Z","modified":"2025-06-03T11:38:33.593Z"},"maintainers":[{"name":"dicksonp","email":"dickson.pys@icloud.com"}],"description":"<img src=\"public/unified-wallet-kit-demo.gif\" />","license":"MIT","readme":"# Unified Wallet Kit\n\n<img src=\"public/unified-wallet-kit-demo.gif\" />\n\nUnified Wallet Kit is an open-sourced, Swiss Army Knife wallet adapter, striving for the best wallet integration experience for developers, and best wallet experience for your users.\n\nAlong with [Terminal](https://terminal.jup.ag), it's the fastest way to get started on Solana.\n\nUsed by Jupiter and Meteora.\n\nNPM: https://www.npmjs.com/package/@jup-ag/wallet-adapter\n\n## Motives\n\nWhy not just use the existing wallet adapters?\n\n- To bootstrap a dApp, we always find ourself doing the same thing over and over again, such as:\n  - Notification when wallets are selected, connecting, connected, disconnected.\n  - Auto reconnect to the last connected wallet\n  - Mobile-first, responsive design\n  - Themeing support\n  - Internationalization (i18n) support\n  - New user onboarding\n- Built on-top of `@solana/wallet-adapter-base`, `@solana/wallet-adapter-react` and `@solana-mobile/wallet-adapter-mobile`, you are always welcomed to onboard or depart.\n\n## Philosophy\n\n- Set a sensible defaults\n- Lightweight, easy to adopt, fast to access\n- Extensible wallets, with a BYOW (Bring your own wallets) approach\n- Better onboarding experience for new users\n\n## Core features\n\n- [x] Main esm bundle at 94Kb (~20Kb gzipped)\n- [x] Built-in Wallet Standard, Mobile Wallet Adapter support\n- [x] Abstracted wallet adapter, with a BYOW (Bring your own wallets) approach\n- [x] Mobile responsive\n- [x] Notification plug-in\n- [x] Internationalization (i18n)\n\n  - More contributions required for more languages\n  - Currently generated from Copilot\n  - [Help contribute](https://github.com/TeamRaccoons/Unified-Wallet-Kit/blob/main/src/contexts/TranslationProvider/i18n.ts)\n\n- [x] New user onboarding [on Jupiter Station](https://station.jup.ag/partners?category=Wallets)\n  - PR welcomed on [Jupiter Station Github](https://github.com/jup-ag/space-station/)\n- [x] Theming\n  - Light, Dark, Jupiter\n  - More thmes coming soon\n- [x] Pluralization for i18n\n\n## Getting Started\n\n- `pnpm i @jup-ag/wallet-adapter`\n- Wrap your app with `<UnifiedWalletProvider />` and pass in as little to as many wallets you would like to support.\n- Below example is `ExampleBaseOnly.tsx`\n\n```tsx\nconst ExampleBaseOnly = () => {\n  return (\n    <UnifiedWalletProvider\n      wallets={[]}\n      config={{\n        autoConnect: false,\n        env: 'mainnet-beta',\n        metadata: {\n          name: 'UnifiedWallet',\n          description: 'UnifiedWallet',\n          url: 'https://jup.ag',\n          iconUrls: ['https://jup.ag/favicon.ico'],\n        },\n        notificationCallback: WalletNotification,\n        walletlistExplanation: {\n          href: 'https://station.jup.ag/docs/additional-topics/wallet-list',\n        },\n      }}\n    >\n      <UnifiedWalletButton />\n    </UnifiedWalletProvider>\n  );\n};\n\nexport default ExampleBaseOnly;\n```\n\n- More example can be found on the demo page, or in `src/components/examples`\n\n## More features\n\n- [x] Wallet attachment\n  - Target specific wallet and attach custom element to it\n  - <img src=\"public/features/wallet-atachments.png\" width=\"200\" />\n\n```tsx\nconfig={{\n  walletAttachments: { \n    'Phantom': {\n      attachment: <div tw=\"text-xs rounded-md bg-red-500 px-2 mx-2 text-center\">Auto Confirm</div>\n    } \n  }\n}}\n```\n\n## FAQs\n\n- Why not ship with all wallets?\n\n  - Unnecessary bloat and bundle size on your dApp\n  - It's not sensible to always maintain an ever-growing list of wallets\n  - Many existing wallets are not well maintained, often with unpatched security, or abandoned development\n  - Lack of users\n  - Does not support Versioned Transaction, severely limiting the adoption of many innovative functionalities of dApp.\n  - And hopefully, a gradually disappearing list of installed wallet adapter, as they migrate to wallet-standard\n\n- Why not ship with notification by default\n\n  - Existing dApp might already have their own notification system\n  - Checkout `src/components/examples/WalletNotification.tsx` for an example of how to use the notification system\n\n- How to add/develop a new wallet?\n  - We recommend new developer develops Wallets that comforms to WalletStandard or MWA, to get instant discoverability.\n  - https://github.com/solana-labs/wallet-adapter/blob/master/WALLET.md\n\n### #By Raccoons\n\n<img src=\"public/raccoons_wallet.jpg\" width=\"200\" />\n","readmeFilename":"README.md","_rev":"1-cdca7752bc52f6c2ab38f9f9d0a1d4c9"}