{"_id":"@dulcetlabs/hunch-wallet","_rev":"4-ac981c4f4c718d1626b374c1cdf8f60e","name":"@dulcetlabs/hunch-wallet","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@dulcetlabs/hunch-wallet","version":"0.1.0","keywords":["evm","wallet","non-custodial","embedded","arbitrum","viem","web3","account-abstraction","smart-wallet","alchemy"],"license":"MIT","_id":"@dulcetlabs/hunch-wallet@0.1.0","maintainers":[{"name":"nicksol","email":"soldulcetlabs@gmail.com"}],"homepage":"https://github.com/Dulcet-Labs/Hunch#readme","bugs":{"url":"https://github.com/Dulcet-Labs/Hunch/issues"},"dist":{"shasum":"9e85720726cb9cf1ce11bdb80da7e41d6cbb1d36","tarball":"https://registry.npmjs.org/@dulcetlabs/hunch-wallet/-/hunch-wallet-0.1.0.tgz","fileCount":13,"integrity":"sha512-RBiuITB9VNdB+CvdopZXjhON3xTsrQI7T1T3TSEqpRzKD1kyoOpETmcaSZ8escyfyeMj/FurDf+TLo9gMEzr+A==","signatures":[{"sig":"MEUCICJX3sL14Zo4zYcMtXg9rAAISldk8cKbmHMSfB3mwo0YAiEAl/fo6owlZCHk5hxWOMRA0vWM6gwNFk2YVEaPCmhwfVk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32010},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5577a1c24233ba910047a908fa86d38b5387e729","scripts":{"dev":"tsc --watch","test":"vitest --run","build":"tsc","prepublishOnly":"tsc"},"_npmUser":{"name":"nicksol","email":"soldulcetlabs@gmail.com"},"repository":{"url":"git+https://github.com/Dulcet-Labs/Hunch.git","type":"git","directory":"surfaces/wallet"},"_npmVersion":"11.8.0","description":"Non-custodial embedded EVM wallet SDK — built for any app, open for everyone.","directories":{},"_nodeVersion":"24.13.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.0","typescript":"^5.9.3","@types/node":"^25.5.0","@alchemy/aa-core":"^3.0.0","@account-kit/infra":"^4.48.0","@account-kit/wallet-client":"^0.1.0-alpha.10"},"peerDependencies":{"viem":"^2.0.0","@alchemy/aa-core":"^3.0.0","@account-kit/infra":"^4.48.0","@account-kit/wallet-client":"^0.1.0-alpha.10"},"peerDependenciesMeta":{"@alchemy/aa-core":{"optional":true},"@account-kit/infra":{"optional":true},"@account-kit/wallet-client":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/hunch-wallet_0.1.0_1773900632267_0.7340091493590921","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@dulcetlabs/hunch-wallet","version":"0.1.1","keywords":["evm","wallet","non-custodial","embedded","arbitrum","viem","web3","account-abstraction","smart-wallet","alchemy"],"license":"MIT","_id":"@dulcetlabs/hunch-wallet@0.1.1","maintainers":[{"name":"nicksol","email":"soldulcetlabs@gmail.com"}],"homepage":"https://github.com/Dulcet-Labs/Hunch#readme","bugs":{"url":"https://github.com/Dulcet-Labs/Hunch/issues"},"dist":{"shasum":"3147dcc3b114b6bb7c6d6b3cc98c58c8d4671af9","tarball":"https://registry.npmjs.org/@dulcetlabs/hunch-wallet/-/hunch-wallet-0.1.1.tgz","fileCount":13,"integrity":"sha512-vlHQdeAaD0+JQuwXVB4PBOrxqrA+7FhOHQiNYHevn06GmpJn+CjTEur8/573VkOASCxLHBA9j7ZKDlV5Lpcm1Q==","signatures":[{"sig":"MEQCIHdwaEysQ/37aUM5b1qBxLVQHsxPx10OecQtvftDdu7tAiAcz2uCW638UJuHUpSvjTxyYicg+EMBADcPtH97oxIGAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32505},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"14f4d600a7f4036adb23cafa1b08ac6925ed04ce","scripts":{"dev":"tsc --watch","test":"vitest --run","build":"tsc","prepublishOnly":"tsc"},"_npmUser":{"name":"nicksol","email":"soldulcetlabs@gmail.com"},"repository":{"url":"git+https://github.com/Dulcet-Labs/Hunch.git","type":"git","directory":"surfaces/wallet"},"_npmVersion":"11.8.0","description":"Non-custodial embedded EVM wallet SDK — built for any app, open for everyone.","directories":{},"_nodeVersion":"24.13.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.0","typescript":"^5.9.3","@types/node":"^25.5.0","@alchemy/aa-core":"^3.0.0","@account-kit/infra":"^4.48.0","@account-kit/wallet-client":"^0.1.0-alpha.10"},"peerDependencies":{"viem":"^2.0.0","@alchemy/aa-core":"^3.0.0","@account-kit/infra":"^4.48.0","@account-kit/wallet-client":"^0.1.0-alpha.10"},"peerDependenciesMeta":{"@alchemy/aa-core":{"optional":true},"@account-kit/infra":{"optional":true},"@account-kit/wallet-client":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/hunch-wallet_0.1.1_1773914550307_0.5501286749209691","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@dulcetlabs/hunch-wallet","version":"0.1.2","keywords":["evm","wallet","non-custodial","embedded","arbitrum","viem","web3","account-abstraction","smart-wallet","alchemy"],"license":"MIT","_id":"@dulcetlabs/hunch-wallet@0.1.2","maintainers":[{"name":"nicksol","email":"soldulcetlabs@gmail.com"}],"homepage":"https://github.com/Dulcet-Labs/Hunch#readme","bugs":{"url":"https://github.com/Dulcet-Labs/Hunch/issues"},"dist":{"shasum":"d3d13593fa15d99186d05ddada2ce81d02e61c93","tarball":"https://registry.npmjs.org/@dulcetlabs/hunch-wallet/-/hunch-wallet-0.1.2.tgz","fileCount":13,"integrity":"sha512-IsPSn7jqjj495Q8UG1OnwKkYLoD9P+/unR+fDhDUpgYDI1qbE5hf0d/s3a2ofvY6heiE1/hgDGKtE2wREqf5bQ==","signatures":[{"sig":"MEUCIQCJl4OC+qpdBYXVKArutoI9W7W51ooyOOfbhXdeDhF25QIgb3ycfveqqkaxpzPQBQUabMWZBqTd1OclN+6JeVvOPIU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32411},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"14f4d600a7f4036adb23cafa1b08ac6925ed04ce","scripts":{"dev":"tsc --watch","test":"vitest --run","build":"tsc","prepublishOnly":"tsc"},"_npmUser":{"name":"nicksol","email":"soldulcetlabs@gmail.com"},"repository":{"url":"git+https://github.com/Dulcet-Labs/Hunch.git","type":"git","directory":"surfaces/wallet"},"_npmVersion":"11.8.0","description":"Non-custodial embedded EVM wallet SDK — built for any app, open for everyone.","directories":{},"_nodeVersion":"24.13.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.0","typescript":"^5.9.3","@types/node":"^25.5.0","@alchemy/aa-core":"^3.0.0","@account-kit/infra":"^4.48.0","@account-kit/wallet-client":"^0.1.0-alpha.10"},"peerDependencies":{"viem":"^2.0.0","@alchemy/aa-core":"^3.0.0","@account-kit/infra":"^4.48.0","@account-kit/wallet-client":"^0.1.0-alpha.10"},"peerDependenciesMeta":{"@alchemy/aa-core":{"optional":true},"@account-kit/infra":{"optional":true},"@account-kit/wallet-client":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/hunch-wallet_0.1.2_1773915387578_0.7092306878493797","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@dulcetlabs/hunch-wallet","version":"0.1.3","description":"Non-custodial embedded EVM wallet SDK — built for any app, open for everyone.","main":"dist/index.js","types":"dist/index.d.ts","type":"module","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsc","dev":"tsc --watch","test":"vitest --run","prepublishOnly":"tsc"},"keywords":["evm","wallet","non-custodial","embedded","arbitrum","viem","web3","account-abstraction","smart-wallet","alchemy"],"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Dulcet-Labs/Hunch.git","directory":"surfaces/wallet"},"dependencies":{},"peerDependencies":{"@account-kit/infra":"^4.48.0","@account-kit/wallet-client":"^0.1.0-alpha.10","@alchemy/aa-core":"^3.0.0","viem":"^2.0.0"},"peerDependenciesMeta":{"@account-kit/infra":{"optional":true},"@account-kit/wallet-client":{"optional":true},"@alchemy/aa-core":{"optional":true}},"devDependencies":{"@account-kit/infra":"^4.48.0","@account-kit/wallet-client":"^0.1.0-alpha.10","@alchemy/aa-core":"^3.0.0","@types/node":"^25.5.0","typescript":"^5.9.3","vitest":"^4.1.0"},"gitHead":"40357c0d553a8f8514ff474fdd461730eda8e630","_id":"@dulcetlabs/hunch-wallet@0.1.3","bugs":{"url":"https://github.com/Dulcet-Labs/Hunch/issues"},"homepage":"https://github.com/Dulcet-Labs/Hunch#readme","_nodeVersion":"24.13.1","_npmVersion":"11.8.0","dist":{"integrity":"sha512-2Tq3TgiL8rVOiRrOtk6NrpTY3FswqaXZoGk+8UOyFqQ0hgTES5ltDhieouQAJuJRibN6t8XwEpK7C6J/NflzEQ==","shasum":"6fc6370d42053beec420b544027e6f73cd0ebd36","tarball":"https://registry.npmjs.org/@dulcetlabs/hunch-wallet/-/hunch-wallet-0.1.3.tgz","fileCount":13,"unpackedSize":32722,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCeXKUaB+oT/gtad7VbuKqKELJddRwEY4FDZkNfLtQfzAIgcQImXTzAEhoY56I5EghkRHYW8tk5vBgKZ0A7Q7gOrbo="}]},"_npmUser":{"name":"nicksol","email":"soldulcetlabs@gmail.com"},"directories":{},"maintainers":[{"name":"nicksol","email":"soldulcetlabs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hunch-wallet_0.1.3_1773918180474_0.4644073970913303"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-19T06:10:32.171Z","modified":"2026-03-19T11:03:00.742Z","0.1.0":"2026-03-19T06:10:32.426Z","0.1.1":"2026-03-19T10:02:30.459Z","0.1.2":"2026-03-19T10:16:27.746Z","0.1.3":"2026-03-19T11:03:00.626Z"},"bugs":{"url":"https://github.com/Dulcet-Labs/Hunch/issues"},"license":"MIT","homepage":"https://github.com/Dulcet-Labs/Hunch#readme","keywords":["evm","wallet","non-custodial","embedded","arbitrum","viem","web3","account-abstraction","smart-wallet","alchemy"],"repository":{"type":"git","url":"git+https://github.com/Dulcet-Labs/Hunch.git","directory":"surfaces/wallet"},"description":"Non-custodial embedded EVM wallet SDK — built for any app, open for everyone.","maintainers":[{"name":"nicksol","email":"soldulcetlabs@gmail.com"}],"readme":"# @dulcetlabs/hunch-wallet\n\nA wallet that belongs to your users. Not you.\n\n---\n\n`@dulcetlabs/hunch-wallet` is an open-source EVM wallet SDK built for apps that want to give users real ownership — without asking them to install anything, copy a seed phrase on signup, or trust a third party with their keys.\n\nKeys are generated on-device. The seed phrase goes straight to the user. Hunch never sees it.\n\n---\n\n## What it does\n\n- Generates self-custody EVM wallets in any JavaScript environment\n- Supports 12 chains out of the box — Arbitrum, Base, Ethereum, and more\n- Handles token approvals, transaction signing, and broadcasting\n- Optionally wraps any wallet in a smart account for gasless transactions via Alchemy\n\n---\n\n## Install\n\n```bash\nyarn add @dulcetlabs/hunch-wallet viem\n```\n\nFor gasless smart accounts, also add:\n\n```bash\nyarn add @alchemy/aa-core @account-kit/infra @account-kit/wallet-client\n```\n\n---\n\n## The basics\n\n```ts\nimport { HunchWallet } from '@dulcetlabs/hunch-wallet'\n\nconst sdk = HunchWallet.init({ chains: ['arbitrum'] })\n\n// Create a new wallet\nconst wallet = sdk.create()\n\n// Restore one from a seed phrase\nconst wallet = sdk.fromMnemonic('word1 word2 ... word12')\n\n// Or load a server-side key directly\nconst wallet = sdk.fromPrivateKey(process.env.PRIVATE_KEY)\n```\n\nEvery wallet comes with an address, a seed phrase (or `null` for key-based wallets), and a full set of methods for signing and sending — all chain-guarded so nothing goes to the wrong network by accident.\n\n---\n\n## Gasless transactions\n\nWrap any wallet in a smart account and Alchemy handles the gas. Users pay nothing.\n\n```ts\nimport { HunchWallet, HunchWalletAA } from '@dulcetlabs/hunch-wallet'\n\nconst wallet = HunchWallet.init({ chains: ['arbitrum'] }).fromPrivateKey(pk)\n\nconst aa = new HunchWalletAA({\n  walletClient:      wallet.getViemWalletClient({ chain: 'arbitrum' }),\n  alchemyApiKey:     process.env.ALCHEMY_API_KEY,\n  paymasterPolicyId: process.env.PAYMASTER_POLICY_ID,\n  chain:             'arbitrum',\n})\n\nconst address = await aa.connect()\nawait aa.sendTransaction({ to: '0x...', data: '0x...' })\n```\n\nThe address returned by `connect()` is the smart account — that's what users fund. The underlying EOA is never shown.\n\n---\n\n## Supported chains\n\nArbitrum · Base · Ethereum · Optimism · Polygon · Zora · Blast · Scroll · Linea · BNB · Avalanche · Arbitrum Nova\n\nGasless smart accounts are available on all chains except BNB, Avalanche, and Arbitrum Nova.\n\n---\n\n## Documentation\n\nFull API reference and integration guides in [DOCS.md](./DOCS.md).\n\n---\n\n## License\n\nMIT\n","readmeFilename":"README.md"}