{"_id":"@aeko-chain/sdk","_rev":"5-fcaaeb93dd909b0082e817164e45404b","name":"@aeko-chain/sdk","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@aeko-chain/sdk","version":"0.1.0","keywords":["aeko","nodejs","sdk","webhooks","backend"],"license":"Apache-2.0","_id":"@aeko-chain/sdk@0.1.0","maintainers":[{"name":"aeko_foundation","email":"aeko.social@gmail.com"}],"dist":{"shasum":"b077235cc098c0a28bccba7214f8107e79870292","tarball":"https://registry.npmjs.org/@aeko-chain/sdk/-/sdk-0.1.0.tgz","fileCount":10,"integrity":"sha512-v/3vxPznSpAXJ6G19OyKG+xSHevM59o2WIsOr8u3m/cxO0EchHRvwoUM2CKdJzDZftGCS1Gs15KK5T9ChYv68w==","signatures":[{"sig":"MEUCIQDS5PhzAKaoNnpsnN3yCqwmHNe/e4gQwQjhGumXG8R5GgIgcxOFwliwXMd3W4DrUmIgm7rcgMm/UOaecFfEp1rExqE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6408},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"3791a5927054d0ddc2a470d4b09abbd99e66e7f1","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","release:check":"npm run typecheck && npm run build","release:publish":"npm run release:check && npm publish --access public"},"_npmUser":{"name":"aeko_foundation","email":"aeko.social@gmail.com"},"_npmVersion":"11.9.0","description":"AEKO Chain Node.js SDK","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@aeko-chain/web3.js":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^24.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1775135012406_0.9430556894808675","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aeko-chain/sdk","version":"0.1.1","keywords":["aeko","nodejs","sdk","webhooks","backend"],"license":"Apache-2.0","_id":"@aeko-chain/sdk@0.1.1","maintainers":[{"name":"aeko_foundation","email":"aeko.social@gmail.com"}],"dist":{"shasum":"111217e76558e3bbee94543a466b0f50ca0d3366","tarball":"https://registry.npmjs.org/@aeko-chain/sdk/-/sdk-0.1.1.tgz","fileCount":14,"integrity":"sha512-RPBdeKL3CjT/3ezYPVpcM5Jl6lMr4S1vQCN0dj2oqJMhPF+2AED4NL5xp9CZv27zhapsaUXd0obxmVkboWPQNQ==","signatures":[{"sig":"MEUCIHwxV9EwSTV8InOcISQsrGpdQ5DL2y7y90YUrMVeFQD2AiEApCHrWXJViw1mLV+j8ehoKy/xUdMYlCp0+lFVZ0Ow4+A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31582},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1fd6d188e7871b925fe6fba362832135677ef1f2","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","release:check":"npm run typecheck && npm run build","release:publish":"npm run release:check && npm publish --access public"},"_npmUser":{"name":"aeko_foundation","email":"aeko.social@gmail.com"},"_npmVersion":"11.9.0","description":"AEKO Chain Node.js SDK","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@aeko-chain/web3.js":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^24.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1775340547893_0.5901392665018041","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aeko-chain/sdk","version":"0.1.2","keywords":["aeko","nodejs","sdk","webhooks","backend"],"license":"Apache-2.0","_id":"@aeko-chain/sdk@0.1.2","maintainers":[{"name":"aeko_foundation","email":"aeko.social@gmail.com"}],"dist":{"shasum":"7fecd42f490a2b5431c41f9aecae14da6d175824","tarball":"https://registry.npmjs.org/@aeko-chain/sdk/-/sdk-0.1.2.tgz","fileCount":14,"integrity":"sha512-qIFP1Lt/SlonNosHAx9ibuuP4QWLaNNr6hBet8/durV2wOjLeGeD/MEkZbbnnObaAqe8HxKVnQM3MtEvgIJtmQ==","signatures":[{"sig":"MEYCIQCpt7S8Z9ui+AkHQ03IAMNFyhPZMlmI/p7O9EkmpRS8KAIhALfDQaxAkWyxaGdXQ6PKoBg/ARrhQztiIw6lS4so0ecI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31582},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1fd6d188e7871b925fe6fba362832135677ef1f2","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","release:check":"npm run typecheck && npm run build","release:publish":"npm run release:check && npm publish --access public"},"_npmUser":{"name":"aeko_foundation","email":"aeko.social@gmail.com"},"_npmVersion":"11.9.0","description":"AEKO Chain Node.js SDK","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@aeko-chain/web3.js":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^24.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.2_1775340872105_0.10915241426950928","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aeko-chain/sdk","version":"0.1.3","keywords":["aeko","nodejs","sdk","webhooks","backend"],"license":"Apache-2.0","_id":"@aeko-chain/sdk@0.1.3","maintainers":[{"name":"aeko_foundation","email":"aeko.social@gmail.com"}],"dist":{"shasum":"6f760bb7a2ed7e73cea9b8b1fa7c29d970bd7a6c","tarball":"https://registry.npmjs.org/@aeko-chain/sdk/-/sdk-0.1.3.tgz","fileCount":14,"integrity":"sha512-lhoDQiBq3cjDwvgPUx9NXWrDW3bwemZcQa0d78TFVw+6m2C5Rl+MBtV1+ZbZ213H+kj1qijwdeCvHBAB2yZBCA==","signatures":[{"sig":"MEUCIC8lgTe14PUySbReQY5NZ5QkdgHMIN8MxRLh1JN8xd/cAiEA3JiSGI3YNDUOGj8V4Fq9QvGEm/gj27l4saS1zwwKoXI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31582},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b0abb9b4deb9e29af09d01c8252d78949e122cce","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","release:check":"npm run typecheck && npm run build","release:publish":"npm run release:check && npm publish --access public"},"_npmUser":{"name":"aeko_foundation","email":"aeko.social@gmail.com"},"_npmVersion":"11.9.0","description":"AEKO Chain Node.js SDK","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@aeko-chain/web3.js":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^24.6.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.3_1778782251544_0.8663411886861052","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"_id":"@aeko-chain/sdk@0.1.4","dist":{"shasum":"69b050b3896a69e9856330e30598e3e9b90a99be","tarball":"https://registry.npmjs.org/@aeko-chain/sdk/-/sdk-0.1.4.tgz","fileCount":14,"integrity":"sha512-d8RMbzVHMgKvawyBoubPfUT8Bgye1Ni700QdX7KVADg9lRXAOS6pMmXlEInNilHSdQeEM4szf4Sb6ecBcFqCCg==","signatures":[{"sig":"MEUCIQD8psDybC3WMYXxoLikxpmOChp4lZlEJ4xzGG7mm9Z9JAIgRWmUnUkHLoKT9uqnP9NSSABcOdxJefaOSnrvP3x5uRc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFg236sZqw6T3t6mfSEZLvD7vg+nXyWVuOPS/RBVnvJHAiEAh+MKg5/sHjprT75YL5AchHo9nebwk9UVw9KnfV7y5mc="}],"unpackedSize":35600},"main":"./dist/index.js","name":"@aeko-chain/sdk","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"41d08365f397e44a4253d57870e3b513914bb350","license":"Apache-2.0","scripts":{"test":"npm run build && node --test test/*.test.mjs","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","release:check":"npm run typecheck && npm test","release:publish":"npm run release:check && npm publish --access public"},"version":"0.1.4","_npmUser":{"name":"aeko_foundation","email":"aeko.social@gmail.com"},"keywords":["aeko","nodejs","sdk","webhooks","backend"],"_npmVersion":"11.17.0","description":"AEKO Chain Node.js SDK","directories":{},"maintainers":[{"name":"aeko_foundation","email":"aeko.social@gmail.com"}],"_nodeVersion":"24.19.0","dependencies":{"@aeko-chain/web3.js":"^0.1.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^24.6.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.1.4_1790045976701_0.07733312119230229"}}},"time":{"created":"2026-04-02T13:03:32.296Z","modified":"2026-09-22T02:59:36.994Z","0.1.0":"2026-04-02T13:03:32.565Z","0.1.1":"2026-04-04T22:09:08.045Z","0.1.2":"2026-04-04T22:14:32.257Z","0.1.3":"2026-05-14T18:10:51.705Z","0.1.4":"2026-09-22T02:59:36.798Z"},"license":"Apache-2.0","keywords":["aeko","nodejs","sdk","webhooks","backend"],"description":"AEKO Chain Node.js SDK","maintainers":[{"name":"aeko_foundation","email":"aeko.social@gmail.com"}],"readme":"# `@aeko-chain/sdk`\n\nThe in-repo Node.js SDK scaffold for AEKO Chain.\n\nCurrent scope:\n\n- backend-friendly wrapper around `@aeko-chain/web3.js`\n- server-side prepared-transaction signing abstractions\n- batch send / confirm helpers\n- polling-based event and account listeners for webhook-style integrations\n- SocialFi post helpers for deterministic payload building, hashing, signature verification, and anchor transaction preparation\n\nThis package is the Ticket 4.3 Node.js foundation and is now published as `@aeko-chain/sdk`.\n\n## Local Verification\n\n```bash\nnpm --prefix apps/sdk/node install\nnpm --prefix apps/sdk/node run typecheck\nnpm --prefix apps/sdk/node run build\n```\n\n## Release Note\n\nThe Node SDK consumes `@aeko-chain/web3.js` through package exports instead of repo-local `dist` imports, which keeps the package boundary aligned with how consumers use it after publication.\n\n## Local layout\n\n- `src/client.ts`: Node-first connection wrapper\n- `src/socialBackend.ts`: reusable SocialFi backend service and pluggable verification-store interfaces\n- `src/socialPosts.ts`: post payload hashing, signature verification, and anchor transaction helpers\n- `src/signing.ts`: prepared-transaction signing and batch helpers\n- `src/webhooks.ts`: polling listeners for signatures and accounts\n- `src/index.ts`: public exports\n\n## Examples\n\n- `apps/sdk/node/examples/server-signing.ts`\n- `apps/sdk/node/examples/webhook-listener.ts`\n- `apps/sdk/node/examples/social-posts-backend.ts`\n\nThe SocialFi backend example includes:\n\n- deterministic post hash and verify routes\n- prepared or submitted `AnchorPost` flow\n- persisted verification lookup\n- a pluggable store interface with a JSON-file reference implementation\n\nThe reusable backend module for that example lives in `apps/sdk/node/src/socialBackend.ts`.\n","readmeFilename":"README.md"}