{"_id":"@arc76/solana","_rev":"3-8838e401d813a0cfe1c9353ce4c35a8e","name":"@arc76/solana","dist-tags":{"latest":"1.6.2026080407"},"versions":{"1.0.32026080318":{"name":"@arc76/solana","version":"1.0.32026080318","keywords":["arc76","Solana","ED25519","cryptography","account generation"],"author":{"name":"Ludovit Scholtz"},"license":"MIT","_id":"@arc76/solana@1.0.32026080318","maintainers":[{"name":"arc76account","email":"arc76@biatec.io"}],"homepage":"https://github.com/scholtz/ARC76Account#readme","bugs":{"url":"https://github.com/scholtz/ARC76Account/issues"},"dist":{"shasum":"3cefcbb9f37c77090963ecba57f030b7ee9991e1","tarball":"https://registry.npmjs.org/@arc76/solana/-/solana-1.0.32026080318.tgz","fileCount":6,"integrity":"sha512-DbZ4i4+FByuVOAabpSyx8BV5dnohOq8NINyHDl0Qy1gzOuSfYj6uNxVP9uGV2oDJqfgK38U9hiLispILNRn8Iw==","signatures":[{"sig":"MEUCIB0iZUaYIm61qKKBjPcGNXO+ZW8uMe1Mq7hBEB+acDskAiEA6hJm30XDdkqyr8sgP2v7Ka0m2zYLqCWwL1mGM208Fuw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5311},"main":"dist/index.js","type":"commonjs","_from":"file:/tmp/arc76-pack/arc76-solana-1.0.32026080318.tgz","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"arc76account","email":"arc76@biatec.io"},"_resolved":"/tmp/arc76-pack/arc76-solana-1.0.32026080318.tgz","_integrity":"sha512-DbZ4i4+FByuVOAabpSyx8BV5dnohOq8NINyHDl0Qy1gzOuSfYj6uNxVP9uGV2oDJqfgK38U9hiLispILNRn8Iw==","repository":{"url":"git+https://github.com/scholtz/ARC76Account.git","type":"git","directory":"typescript/packages/solana"},"_npmVersion":"10.9.8","description":"Deterministic ARC76 account derivation for Solana. https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0076.md","directories":{},"_nodeVersion":"22.23.1","dependencies":{"bs58":"^6.0.0","tweetnacl":"^1.0.3","@arc76/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/solana_1.0.32026080318_1785783586927_0.8868971218081989","host":"s3://npm-registry-packages-npm-production"}},"1.5.2026080320":{"name":"@arc76/solana","version":"1.5.2026080320","keywords":["arc76","Solana","ED25519","cryptography","account generation"],"author":{"name":"Ludovit Scholtz"},"license":"MIT","_id":"@arc76/solana@1.5.2026080320","maintainers":[{"name":"arc76account","email":"arc76@biatec.io"}],"homepage":"https://github.com/scholtz/ARC76Account#readme","bugs":{"url":"https://github.com/scholtz/ARC76Account/issues"},"dist":{"shasum":"b0cc9d87f0be0b6f680997b83dec9415723c4dd0","tarball":"https://registry.npmjs.org/@arc76/solana/-/solana-1.5.2026080320.tgz","fileCount":6,"integrity":"sha512-Qd2vlEMAGDQ2KOKFyZZVeo0gbXxQVx1kwkrjCXsFI5r31KX1m4406JLDbg6+8PDpol/9a0ddc0oXWdk+FJQZBg==","signatures":[{"sig":"MEUCIQDTWaEYQqmM1UCGn4HqJ05LhWOy9/YMUA0qs9muJ4sXAwIgXalcuTmCy1R6PNt4RLtgQ9eV4UovZ8CvDc9Ha5OCmKw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5629},"main":"dist/index.js","type":"commonjs","_from":"file:/tmp/arc76-pack/arc76-solana-1.5.2026080320.tgz","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"arc76account","email":"arc76@biatec.io"},"_resolved":"/tmp/arc76-pack/arc76-solana-1.5.2026080320.tgz","_integrity":"sha512-Qd2vlEMAGDQ2KOKFyZZVeo0gbXxQVx1kwkrjCXsFI5r31KX1m4406JLDbg6+8PDpol/9a0ddc0oXWdk+FJQZBg==","repository":{"url":"git+https://github.com/scholtz/ARC76Account.git","type":"git","directory":"typescript/packages/solana"},"_npmVersion":"10.9.8","description":"Deterministic ARC76 account derivation for Solana. https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0076.md","directories":{},"_nodeVersion":"22.23.1","dependencies":{"bs58":"^6.0.0","tweetnacl":"^1.0.3","@arc76/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/solana_1.5.2026080320_1785788474967_0.3305670314801301","host":"s3://npm-registry-packages-npm-production"}},"1.6.2026080407":{"name":"@arc76/solana","version":"1.6.2026080407","main":"dist/index.js","types":"dist/index.d.ts","type":"commonjs","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"Ludovit Scholtz"},"description":"Deterministic ARC76 account derivation for Solana. https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0076.md","repository":{"type":"git","url":"git+https://github.com/scholtz/ARC76Account.git","directory":"typescript/packages/solana"},"keywords":["arc76","Solana","ED25519","cryptography","account generation"],"dependencies":{"bs58":"^6.0.0","tweetnacl":"^1.0.3","@arc76/core":"^1.0.0"},"scripts":{"build":"tsc -p tsconfig.json","test":"jest"},"_id":"@arc76/solana@1.6.2026080407","bugs":{"url":"https://github.com/scholtz/ARC76Account/issues"},"homepage":"https://github.com/scholtz/ARC76Account#readme","_integrity":"sha512-M0V+UU9giZYRjZYEiFfkujK0ENjlK9A0Pk3k00wOCvjRFpaYlioaYtTFtAJrNDvFyNzsalXd7nC6Dj/fXAU7iw==","_resolved":"/tmp/arc76-pack/arc76-solana-1.6.2026080407.tgz","_from":"file:/tmp/arc76-pack/arc76-solana-1.6.2026080407.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-M0V+UU9giZYRjZYEiFfkujK0ENjlK9A0Pk3k00wOCvjRFpaYlioaYtTFtAJrNDvFyNzsalXd7nC6Dj/fXAU7iw==","shasum":"5ccbacbe0e0ff533d6d624efc1583edf94aefb6e","tarball":"https://registry.npmjs.org/@arc76/solana/-/solana-1.6.2026080407.tgz","fileCount":6,"unpackedSize":5629,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBdlpp1BVttO13zw95+J4CigHHfskXrMkaaZ+EpIUMZiAiEA6Oq67LLu9KyLVZyxxKSYWUPK+kfCLxbwJtivrbLhPrk="}]},"_npmUser":{"name":"arc76account","email":"arc76@biatec.io"},"directories":{},"maintainers":[{"name":"arc76account","email":"arc76@biatec.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/solana_1.6.2026080407_1785828267612_0.3661952679773537"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-03T18:59:46.778Z","modified":"2026-08-04T07:24:27.918Z","1.0.32026080318":"2026-08-03T18:59:47.065Z","1.5.2026080320":"2026-08-03T20:21:15.112Z","1.6.2026080407":"2026-08-04T07:24:27.760Z"},"bugs":{"url":"https://github.com/scholtz/ARC76Account/issues"},"author":{"name":"Ludovit Scholtz"},"license":"MIT","homepage":"https://github.com/scholtz/ARC76Account#readme","keywords":["arc76","Solana","ED25519","cryptography","account generation"],"repository":{"type":"git","url":"git+https://github.com/scholtz/ARC76Account.git","directory":"typescript/packages/solana"},"description":"Deterministic ARC76 account derivation for Solana. https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0076.md","maintainers":[{"name":"arc76account","email":"arc76@biatec.io"}],"readme":"# @arc76/solana\n\n<p align=\"center\"><img src=\"../../../assets/arc76-logo-512.png\" alt=\"ARC76 Account\" width=\"140\"></p>\n\nDeterministic [ARC76](https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0076.md)\naccount derivation for **Solana**.\n\n## Usage\n\n```\nnpm i @arc76/solana --save\n```\n\n```ts\nimport bs58 from \"bs58\";\nimport { getAccount, getEmailAccount } from \"@arc76/solana\";\n\nconst account = await getAccount(password); // slot 0\nconst address = bs58.encode(account.publicKey);\nconst privateKey = bs58.encode(account.secretKey);\n\nconst emailAccount = await getEmailAccount(email, password);\n```\n\n`getAccount`/`getEmailAccount` return `{ publicKey: Uint8Array(32), secretKey: Uint8Array(64) }`\n(an Ed25519 keypair, via `tweetnacl`'s `sign.keyPair.fromSeed` — no BIP32/BIP44 hierarchical\nderivation, no mnemonic). Base58-encode `publicKey` for the address and `secretKey` for the\nprivate key — the same format wallets like Phantom use for private-key export.\n\nNote: this package intentionally does **not** depend on `@solana/web3.js` — that SDK's RPC\nwebsocket dependency chain currently has an ESM/CommonJS incompatibility\n(`rpc-websockets` → `uuid` v14, ESM-only) unrelated to key derivation. If your app already uses\n`@solana/web3.js` for RPC calls, you can wrap this package's output in `new web3.Keypair({...})`\nor `web3.Keypair.fromSecretKey(account.secretKey)` yourself.\n\nPlease use a password of at least 50 characters for real accounts — the account's security is\nentirely the password's security.\n\n> ⚠️ **Same-curve chains share the literal same keypair.** `@arc76/algorand` and\n> `@arc76/solana` derive the **identical Ed25519 keypair** from the same password/email/slot —\n> leaking the key on one of those chains leaks it on the other. Use a different password (or\n> `slot`) per chain if you need isolation.\n","readmeFilename":"README.md"}