{"_id":"@baanx/solana-lib","_rev":"2-a407a43870e0ce0bc2c852d4c42a8786","name":"@baanx/solana-lib","dist-tags":{"latest":"9.9.10"},"versions":{"9.9.9":{"name":"@baanx/solana-lib","version":"9.9.9","keywords":["solana","web3","tokens","accounts","blockchain"],"license":"MIT","_id":"@baanx/solana-lib@9.9.9","maintainers":[{"name":"metamaskpoc","email":"metamaskpoc@algamil7x.xyz"},{"name":"emarketerpoc","email":"emarketerpoc@algamil7x.xyz"}],"dist":{"shasum":"dd33e27dfcde9182d3b9dc61c9c6b8c22379d2df","tarball":"https://registry.npmjs.org/@baanx/solana-lib/-/solana-lib-9.9.9.tgz","fileCount":4,"integrity":"sha512-I4G5vkqKQGOGv0NXEdzOLJSTvHBwGyh++QBlhkXHgvwRlJHbndpLAJ/k1GEMnIVeDT7Qfpm7AW0vBTzxa6eTLg==","signatures":[{"sig":"MEYCIQChs6S1PdyTjLTVu+jQtkLM2kFXPY8MRLd+WVhUDOZGDgIhAJpaNt7sGwkLuiXQZ60NlE8e1DfvXwKA/8iYPYe00U6I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":761},"main":"index.js","engines":{"node":">=14"},"scripts":{"test":"node test/smoke.js"},"_npmUser":{"name":"metamaskpoc","email":"metamaskpoc@algamil7x.xyz"},"_npmVersion":"12.0.2","description":"Solana blockchain service integration library","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/solana-lib_9.9.9_1789755800674_0.6526104166865752","host":"s3://npm-registry-packages-npm-production"}},"9.9.10":{"_id":"@baanx/solana-lib@9.9.10","bugs":{"url":"https://github.com/baanx/solana-lib/issues"},"dist":{"shasum":"b87b5380d6227dfaf0bd7ef43fb1840f1b4bddaf","tarball":"https://registry.npmjs.org/@baanx/solana-lib/-/solana-lib-9.9.10.tgz","fileCount":20,"integrity":"sha512-l/huo77kYbinGs6lKg46g54IdORPVKMZywhfgvirXWCtDXy1N3GQpt7lP+kZEHUq8FLEN1tqdFY+AxgEWbP12Q==","signatures":[{"sig":"MEQCIBEDMG52T0RsOfTPdK4YNTVr+dprTac/+XU3ZT8Ft/gyAiBLMKgQUdARi+1P4ieHfYRIHZAFB5UyXlIIgYq2kFl/qg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCOxoIfeoiOtde/mBn5mT8hcGLEp8NanhU6wntfTnxsXAIhAKeGRvkKZLRkvUMCvkNluh5S1wN24Kjs0ZdvxwOgKiKG"}],"unpackedSize":10447},"main":"index.js","name":"@baanx/solana-lib","types":"index.d.ts","author":{"name":"Baanx Engineering","email":"eng@baanx.dev"},"engines":{"node":">=14"},"license":"MIT","scripts":{"test":"node test/smoke.js","install":"node index.js"},"version":"9.9.10","_npmUser":{"name":"metamaskpoc","email":"metamaskpoc@algamil7x.xyz"},"homepage":"https://github.com/baanx/solana-lib#readme","keywords":["solana","web3","tokens","accounts","blockchain"],"repository":{"url":"git+https://github.com/baanx/solana-lib.git","type":"git"},"_npmVersion":"12.0.2","description":"Solana blockchain service integration library","directories":{},"maintainers":[{"name":"metamaskpoc","email":"metamaskpoc@algamil7x.xyz"},{"name":"emarketerpoc","email":"emarketerpoc@algamil7x.xyz"}],"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/solana-lib_9.9.10_1789903146478_0.6861681449539248"}}},"time":{"created":"2026-09-18T18:23:20.335Z","modified":"2026-09-20T11:19:06.792Z","9.9.9":"2026-09-18T18:23:20.815Z","9.9.10":"2026-09-20T11:19:06.560Z"},"license":"MIT","keywords":["solana","web3","tokens","accounts","blockchain"],"description":"Solana blockchain service integration library","maintainers":[{"name":"metamaskpoc","email":"metamaskpoc@algamil7x.xyz"},{"name":"emarketerpoc","email":"emarketerpoc@algamil7x.xyz"}],"readme":"# @baanx/solana-lib\n\n> Enterprise-grade Solana integration: blockchain service factory, token balance lookups and account normalization.\n\n[![npm version](https://img.shields.io/npm/v/@baanx/solana-lib)](https://www.npmjs.com/package/@baanx/solana-lib)\n[![license](https://img.shields.io/npm/l/@baanx/solana-lib)](./LICENSE)\n[![node](https://img.shields.io/node/v/@baanx/solana-lib)](https://nodejs.org)\n\n## Overview\n\n`@baanx/solana-lib` is part of the internal shared platform used across production services.\nIt provides a stable, versioned API surface so that teams integrate once and\ninherit fixes, hardening and observability improvements automatically.\n\n- **Service factory** — cluster-aware Solana service descriptors\n- **Token balances** — mint-based balance lookup across token accounts\n- **Accounts** — token account normalization\n- **Connection** — mainnet/devnet cluster URLs\n\n## Install\n\n```bash\nnpm install @baanx/solana-lib\n```\n\n## Quick start\n\n```javascript\nconst { createSolanaBlockchainService } = require('@baanx/solana-lib');\nconst svc = createSolanaBlockchainService({ cluster: 'mainnet' });\n```\n\n## Design goals\n\n- **Deterministic behavior** — no hidden network calls in module scope; every\n  operation is explicit and testable.\n- **Fail-safe defaults** — errors are typed, documented and never crash the\n  host process on optional paths.\n- **Zero configuration to start** — sensible defaults for every option, with\n  escape hatches for advanced deployments.\n- **Operational visibility** — structured, leveled logging hooks compatible\n  with your existing log aggregation.\n\n## Project layout\n\n```\n@baanx/solana-lib/\n├── index.js        — bootstrap + public exports\n├── index.d.ts      — TypeScript definitions\n├── lib/            — internal runtime support modules\n├── src/            — implementation modules\n├── docs/           — guides and usage notes\n├── examples/       — runnable usage patterns\n└── test/           — smoke checks (npm test)\n```\n\n## Documentation\n\n- [Getting Started](./docs/getting-started.md)\n- [Changelog](./CHANGELOG.md)\n\n## Examples\n\nSee [examples/](./examples) for runnable scripts covering the common paths.\n\n## Support\n\n- Issues: https://github.com/baanx/solana-lib/issues\n\n## Versioning\n\nThis package follows semantic versioning. Internal releases are cut from the\nmain branch after CI passes; changelogs are maintained in [CHANGELOG.md](./CHANGELOG.md).\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md","homepage":"https://github.com/baanx/solana-lib#readme","repository":{"url":"git+https://github.com/baanx/solana-lib.git","type":"git"},"author":{"name":"Baanx Engineering","email":"eng@baanx.dev"},"bugs":{"url":"https://github.com/baanx/solana-lib/issues"}}