{"_id":"@burnt-labs/abstraxion-react","_rev":"6-cfa88cc997e9d819e999344e53ab5d71","name":"@burnt-labs/abstraxion-react","dist-tags":{"latest":"1.0.0-alpha.82"},"versions":{"1.0.0-alpha.80":{"name":"@burnt-labs/abstraxion-react","version":"1.0.0-alpha.80","license":"MIT","_id":"@burnt-labs/abstraxion-react@1.0.0-alpha.80","maintainers":[{"name":"burntfilament","email":"filament@burnt.com"},{"name":"burnt_val","email":"val@burnt.com"},{"name":"devops.burnt.com","email":"devops@burnt.com"},{"name":"fuseburnt","email":"fuse@burnt.com"}],"homepage":"https://github.com/burnt-labs/xion.js#readme","bugs":{"url":"https://github.com/burnt-labs/xion.js/issues"},"dist":{"shasum":"e98c786df8062d28a3df3117a456d95a46a9c7ed","tarball":"https://registry.npmjs.org/@burnt-labs/abstraxion-react/-/abstraxion-react-1.0.0-alpha.80.tgz","fileCount":36,"integrity":"sha512-GohJD2QABsEWSTBTi2mKCe9AYizInKpF5K63jWRcGDmxoFMfvNPLbI1WPziOzTH2MK2SBCFDEcAKNCDPsordqA==","signatures":[{"sig":"MEUCIQDN8bEZQa5CxSur4zzlyeOHsc2AA5Jc7MmEybYjfplCwAIgEXWvAzoEsEyZPkxQnl2oShKmam7XHSuCR7cchZb/dGQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":200264},"main":"./dist/index.js","_from":"file:burnt-labs-abstraxion-react-1.0.0-alpha.80.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rimraf ./dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"burntfilament","email":"filament@burnt.com"},"_resolved":"/private/var/folders/4x/6nvz9g6s1ggd4xws14lbl3bw0000gn/T/ca92e604d1e2b4bcc51ac719cfb341c5/burnt-labs-abstraxion-react-1.0.0-alpha.80.tgz","_integrity":"sha512-GohJD2QABsEWSTBTi2mKCe9AYizInKpF5K63jWRcGDmxoFMfvNPLbI1WPziOzTH2MK2SBCFDEcAKNCDPsordqA==","repository":{"url":"git+https://github.com/burnt-labs/xion.js.git","type":"git","directory":"packages/abstraxion-react"},"_npmVersion":"11.9.0","description":"The `abstraxion-react` library is the React wrapper for Abstraxion account abstraction on XION. It provides the React provider, embed component, and hooks for creating abstract accounts and signing transactions while delegating framework-agnostic controll","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"25.6.1","dependencies":{"@burnt-labs/abstraxion-js":"1.0.0-alpha.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.0.1","react":"^18.2.0","rimraf":"^5.0.5","vitest":"^1.0.0","postcss":"^8.4.20","react-dom":"^18.2.0","typescript":"^5.2.2","@types/node":"^20","tailwindcss":"^3.2.4","@types/react":"^18.2.47","autoprefixer":"^10.4.13","@types/react-dom":"^18.2.18","tailwindcss-animate":"^1.0.7","@cosmjs/proto-signing":"^0.36.0","@burnt-labs/test-utils":"1.0.0-alpha.6","@testing-library/react":"^14.2.1","@testing-library/jest-dom":"^6.4.2","@burnt-labs/account-management":"1.0.0-alpha.12"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/abstraxion-react_1.0.0-alpha.80_1781006019573_0.46088202369906717","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.81":{"name":"@burnt-labs/abstraxion-react","version":"1.0.0-alpha.81","license":"MIT","_id":"@burnt-labs/abstraxion-react@1.0.0-alpha.81","maintainers":[{"name":"burntfilament","email":"filament@burnt.com"},{"name":"burnt_val","email":"val@burnt.com"},{"name":"devops.burnt.com","email":"devops@burnt.com"},{"name":"fuseburnt","email":"fuse@burnt.com"}],"homepage":"https://github.com/burnt-labs/xion.js#readme","bugs":{"url":"https://github.com/burnt-labs/xion.js/issues"},"dist":{"shasum":"14cd07a3645b9df014720833a2552376af6eea92","tarball":"https://registry.npmjs.org/@burnt-labs/abstraxion-react/-/abstraxion-react-1.0.0-alpha.81.tgz","fileCount":36,"integrity":"sha512-20rQdKV+3deVK7MQfr8Czor8lTjyg2fyAl/BkpLhq4xp39YazBBV6FPt3vwpWCWsZcBOU8UwCjIX4VdR55SP2g==","signatures":[{"sig":"MEQCIB07fLB7tvDecPxyva4IL0j/xtgyyNB5XfaShX9f6keuAiAr3NyS87o1VWoF6iDgRWKHxM1tp5Vrj++9Gvf1EGTHcA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@burnt-labs%2fabstraxion-react@1.0.0-alpha.81","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":200352},"main":"./dist/index.js","_from":"file:burnt-labs-abstraxion-react-1.0.0-alpha.81.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rimraf ./dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ae1f9c24-b6e2-435b-8e0c-98fc901a52cd"}},"_resolved":"/tmp/5746b850d52808a84f120af4540a3857/burnt-labs-abstraxion-react-1.0.0-alpha.81.tgz","_integrity":"sha512-20rQdKV+3deVK7MQfr8Czor8lTjyg2fyAl/BkpLhq4xp39YazBBV6FPt3vwpWCWsZcBOU8UwCjIX4VdR55SP2g==","repository":{"url":"git+https://github.com/burnt-labs/xion.js.git","type":"git","directory":"packages/abstraxion-react"},"_npmVersion":"11.16.0","description":"The `abstraxion-react` library is the React wrapper for Abstraxion account abstraction on XION. It provides the React provider, embed component, and hooks for creating abstract accounts and signing transactions while delegating framework-agnostic controll","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.18.0","dependencies":{"@burnt-labs/abstraxion-js":"1.0.0-alpha.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.0.1","react":"^18.2.0","rimraf":"^5.0.5","vitest":"^1.0.0","postcss":"^8.4.20","react-dom":"^18.2.0","typescript":"^5.2.2","@types/node":"^20","tailwindcss":"^3.2.4","@types/react":"^18.2.47","autoprefixer":"^10.4.13","@types/react-dom":"^18.2.18","tailwindcss-animate":"^1.0.7","@cosmjs/proto-signing":"^0.36.0","@burnt-labs/test-utils":"1.0.0-alpha.6","@testing-library/react":"^14.2.1","@testing-library/jest-dom":"^6.4.2","@burnt-labs/account-management":"1.0.0-alpha.13"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/abstraxion-react_1.0.0-alpha.81_1785470109908_0.9647926341773045","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.82":{"name":"@burnt-labs/abstraxion-react","version":"1.0.0-alpha.82","license":"MIT","_id":"@burnt-labs/abstraxion-react@1.0.0-alpha.82","maintainers":[{"name":"burntfilament","email":"filament@burnt.com"},{"name":"burnt_val","email":"val@burnt.com"},{"name":"zaphodthebeebs","email":"zaphod@burnt.com"},{"name":"devops.burnt.com","email":"devops@burnt.com"}],"homepage":"https://github.com/burnt-labs/xion.js#readme","bugs":{"url":"https://github.com/burnt-labs/xion.js/issues"},"dist":{"shasum":"e6dc8c0d2b5d53b98d3c65bb18de08d92937b8d3","tarball":"https://registry.npmjs.org/@burnt-labs/abstraxion-react/-/abstraxion-react-1.0.0-alpha.82.tgz","fileCount":37,"integrity":"sha512-EdpB4KWHqlxK8yE8g2vfaZgy9F6+tBH7nZRExh7kaDycCF293bdsldHzGj6+ymwQjTWOJsnGT1NFHUX18x2uyw==","signatures":[{"sig":"MEUCIQD6yc/L2V5GO0a50dVKMZzJLEwt9ewbWgK4b7Tm2d2dqAIgYuGJNadVI9xd426qapX6ofExRyjuN0Yi3GEoar2lW5U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@burnt-labs%2fabstraxion-react@1.0.0-alpha.82","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":209972},"main":"./dist/index.js","_from":"file:burnt-labs-abstraxion-react-1.0.0-alpha.82.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rimraf ./dist","test:watch":"vitest","check-types":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ae1f9c24-b6e2-435b-8e0c-98fc901a52cd"}},"_resolved":"/tmp/b810efbb7fbda73a13fefc536fcb15c8/burnt-labs-abstraxion-react-1.0.0-alpha.82.tgz","_integrity":"sha512-EdpB4KWHqlxK8yE8g2vfaZgy9F6+tBH7nZRExh7kaDycCF293bdsldHzGj6+ymwQjTWOJsnGT1NFHUX18x2uyw==","repository":{"url":"git+https://github.com/burnt-labs/xion.js.git","type":"git","directory":"packages/abstraxion-react"},"_npmVersion":"11.16.0","description":"The `abstraxion-react` library is the React wrapper for Abstraxion account abstraction on XION. It provides the React provider, embed component, and hooks for creating abstract accounts and signing transactions while delegating framework-agnostic controll","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.18.0","dependencies":{"@burnt-labs/abstraxion-js":"1.0.0-alpha.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","react":"^18.2.0","rimraf":"^5.0.5","vitest":"^3.2.7","postcss":"^8.5.23","react-dom":"^18.2.0","typescript":"^5.2.2","@types/node":"^20","tailwindcss":"^3.2.4","@types/react":"^18.2.47","autoprefixer":"^10.4.13","@types/react-dom":"^18.2.18","tailwindcss-animate":"^1.0.7","@cosmjs/proto-signing":"^0.36.0","@burnt-labs/test-utils":"1.0.0-alpha.7","@testing-library/react":"^14.2.1","@testing-library/jest-dom":"^6.4.2","@burnt-labs/account-management":"1.0.0-alpha.14"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/abstraxion-react_1.0.0-alpha.82_1786371950317_0.37435716980697054","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-06-09T11:53:39.446Z","modified":"2026-08-24T08:11:32.912Z","1.0.0-alpha.80":"2026-06-09T11:53:39.736Z","1.0.0-alpha.81":"2026-07-31T03:55:10.032Z","1.0.0-alpha.82":"2026-08-10T14:25:50.477Z"},"bugs":{"url":"https://github.com/burnt-labs/xion.js/issues"},"license":"MIT","homepage":"https://github.com/burnt-labs/xion.js#readme","repository":{"url":"git+https://github.com/burnt-labs/xion.js.git","type":"git","directory":"packages/abstraxion-react"},"description":"The `abstraxion-react` library is the React wrapper for Abstraxion account abstraction on XION. It provides the React provider, embed component, and hooks for creating abstract accounts and signing transactions while delegating framework-agnostic controll","maintainers":[{"email":"filament@burnt.com","name":"burntfilament"},{"email":"val@burnt.com","name":"burnt_val"},{"email":"ertemann@burnt.com","name":"ertemann"},{"email":"zaphod@burnt.com","name":"zaphodthebeebs"},{"email":"devops@burnt.com","name":"devops.burnt.com"}],"readme":"# @burnt-labs/abstraxion-react\n\nThe `abstraxion-react` library is the React wrapper for Abstraxion account abstraction on XION. It provides the React provider, embed component, and hooks for creating abstract accounts and signing transactions while delegating framework-agnostic controller logic to `@burnt-labs/abstraxion-js`.\n\n## Migrating from `@burnt-labs/abstraxion`\n\nStarting with the v1 alpha line, this package was **renamed** from `@burnt-labs/abstraxion` to `@burnt-labs/abstraxion-react`. The public surface (provider, hooks, `<AbstraxionEmbed>`, config shape) is unchanged — the migration is a one-line find/replace in your imports plus a `package.json` dependency swap:\n\n```diff\n- import { AbstraxionProvider, useAbstraxionAccount } from \"@burnt-labs/abstraxion\";\n+ import { AbstraxionProvider, useAbstraxionAccount } from \"@burnt-labs/abstraxion-react\";\n```\n\nIf you also depended on `@burnt-labs/ui` for the legacy `<Abstraxion>` modal, that package is deprecated in v1; use `<AbstraxionEmbed>` from this package instead.\n\n## Installation\n\nRun the following:\n\n```\nnpm i @burnt-labs/abstraxion-react\n```\n\n## Xion Quick Start Integration\n\nIf you're new to Xion blockchain development, we recommend using our Quick Start tool before integrating Abstraxion into your custom project.\n\nVisit [quickstart.dev.testnet.burnt.com](https://quickstart.dev.testnet.burnt.com) to deploy the necessary contracts (UserMap and treasury) with a single click, and automatically generate the environment variables required for Abstraxion integration.\n\nThis tool eliminates the complexity of manual contract deployment and configuration, allowing you to start building with Abstraxion immediately. The deployed contracts provide gasless transactions and data storage capabilities essential for most dApps.\n\nFor full documentation on the Quick Start approach, see our [Zero to dApp in 5 Minutes](https://docs.burnt.com/xion/developers/xion-quick-start/zero-to-dapp-in-5-minutes/launch-a-user-map-dapp-on-xion-in-5-minutes) guide.\n\n## Basic Usage\n\nFirst, wrap your app in the `AbstraxionProvider` at the top level with the appropriate config\n\n```\n\"use client\";\nimport \"./globals.css\";\nimport { Inter } from \"next/font/google\";\nimport { AbstraxionProvider } from \"@burnt-labs/abstraxion-react\";\n\nconst inter = Inter({ subsets: [\"latin\"] });\n\n// Example XION seat contract\nconst seatContractAddress =\n  \"xion1z70cvc08qv5764zeg3dykcyymj5z6nu4sqr7x8vl4zjef2gyp69s9mmdka\";\n\n// Legacy config with individual params for stake, bank and contracts\nconst legacyConfig = {\n  contracts: [\n    // Usually, you would have a list of different contracts here\n    seatContractAddress,\n    {\n      address: seatContractAddress,\n      amounts: [{ denom: \"uxion\", amount: \"1000000\" }],\n    },\n  ],\n  stake: true,\n  bank: [\n    {\n      denom: \"uxion\",\n      amount: \"1000000\",\n    },\n  ],\n  // Optional params to activate mainnet config\n  // rpcUrl: \"https://rpc.xion-mainnet-1.burnt.com:443\",\n  // restUrl: \"https://api.xion-mainnet-1.burnt.com:443\",\n};\n\n// New treasury contract config\nconst treasuryConfig = {\n  treasury: \"xion17ah4x9te3sttpy2vj5x6hv4xvc0td526nu0msf7mt3kydqj4qs2s9jhe90\", // Example XION treasury contract\n  // Optional params to activate mainnet config\n  // rpcUrl: \"https://rpc.xion-mainnet-1.burnt.com:443\",\n  // restUrl: \"https://api.xion-mainnet-1.burnt.com:443\",\n};\n\nexport default function RootLayout({\n  children,\n}: {\n  children: React.ReactNode;\n}): JSX.Element {\n  return (\n    <html lang=\"en\">\n      <body className={inter.className}>\n        <AbstraxionProvider config={treasuryConfig}>\n          {children}\n        </AbstraxionProvider>\n      </body>\n    </html>\n  );\n}\n```\n\nThen, use the exported hooks and iframe embed to drive the auth flow:\n\n```\n\"use client\";\nimport {\n  AbstraxionEmbed,\n  useAbstraxionAccount,\n  useAbstraxionSigningClient,\n} from \"@burnt-labs/abstraxion-react\";\n\nexport default function Home() {\n  const { data: account } = useAbstraxionAccount();\n  const { client } = useAbstraxionSigningClient();\n\n  return (\n    <div>\n      <AbstraxionEmbed />\n      <p>{account?.bech32Address}</p>\n    </div>\n  );\n}\n\n```\n\nYou can also call the exported hooks directly in your own UI:\n\n```\nconst { data: account } = useAbstraxionAccount();\nconst { client } = useAbstraxionSigningClient();\n```\n\nFeel free to consult the documentation for more advanced usage and configuration.\n\nPlease check back regularly for updates and feel free to report any issues. Thank you for using `abstraxion-react` by Burnt Labs!\n","readmeFilename":"README.md"}