{"_id":"@altude/core","_rev":"4-ed9d91baaea7416fb9fb8c0eac6ec019","name":"@altude/core","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@altude/core","version":"0.1.0","keywords":["solana","altude","ows","wallet"],"license":"MIT","_id":"@altude/core@0.1.0","maintainers":[{"name":"mocolicious","email":"andrewmocol@hotmail.com"}],"dist":{"shasum":"173e3a973996e286565c156331403574dfc11c81","tarball":"https://registry.npmjs.org/@altude/core/-/core-0.1.0.tgz","fileCount":1,"integrity":"sha512-VwQ05B+A0xG4LOqU18b0uNjNc7ky124+wkNYHwDAN3B1b+RU6uvlilIkZJiOWoD8AjkH1YVbApReHJN0ucZuHg==","signatures":[{"sig":"MEUCIFzRTAD7tq3LmzqKWwxgXW2Fbl994NrMqhb5yZycmqPkAiEA/JUgCvhrKbZP2iU4SoCciY19FKhUSZu7q9lTmKtA/m4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1011},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"eac62dbc3d2fa493ab39039d69867f50d517cf4d","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mocolicious","email":"andrewmocol@hotmail.com"},"_npmVersion":"12.0.1","description":"Shared types, cryptographic primitives, and RPC client for the Altude SDK","directories":{},"_nodeVersion":"24.18.0","dependencies":{"gill":"^0.8.0","@scure/bip32":"^1.5.0","@scure/bip39":"^1.4.0","@noble/curves":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1784614487811_0.26936481765208353","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@altude/core","version":"0.0.2","keywords":["solana","altude","ows","wallet"],"license":"MIT","_id":"@altude/core@0.0.2","maintainers":[{"name":"mocolicious","email":"andrewmocol@hotmail.com"}],"homepage":"https://github.com/AltudePlatform/altude-js#readme","bugs":{"url":"https://github.com/AltudePlatform/altude-js/issues"},"dist":{"shasum":"59f4cef4ed77be701c5d8934dfea197a23c34e14","tarball":"https://registry.npmjs.org/@altude/core/-/core-0.0.2.tgz","fileCount":9,"integrity":"sha512-36KBWaJAqyq1dikbI2lDV0lj6ZEa6iGGEmWioIUFA+GHTKTxs47tF7hNWBQIAsMPeNnVt358CtYNJCSBfZMHEw==","signatures":[{"sig":"MEQCIFGIpCXRP4DMvHkZ4rdeKnMFy3fkxhR1zRNkWJyrsDUmAiBIjNk91ZPn6nseoGy7/w98mwejUgAsAcXtJOgy3wMbQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altude%2fcore@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":68167},"main":"./dist/index.cjs","type":"module","_from":"file:altude-core-0.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:998a510c-b303-49b1-9dd6-6537c1e4cee3"}},"_resolved":"/tmp/d8020b4c931110e8a2a33ef4b62e8811/altude-core-0.0.2.tgz","_integrity":"sha512-36KBWaJAqyq1dikbI2lDV0lj6ZEa6iGGEmWioIUFA+GHTKTxs47tF7hNWBQIAsMPeNnVt358CtYNJCSBfZMHEw==","repository":{"url":"git+https://github.com/AltudePlatform/altude-js.git","type":"git"},"_npmVersion":"11.5.1","description":"Shared types, cryptographic primitives, and RPC client for the Altude SDK","directories":{},"_nodeVersion":"24.18.0","dependencies":{"gill":"^0.8.0","@scure/bip32":"^1.5.0","@scure/bip39":"^1.4.0","@noble/curves":"^2.2.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/core_0.0.2_1785347896573_0.36592339632507387","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@altude/core","version":"0.1.1","keywords":["solana","altude","ows","wallet"],"license":"MIT","_id":"@altude/core@0.1.1","maintainers":[{"name":"mocolicious","email":"andrewmocol@hotmail.com"}],"homepage":"https://github.com/AltudePlatform/altude-js#readme","bugs":{"url":"https://github.com/AltudePlatform/altude-js/issues"},"dist":{"shasum":"c28c76c3e20e9181f158f1339894d346e38cbd07","tarball":"https://registry.npmjs.org/@altude/core/-/core-0.1.1.tgz","fileCount":13,"integrity":"sha512-SQfHZKHCOvMhbRzgkGtmEWtVMiGEl9jidlZKultfTnOwiwVifX8MsU122PwNzAhp5QaLYOixnDki+54AMKFccQ==","signatures":[{"sig":"MEYCIQDnSGQPZ4j/yG1zEDPmROZAJn/McJrq6DCeQoNZirt2oQIhANr93BboQZlOyTqQpta+1pDlMGmzbPAC06DnUHHNTAMD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altude%2fcore@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":141534},"main":"./dist/index.cjs","type":"module","_from":"file:altude-core-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","browser":"./dist/index.browser.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/index.browser.js","require":"./dist/index.cjs","react-native":"./dist/index.native.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:998a510c-b303-49b1-9dd6-6537c1e4cee3"}},"_resolved":"/tmp/22c4b60a02bf7dfc8628ffab035279c6/altude-core-0.1.1.tgz","_integrity":"sha512-SQfHZKHCOvMhbRzgkGtmEWtVMiGEl9jidlZKultfTnOwiwVifX8MsU122PwNzAhp5QaLYOixnDki+54AMKFccQ==","repository":{"url":"git+https://github.com/AltudePlatform/altude-js.git","type":"git"},"_npmVersion":"11.5.1","description":"Shared types, cryptographic primitives, and RPC client for the Altude SDK","directories":{},"_nodeVersion":"24.19.0","dependencies":{"gill":"0.8.3","@scure/bip32":"^1.5.0","@scure/bip39":"^1.4.0","@noble/curves":"^2.2.0"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.1_1786997227035_0.5482442610278331","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"_id":"@altude/core@0.1.2","bugs":{"url":"https://github.com/AltudePlatform/altude-js/issues"},"dist":{"shasum":"152cbfac80d601faa1cb6030b13cb0f0df4efb93","tarball":"https://registry.npmjs.org/@altude/core/-/core-0.1.2.tgz","fileCount":13,"integrity":"sha512-UYeijO16LSqcrkv2DLEtMKUvs3tUGpeUQNCFNaxd7bAtmiP7+60Wqfk7KAlMfaprOUMevv/1DZrUe1GbntG4PQ==","signatures":[{"sig":"MEQCICy/XnQWkMzxuIrkKztao92f9omY2n4B7QKD2bSsG3hpAiBtEqKYkCpfF4st0SGUK6PneWnq6bW6KoPWLbQW3KiJQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD9VK5baPBx0dU3geymr2SecIlrcooB/X1wuS2xVMtM5AIgS0ZHZkfmImUUR/fkq3mGEI3yPTPzL9QMFxj80VJqrkM="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altude%2fcore@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142722},"main":"./dist/index.cjs","name":"@altude/core","type":"module","_from":"file:altude-core-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","browser":"./dist/index.browser.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","browser":"./dist/index.browser.js","require":"./dist/index.cjs","react-native":"./dist/index.native.js"}},"license":"MIT","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"version":"0.1.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:998a510c-b303-49b1-9dd6-6537c1e4cee3"}},"homepage":"https://github.com/AltudePlatform/altude-js#readme","keywords":["solana","altude","ows","wallet"],"_resolved":"/tmp/d036d9660c7fb91ed10f077ace31afcf/altude-core-0.1.2.tgz","_integrity":"sha512-UYeijO16LSqcrkv2DLEtMKUvs3tUGpeUQNCFNaxd7bAtmiP7+60Wqfk7KAlMfaprOUMevv/1DZrUe1GbntG4PQ==","repository":{"url":"git+https://github.com/AltudePlatform/altude-js.git","type":"git"},"_npmVersion":"11.5.1","description":"Shared types, cryptographic primitives, and RPC client for the Altude SDK","directories":{},"maintainers":[{"name":"mocolicious","email":"andrewmocol@hotmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"gill":"0.8.3","@solana/rpc":"^8.3.0","@scure/bip32":"^1.5.0","@scure/bip39":"^1.4.0","@noble/curves":"^2.2.0"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.8","typescript":"^5.6.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.2_1789657856655_0.864662586449596"}}},"time":{"created":"2026-07-21T06:14:47.668Z","modified":"2026-09-17T15:10:57.218Z","0.1.0":"2026-07-21T06:14:47.954Z","0.0.2":"2026-07-29T17:58:16.723Z","0.1.1":"2026-08-17T20:07:07.164Z","0.1.2":"2026-09-17T15:10:56.742Z"},"bugs":{"url":"https://github.com/AltudePlatform/altude-js/issues"},"license":"MIT","homepage":"https://github.com/AltudePlatform/altude-js#readme","keywords":["solana","altude","ows","wallet"],"repository":{"url":"git+https://github.com/AltudePlatform/altude-js.git","type":"git"},"description":"Shared types, cryptographic primitives, and RPC client for the Altude SDK","maintainers":[{"name":"mocolicious","email":"andrewmocol@hotmail.com"}],"readme":"# @altude/core\n\nShared types, cryptographic primitives, and RPC client for the Altude SDK.\n\n`@altude/core` is the foundational package used by\n[`@altude/gasstation`](https://www.npmjs.com/package/@altude/gasstation). Most\nconsumers install Gas Station rather than depending on `@altude/core` directly.\n\n## Install\n\n```bash\npnpm add @altude/core\n# or\nnpm install @altude/core\n```\n\n## What's included\n\n- **Types** — shared TypeScript types used across the Altude SDK.\n- **Errors** — the Altude error taxonomy (`AltudeError` and subclasses).\n- **Mnemonic** — BIP-39 mnemonic generation and BIP-44 key derivation via\n  [`@scure/bip39`](https://github.com/paulmillr/scure-bip39) and\n  [`@scure/bip32`](https://github.com/paulmillr/scure-bip32).\n- **RPC** — a thin RPC client built on [Gill](https://gill.web3.builders/) with\n  support for the API-key-scoped node URL and RPC JWT returned by Altude.\n\n## React Native\n\nThe package publishes dedicated `react-native` and `browser` entrypoints. Metro\nselects Gill's React Native build instead of its Node/WebSocket build, so\ncreating a client and using HTTP RPC methods does not require Node polyfills.\n\n`createAltudeClient` creates its HTTP RPC transport immediately and initializes\nRPC subscriptions only when `rpcSubscriptions` or a subscription-dependent\nhelper is accessed. Subscription use still requires the WebSocket capabilities\nexpected by Gill in the target runtime.\n\nRPC clients must be constructed from the `RpcUrl` and `Token` returned by the\nAltude transaction config API. The SDK intentionally does not fall back to\npublic Solana endpoints because the API key determines the cluster and JWT.\n\n## Usage\n\n```typescript\nimport { generateMnemonic, mnemonicToSeed, deriveSolanaKeypair } from '@altude/core'\n\nconst mnemonic = generateMnemonic()\nconst seed = await mnemonicToSeed(mnemonic)\nconst keypair = deriveSolanaKeypair(seed, 0)\n```\n\nSee the [monorepo README](https://github.com/AltudePlatform/altude-js) for the full\nSDK overview.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}