{"_id":"@degenlab/stacks-wallet-kit-core","_rev":"10-cc3c9224469e08ce66e1feb47c2c3cde","name":"@degenlab/stacks-wallet-kit-core","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.0.0","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.0.0","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"dist":{"shasum":"c9f9913f5e67d6d020f0b92d4e505e9ef13192a2","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.0.0.tgz","fileCount":2,"integrity":"sha512-0L759XKEbZNOopUF4Kvy+1i2MBMysatIdkxWHbtP+LOcxYosxkisLzneXYd+jLGyNanKjzgSt9zdVPlaozItNg==","signatures":[{"sig":"MEQCICrd8+1bJu8t45BAALeNq6B+0cHM7cl5QuRwI7A69fhXAiBex5fHHbJuoUPJFnw3rJ2rfYAjuJITYhxVRZBB3N6kvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9386},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"gitHead":"9e8ef5fd5ba7f1b010667ecb942dd7f50408dee4","scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"},"_npmVersion":"11.6.3","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@stacks-wallet-kit/mobile`) and the browser extension SDK (`@stacks-wallet-kit/extens","directories":{},"_nodeVersion":"22.15.0","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.0.0_1765302681990_0.11824083696339183","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.0.1","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.0.1","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"dist":{"shasum":"e3bf68a16e349ba71370a51fb23f2c16f7fb3042","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.0.1.tgz","fileCount":2,"integrity":"sha512-PaetjAc2y9EkJ51Ri6sg4CIDSE2pjBF9Aovo+01O5Afat5BHV66810V9THrk7z5jQIQl+za0yTTKsnqMXY5UrQ==","signatures":[{"sig":"MEUCIBQY98/EgyCQB4yJzfss60Fz/eFm/gll4tADxS5gO+lqAiEAgvFzqUF6G392ab0FjuxvTuAkmgBLfqmDd5sW32VT0nw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9813},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"gitHead":"5aa7ae6c614ca547dbb5838d8e7283490ed951e5","scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"_npmVersion":"11.6.4","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","directories":{},"_nodeVersion":"22.21.1","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.0.1_1765306300262_0.9452603755129247","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.0.2","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.0.2","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"dist":{"shasum":"207e574384193482be2772b221105cca4f9f7ced","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.0.2.tgz","fileCount":134,"integrity":"sha512-IGhn8PflkuXcyucfPSJHyk9Upk5k6qVEzKwJ+oywHSeViyRx6Awn83ZdYzT0P5rDDClkPMcZhffiIbaoIj9thQ==","signatures":[{"sig":"MEQCICjz5SemfJZEDh3OW59zX1OK7/Bokl3mqi7OkVjKFSruAiAZhw1zJP7V9XTXSoEjPSNQUkSeHMx582om1j+gZUoLzA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":221425},"main":"./dist/src/index.js","type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"gitHead":"e670a4879928380d103906e0f966b1033b95c1d8","scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"_npmVersion":"11.7.0","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","directories":{},"_nodeVersion":"22.21.1","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.0.2_1765311613861_0.2023318769680551","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.0.3","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.0.3","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"dist":{"shasum":"089486da6b7554c089bac3f59c2c55b5a748efb8","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.0.3.tgz","fileCount":134,"integrity":"sha512-09VSGS2fzJZWpmYCB3kDJfUDccBKk84WYkBquh7ghQ2qchM/IfIdaWtnSVRd4RkLuK06rsdcZb23EIffM683Qg==","signatures":[{"sig":"MEQCIDA2WDWIhpCTBi+j/oOnJ0kGJTI/A8BshXROlTAAAemOAiBAboTG4bSbOZXJ+FCgMJwdP8EYW+MmrtxUyyQ4t6KB6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":221424},"main":"./dist/src/index.js","type":"module","_from":"file:degenlab-stacks-wallet-kit-core-1.0.3.tgz","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"_resolved":"/tmp/5bac1700ea6b80e6b7304b46ab140fc3/degenlab-stacks-wallet-kit-core-1.0.3.tgz","_integrity":"sha512-09VSGS2fzJZWpmYCB3kDJfUDccBKk84WYkBquh7ghQ2qchM/IfIdaWtnSVRd4RkLuK06rsdcZb23EIffM683Qg==","repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"_npmVersion":"11.7.0","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","directories":{},"_nodeVersion":"22.21.1","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.0.3_1765312601110_0.4489025515949827","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.1.0","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.1.0","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"dist":{"shasum":"747d0521c7f8b24a2d7446f482fcbb46bec17f0d","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.1.0.tgz","fileCount":134,"integrity":"sha512-qRuo9TUA/x+DKCBo8TXFguV3YickQSZB9W9PphWEs1ht/JMpNn9v3vBrZkmwYVa+2t7xrE/w5yfCOGVN9xOvUQ==","signatures":[{"sig":"MEUCIQCp1g0IJz5JY83zpngADVVbxRybtOIWig+kFvNBekTy4AIgZaQA5kUM0hYUyaJhifS2/kQ5E9FFA5QtR63luQHlq7c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":223424},"main":"./dist/src/index.js","type":"module","_from":"file:degenlab-stacks-wallet-kit-core-1.1.0.tgz","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"_resolved":"/tmp/58ebf8dfbe48bec57aa422f892b8b9ec/degenlab-stacks-wallet-kit-core-1.1.0.tgz","_integrity":"sha512-qRuo9TUA/x+DKCBo8TXFguV3YickQSZB9W9PphWEs1ht/JMpNn9v3vBrZkmwYVa+2t7xrE/w5yfCOGVN9xOvUQ==","repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"_npmVersion":"11.7.0","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","directories":{},"_nodeVersion":"22.21.1","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.1.0_1765489740924_0.25265555333603507","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.2.0","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.2.0","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"dist":{"shasum":"2e644a0480dbe1f369b58677d6abd54354f50ac9","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.2.0.tgz","fileCount":134,"integrity":"sha512-Lu/hsijzC7/wnToZk1XUPimAifFgx8kBW46uCW8dMPorGhFOQp8D4tjXKOu1msAG5Q69TWy3SsLnlpvJ5g8tNw==","signatures":[{"sig":"MEUCIH9B+pI90tjAg87ArAbA07gs9GEqn3/MkszUrnXOREz9AiEAtSr4YHUJ2rViX3I+9Bk5HW0plmkGOs87+BljUagZI+c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":226648},"main":"./dist/src/index.js","type":"module","_from":"file:degenlab-stacks-wallet-kit-core-1.2.0.tgz","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"_resolved":"/tmp/46420f97b97a17a75ae011f257c04de3/degenlab-stacks-wallet-kit-core-1.2.0.tgz","_integrity":"sha512-Lu/hsijzC7/wnToZk1XUPimAifFgx8kBW46uCW8dMPorGhFOQp8D4tjXKOu1msAG5Q69TWy3SsLnlpvJ5g8tNw==","repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"_npmVersion":"11.7.0","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","directories":{},"_nodeVersion":"22.21.1","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.2.0_1768259722889_0.6122799890650847","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.3.0","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.3.0","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"dist":{"shasum":"70683535d36fade8dca2d88273b7de486f2c8a1b","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.3.0.tgz","fileCount":134,"integrity":"sha512-Pz67DZOZgt9UwHBNK/H2uvoMqTkuWOFzwEWO5oL/xN3lmmdnqNg6GwPgu18XfWDjkNUv79aP9JMyvEG8zCQsdw==","signatures":[{"sig":"MEUCIQDElELY3gAWXeXvn+0V2oVlgPdLqR4/bFrUghyd80Z7igIgX+mT7A4vSgLa/BdiYyqAB1fUK/xAQ+YHdsV4yFje8us=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":227817},"main":"./dist/src/index.js","type":"module","_from":"file:degenlab-stacks-wallet-kit-core-1.3.0.tgz","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"_resolved":"/tmp/9a07385deba89cb471a83ddb1a7cafda/degenlab-stacks-wallet-kit-core-1.3.0.tgz","_integrity":"sha512-Pz67DZOZgt9UwHBNK/H2uvoMqTkuWOFzwEWO5oL/xN3lmmdnqNg6GwPgu18XfWDjkNUv79aP9JMyvEG8zCQsdw==","repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"_npmVersion":"11.8.0","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","directories":{},"_nodeVersion":"22.21.1","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.3.0_1769080515219_0.2929692626057627","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.4.0","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.4.0","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"dist":{"shasum":"e854c2c157584102fd9501d366811da1d91cbd91","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.4.0.tgz","fileCount":134,"integrity":"sha512-7ESX7uYG/+ndcDafxmaC4Yx/gT7EexGUQ3N9YqbRox8aDo03yHgwmgmRVX1kMpBZ4idvJ/GEcNjgRDP8ctkuNQ==","signatures":[{"sig":"MEUCIBOMCA8yqsTaADkB8nA+jE1Z+xpT9IxH4tQy3PHMdAt7AiEAkuFOpGgIiY8+0j8bn7jVVJg6r+iAUSD8rdmROFAU+Wo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":230002},"main":"./dist/src/index.js","type":"module","_from":"file:degenlab-stacks-wallet-kit-core-1.4.0.tgz","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"_resolved":"/tmp/1ed0d2316e0c78387ce0796c62101e06/degenlab-stacks-wallet-kit-core-1.4.0.tgz","_integrity":"sha512-7ESX7uYG/+ndcDafxmaC4Yx/gT7EexGUQ3N9YqbRox8aDo03yHgwmgmRVX1kMpBZ4idvJ/GEcNjgRDP8ctkuNQ==","repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"_npmVersion":"11.8.0","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","directories":{},"_nodeVersion":"22.22.0","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.4.0_1769994105520_0.5863796818015519","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@degenlab/stacks-wallet-kit-core","version":"1.5.0","author":{"name":"DegenLab"},"license":"ISC","_id":"@degenlab/stacks-wallet-kit-core@1.5.0","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"dist":{"shasum":"97d246e516ca9bbec56ce6cabf7752e8a49c1985","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-1.5.0.tgz","fileCount":134,"integrity":"sha512-y9m7zvkC3tus+TtAPQ8gEokyS95bgdMEBLE9R/L1LprBwV3t9hCG1PbU3NlRJWsrHdhlqakeJKw8tUb/XnxjbQ==","signatures":[{"sig":"MEUCIQD/GVB1hH2qszEmjz4W9rP/OI0IKSzUe3iEoxwUTJsSggIgHSJGUWkRkB4TS4GgTjnEo9btSLLT1PNaHxYqg9f+PrY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":230750},"main":"./dist/src/index.js","type":"module","_from":"file:degenlab-stacks-wallet-kit-core-1.5.0.tgz","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","test":"jest","build":"tsc -b","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","test:sendStx":"npx tsx test-sendStx.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"_resolved":"/tmp/e8c3adf56af6158ad07d8b15c90427da/degenlab-stacks-wallet-kit-core-1.5.0.tgz","_integrity":"sha512-y9m7zvkC3tus+TtAPQ8gEokyS95bgdMEBLE9R/L1LprBwV3t9hCG1PbU3NlRJWsrHdhlqakeJKw8tUb/XnxjbQ==","repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"_npmVersion":"11.11.0","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Google Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","directories":{},"_nodeVersion":"22.22.0","dependencies":{"bech32":"^2.0.0","bs58check":"^4.0.0","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@noble/hashes":"^2.0.1","@noble/ciphers":"^2.0.1","@stacks/common":"^7.0.2","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@scure/btc-signer":"^2.0.1","@stacks/encryption":"^7.2.0","@stacks/wallet-sdk":"^7.2.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^24.10.0"},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"_npmOperationalInternal":{"tmp":"tmp/stacks-wallet-kit-core_1.5.0_1773168836202_0.4259048690294378","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@degenlab/stacks-wallet-kit-core","version":"2.0.0","main":"./dist/src/index.js","type":"module","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","default":"./dist/src/index.js"},"./package.json":"./package.json"},"repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"author":{"name":"DegenLab"},"license":"ISC","dependencies":{"@noble/ciphers":"^2.0.1","@noble/hashes":"^2.0.1","@scure/bip32":"^2.0.1","@scure/bip39":"^2.0.1","@scure/btc-signer":"^2.0.1","@stacks/common":"^7.0.2","@stacks/encryption":"^7.2.0","@stacks/network":"^7.2.0","@stacks/stacking":"^7.3.0","@stacks/wallet-sdk":"^7.2.0","bech32":"^2.0.0","bs58check":"^4.0.0","react-native-get-random-values":"^2.0.0"},"publishConfig":{"access":"public","provenance":true},"peerDependencies":{"@stacks/transactions":"^7.3.0"},"devDependencies":{"@types/node":"^24.10.0"},"types":"./dist/src/index.d.ts","scripts":{"lint":"eslint '{src,testing}/**/*.{ts,tsx}' --fix","format":"prettier --write '{src,testing}/**/*.{ts,tsx,js,json,md}'","format:check":"prettier --check '{src,testing}/**/*.{ts,tsx,js,json,md}'","build":"tsc -b","test":"jest","test:sendStx":"npx tsx test-sendStx.ts"},"_id":"@degenlab/stacks-wallet-kit-core@2.0.0","description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Stacks Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","_integrity":"sha512-78XFSOU1K0NJBFm5Fe51j0+JPfdK5JZNteN0deXI3XaNr6mgmQUJQp25XUZfKWj+y6L6g3Ed7oR1sOjfYAjR7A==","_resolved":"/tmp/668e2f2dadd5885cc8d583aea9369d0e/degenlab-stacks-wallet-kit-core-2.0.0.tgz","_from":"file:degenlab-stacks-wallet-kit-core-2.0.0.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-78XFSOU1K0NJBFm5Fe51j0+JPfdK5JZNteN0deXI3XaNr6mgmQUJQp25XUZfKWj+y6L6g3Ed7oR1sOjfYAjR7A==","shasum":"cfa20524ec5c3bea64e811f45362bc0cf0f3f51a","tarball":"https://registry.npmjs.org/@degenlab/stacks-wallet-kit-core/-/stacks-wallet-kit-core-2.0.0.tgz","fileCount":142,"unpackedSize":249813,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@degenlab%2fstacks-wallet-kit-core@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCKu0hs+RFLGiats1R1+XYD2hrajvC2Q7ctegASlt0V6wIgbTM3MCByt9uiucYGc8Djawkjllwyy9usLrvg+j7zH1Y="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ba632dd-d043-409e-9883-aa858fa60a1b"}},"directories":{},"maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stacks-wallet-kit-core_2.0.0_1777985338410_0.9211602690350864"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-09T17:51:21.878Z","modified":"2026-05-05T12:48:58.855Z","1.0.0":"2025-12-09T17:51:22.140Z","1.0.1":"2025-12-09T18:51:40.374Z","1.0.2":"2025-12-09T20:20:14.019Z","1.0.3":"2025-12-09T20:36:41.263Z","1.1.0":"2025-12-11T21:49:01.097Z","1.2.0":"2026-01-12T23:15:23.064Z","1.3.0":"2026-01-22T11:15:15.366Z","1.4.0":"2026-02-02T01:01:45.670Z","1.5.0":"2026-03-10T18:53:56.353Z","2.0.0":"2026-05-05T12:48:58.568Z"},"bugs":{"url":"https://github.com/degen-lab/stacks-wallet-kit/issues"},"author":{"name":"DegenLab"},"license":"ISC","homepage":"https://github.com/degen-lab/stacks-wallet-kit#readme","repository":{"url":"git+https://github.com/degen-lab/stacks-wallet-kit.git","type":"git"},"description":"A platform-agnostic core package providing shared functionality, types, and interfaces for the Stacks Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks","maintainers":[{"name":"bowtiedblox","email":"degenlabsetups@gmail.com"}],"readme":"# stacks-wallet-kit-core [![npm](https://img.shields.io/npm/v/@degenlab/stacks-wallet-kit-core?color=red)](https://www.npmjs.com/package/@degenlab/stacks-wallet-kit-core)\n\nA platform-agnostic core package providing shared functionality, types, and interfaces for the Stacks Wallet Kit ecosystem. This package is used by both the mobile SDK (`@degenlab/stacks-wallet-kit-mobile`) and the browser extension SDK (`@degenlab/stacks-wallet-kit-extension`).\n\n## Purpose\n\nThe core package provides the foundational building blocks for building Stacks blockchain applications with Google and Apple authentication, wallet management, and wallet backup. It includes:\n\n- **Interfaces** for implementing custom storage managers, authentication, and other components\n- **Types** for wallets, accounts, network configurations, and more\n- **Clients** for Stacks blockchain operations and stacking\n- **Managers** for wallet, encryption, and backup operations\n- **Error types** for consistent error handling across platforms\n\n## Installation\n\n```bash\nnpm install @degenlab/stacks-wallet-kit-core\n# or\nyarn add @degenlab/stacks-wallet-kit-core\n# or\npnpm add @degenlab/stacks-wallet-kit-core\n```\n\n**Note:** This package works with npm, yarn, and pnpm. Choose the package manager that fits your project.\n\n## Usage\n\n### Types\n\n#### `Wallet`\n\nRepresents a wallet with its private key and accounts.\n\n```typescript\nimport { Wallet } from '@degenlab/stacks-wallet-kit-core'\n\nconst wallet: Wallet = {\n  privateKey: 'xprv...',\n  createdAt: '2024-01-01T00:00:00.000Z',\n  accounts: [\n    {\n      index: 0,\n      publicKey: '02...',\n      addresses: {\n        mainnet: 'SP...',\n        testnet: 'ST...',\n      },\n    },\n  ],\n}\n```\n\n#### `WalletAccount`\n\nRepresents a single account within a wallet.\n\n```typescript\nimport { WalletAccount } from '@degenlab/stacks-wallet-kit-core'\n\nconst account: WalletAccount = {\n  index: 0,\n  publicKey: '02...',\n  addresses: {\n    mainnet: 'SP...',\n    testnet: 'ST...',\n  },\n}\n```\n\n#### `WalletEnvelope`\n\nEncrypted wallet backup format used by registered backup providers.\n\n```typescript\nimport { WalletEnvelope } from '@degenlab/stacks-wallet-kit-core'\n\nconst envelope: WalletEnvelope = {\n  version: 1,\n  walletId: 'uuid',\n  createdAt: new Date(),\n  mnemonic: 'encrypted...',\n  mnemonicNonce: 'nonce...',\n  wallet: 'encrypted...',\n  walletNonce: 'nonce...',\n  accountsCount: 1,\n  salt: 'salt...',\n  protection: {\n    kdf: {\n      name: 'pbkdf2',\n      iterations: 100000,\n      salt: 'salt...',\n    },\n    wrappedMasterKey: 'key...',\n    wrapNonce: 'nonce...',\n  },\n}\n```\n\n#### `NetworkType`\n\nNetwork type enumeration.\n\n```typescript\nimport { NetworkType } from '@degenlab/stacks-wallet-kit-core'\n\nconst network: NetworkType = NetworkType.Mainnet\nconst testnet: NetworkType = NetworkType.Testnet\nconst devnet: NetworkType = NetworkType.Devnet\n```\n\n#### `StackingPool`\n\nStacking pool configuration.\n\n```typescript\nimport { StackingPool } from '@degenlab/stacks-wallet-kit-core'\n\nconst pool: StackingPool = {\n  name: 'Pool Name',\n  address: 'SP...',\n}\n```\n\n### Interfaces\n\n#### `IStorageManager`\n\nInterface for implementing custom storage managers.\n\n```typescript\nimport { IStorageManager } from '@degenlab/stacks-wallet-kit-core'\n\nclass CustomStorage implements IStorageManager {\n  async setItem<T>(key: string, value: T): Promise<void> {\n    // Your implementation\n  }\n\n  async getItem<T>(key: string): Promise<T | null> {\n    // Your implementation\n  }\n\n  async removeItem(key: string): Promise<void> {\n    // Your implementation\n  }\n\n  async clear(): Promise<void> {\n    // Your implementation\n  }\n}\n```\n\n#### `IAuthentication`\n\nInterface for implementing custom authentication.\n\n```typescript\nimport {\n  AuthenticatedUser,\n  AuthProvider,\n  IAuthentication,\n} from '@degenlab/stacks-wallet-kit-core'\n\nclass CustomAuth implements IAuthentication {\n  readonly provider: AuthProvider = 'google'\n\n  async signIn(): Promise<AuthenticatedUser> {\n    // Your implementation\n    // Returns provider identity, profile data, and provider credentials\n  }\n\n  async signOut(): Promise<void> {\n    // Your implementation\n  }\n}\n```\n\n#### `IStacksClient`\n\nInterface for Stacks blockchain operations.\n\n```typescript\nimport {\n  IStacksClient,\n  WalletAccount,\n  NetworkType,\n} from '@degenlab/stacks-wallet-kit-core'\n\nclass CustomStacksClient implements IStacksClient {\n  async getBalance(account: WalletAccount): Promise<number> {\n    // Your implementation\n  }\n\n  async sendStx(\n    from: string,\n    to: string,\n    amount: number,\n    network: NetworkType,\n    memo?: string\n  ): Promise<string> {\n    // Your implementation\n  }\n\n  // ... other methods\n}\n```\n\n#### `ISDKFacade`\n\nInterface defining the complete SDK API surface.\n\n```typescript\nimport {\n  AuthenticatedUser,\n  AuthProvider,\n  ISDKFacade,\n  Wallet,\n} from '@degenlab/stacks-wallet-kit-core'\n\nclass CustomSDK implements ISDKFacade {\n  async signIn(provider: AuthProvider): Promise<{ user: AuthenticatedUser }> {\n    // Your implementation\n    // Signs in with the requested provider\n  }\n\n  async createWallet(passphrase?: string): Promise<Wallet> {\n    // Your implementation\n  }\n\n  // ... other methods\n}\n```\n\n### Clients\n\n#### `StacksClient`\n\nClient for Stacks blockchain operations.\n\n```typescript\nimport {\n  StacksClient,\n  NetworkType,\n  STACKS_API_BASE_URL,\n  STACKS_TESTNET_API_BASE_URL,\n  STACKS_DEVNET_API_BASE_URL,\n} from '@degenlab/stacks-wallet-kit-core'\n\nconst client = new StacksClient(\n  NetworkType.Testnet,\n  STACKS_API_BASE_URL,\n  STACKS_TESTNET_API_BASE_URL,\n  STACKS_DEVNET_API_BASE_URL\n)\n\nclient.setNetwork(NetworkType.Devnet)\n```\n\n#### `StackingClient`\n\nClient for Stacks stacking operations.\n\n```typescript\nimport { StackingClient, NetworkType } from '@degenlab/stacks-wallet-kit-core'\n\nconst client = new StackingClient(NetworkType.Mainnet)\n```\n\n### Managers\n\n#### `WalletManager`\n\nManager for wallet operations.\n\n```typescript\nimport { WalletManager, Wallet } from '@degenlab/stacks-wallet-kit-core'\n\nconst manager = new WalletManager()\nconst wallet: Wallet = manager.createWallet()\nconst updatedWallet = manager.createAccount(wallet)\n```\n\n#### `EncryptionManager`\n\nManager for encryption operations.\n\n```typescript\nimport { EncryptionManager } from '@degenlab/stacks-wallet-kit-core'\n\nconst manager = new EncryptionManager()\nconst encrypted = await manager.encrypt('data', 'password')\nconst decrypted = await manager.decrypt(encrypted, 'password')\n```\n\n#### `BackupManager`\n\nManager for backup operations.\n\n```typescript\nimport {\n  BackupManager,\n  GoogleBackupClient,\n} from '@degenlab/stacks-wallet-kit-core'\n\nconst backupClient = new GoogleBackupClient()\nconst manager = new BackupManager()\n\nmanager.registerProvider(backupClient)\n```\n\n### Constants\n\n#### API Base URLs\n\n```typescript\nimport {\n  STACKS_API_BASE_URL,\n  STACKS_TESTNET_API_BASE_URL,\n  STACKS_DEVNET_API_BASE_URL,\n} from '@degenlab/stacks-wallet-kit-core'\n\nconst mainnetUrl = STACKS_API_BASE_URL\nconst testnetUrl = STACKS_TESTNET_API_BASE_URL\nconst devnetUrl = STACKS_DEVNET_API_BASE_URL\n```\n\n#### Stacking Pools\n\n```typescript\nimport { stackingPools } from '@degenlab/stacks-wallet-kit-core'\n\nconst pools = stackingPools\n```\n\n### Error Types\n\n```typescript\nimport {\n  WalletNotStoredError,\n  InvalidAmountError,\n  MinimumThresholdNotMetError,\n  AuthError,\n  BackupError,\n  StackingError,\n} from '@degenlab/stacks-wallet-kit-core'\n\ntry {\n  // Your code\n} catch (error) {\n  if (error instanceof WalletNotStoredError) {\n    // Handle wallet not found\n  } else if (error instanceof InvalidAmountError) {\n    // Handle invalid amount\n  }\n}\n```\n\n## Examples\n\n### Custom Storage Implementation\n\n```typescript\nimport { IStorageManager } from '@degenlab/stacks-wallet-kit-core'\n\nclass LocalStorageManager implements IStorageManager {\n  async setItem<T>(key: string, value: T): Promise<void> {\n    localStorage.setItem(key, JSON.stringify(value))\n  }\n\n  async getItem<T>(key: string): Promise<T | null> {\n    const item = localStorage.getItem(key)\n    return item ? JSON.parse(item) : null\n  }\n\n  async removeItem(key: string): Promise<void> {\n    localStorage.removeItem(key)\n  }\n\n  async clear(): Promise<void> {\n    localStorage.clear()\n  }\n}\n```\n\n### Using Types\n\n```typescript\nimport {\n  Wallet,\n  WalletAccount,\n  NetworkType,\n} from '@degenlab/stacks-wallet-kit-core'\n\nfunction processWallet(wallet: Wallet): void {\n  wallet.accounts.forEach((account: WalletAccount) => {\n    // Process account\n  })\n}\n\n/**\n * Sign a prepared Stacks transaction with a stored wallet account.\n * `signTransaction` derives the private key for the given account index and\n * returns the signed `StacksTransactionWire`, ready to broadcast.\n */\nimport { BaseClient } from '@degenlab/stacks-wallet-kit-core'\n\nconst signedTx = await baseClient.signTransaction(\n  0, // account index\n  unsignedTransaction\n)\n\n/**\n * Check if a wallet backup exists in the configured backup provider.\n * Returns true if a backup is found, false otherwise.\n */\nconst hasBackup: boolean = await baseClient.hasBackup()\n\n/**\n * Make a contract call with a custom transaction fee and account index.\n * The `fee` parameter is optional and specified in microSTX.\n * The `accountIndex` parameter is optional and defaults to 0. Use it to sign\n * with a specific account when the wallet has multiple accounts.\n */\nimport { PostConditionMode, ClarityValue } from '@stacks/transactions'\n\n// Default (account 0)\nconst txId = await baseClient.makeContractCall(\n  'SP000000000000000000002Q6VF78.contract-name',\n  'function-name',\n  [/* functionArgs as ClarityValue[] */],\n  PostConditionMode.Allow,\n  5000 // custom fee in microSTX\n)\n\n// With a specific account index\nconst txId = await baseClient.makeContractCall(\n  'SP000000000000000000002Q6VF78.contract-name',\n  'function-name',\n  [/* functionArgs as ClarityValue[] */],\n  PostConditionMode.Allow,\n  5000,\n  1 // account index\n)\n```\n","readmeFilename":"README.md"}