{"_id":"@ara-web/crypto-sockets","_rev":"5-e2acf63e38f4d0f21823d1c04e2b1eb5","name":"@ara-web/crypto-sockets","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@ara-web/crypto-sockets","version":"1.0.0","author":{"name":"Medet Ahmetson"},"license":"ISC","_id":"@ara-web/crypto-sockets@1.0.0","maintainers":[{"name":"ahmetson","email":"medet@ara.foundation"}],"homepage":"https://github.com/ara-foundation/crypto-sockets#readme","bugs":{"url":"https://github.com/ara-foundation/crypto-sockets/issues"},"dist":{"shasum":"a2b4423ffd8e4bcd6ca5fe1545e0af062d467046","tarball":"https://registry.npmjs.org/@ara-web/crypto-sockets/-/crypto-sockets-1.0.0.tgz","fileCount":33,"integrity":"sha512-KbXrEpfzRP5jVzYjEyXX7TiHobJGb3X3SRl/1n2TqslhcVbbce92TN95lpLY/8ys/9Zf3FqNfyM4Mu12Oy8+Dg==","signatures":[{"sig":"MEYCIQCeCUdSsqY3s+1fFd3Zcq1A+ndF6IdUGDW4jSqbzdaPBwIhAIcfYjEa2m7WX5bPntlXvY6YKAgqoJVHk2oib8hMnHAP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54905},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"NODE_ENV=development tsx src/server-side/server.ts","test":"echo \"Error: no test specified\" && exit 1","build":"npm run build-client","withdraw":" ts-node src/client-side/withdraw.ts","build-client":"tsc -p tsconfig.client.json","cascade-info":" ts-node src/client-side/cascade-info.ts","hello-server":"ts-node src/client-side/hello.ts","create-project":"ts-node src/client-side/create-project.ts","prepublishOnly":"npm run build-client","set-withdrawer":" ts-node src/client-side/set-withdrawer.ts","withdrawer-info":" ts-node src/client-side/get-withdrawer.ts","cascade-withdraw":" ts-node src/client-side/cascade-withdraw.ts","set-cascade-withdrawer":" ts-node src/client-side/set-cascade-withdrawer.ts"},"_npmUser":{"name":"ahmetson","email":"medet@ara.foundation"},"repository":{"url":"git+https://github.com/ara-foundation/crypto-sockets.git","type":"git"},"_npmVersion":"11.6.2","description":"Crypto sockets client and server for blockchain gateway communication","directories":{},"_nodeVersion":"24.12.0","dependencies":{"dotenv":"^17.2.1","ethers":"^6.15.0","zeromq":"^6.5.0","@ara-web/smartcontracts":"^1.0.1","@ara-web/cascadefund-smartcontracts":"^0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","ts-node":"^10.9.2","typescript":"^5.8.3","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-sockets_1.0.0_1765989995799_0.76228945679479","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ara-web/crypto-sockets","version":"1.0.2","author":{"name":"Medet Ahmetson"},"license":"ISC","_id":"@ara-web/crypto-sockets@1.0.2","maintainers":[{"name":"ahmetson","email":"medet@ara.foundation"}],"homepage":"https://github.com/ara-foundation/crypto-sockets#readme","bugs":{"url":"https://github.com/ara-foundation/crypto-sockets/issues"},"dist":{"shasum":"0a04e7771bf65b1ed939e855586b478ab52f74a0","tarball":"https://registry.npmjs.org/@ara-web/crypto-sockets/-/crypto-sockets-1.0.2.tgz","fileCount":85,"integrity":"sha512-b8jnQdakEGk22qMqi5k/r5FVGNU4cK9Hp+IMcM3ihrI9IuJQAr1X3GnWb+v3rN3+yxwciGbhS5QBu+BipsNZ8g==","signatures":[{"sig":"MEQCIE8v/dtuhMTnnSoJgkoXBc+0F5FcEEu7AP/MQEXfwe7WAiAWPQ5MSMeF08RfW7wogoIITBPkK3E7Q1buCcxYd5gaWw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93816},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"NODE_ENV=development tsx src/server-side/server.ts","test":"echo \"Error: no test specified\" && exit 1","build":"npm run build-client","clean":"rm -rf dist","withdraw":" ts-node src/client-side/withdraw.ts","build-client":"npm run clean && tsc -p tsconfig.client.json","cascade-info":" ts-node src/client-side/cascade-info.ts","hello-server":"ts-node src/client-side/hello.ts","create-project":"ts-node src/client-side/create-project.ts","prepublishOnly":"npm run build-client","set-withdrawer":" ts-node src/client-side/set-withdrawer.ts","withdrawer-info":" ts-node src/client-side/get-withdrawer.ts","cascade-withdraw":" ts-node src/client-side/cascade-withdraw.ts","set-cascade-withdrawer":" ts-node src/client-side/set-cascade-withdrawer.ts"},"_npmUser":{"name":"ahmetson","email":"medet@ara.foundation"},"repository":{"url":"git+https://github.com/ara-foundation/crypto-sockets.git","type":"git"},"_npmVersion":"11.6.2","description":"Crypto sockets client and server for blockchain gateway communication","directories":{},"_nodeVersion":"24.12.0","dependencies":{"dotenv":"^17.2.1","ethers":"^6.15.0","zeromq":"^6.5.0","@ara-web/smartcontracts":"^1.0.1","@ara-web/cascadefund-smartcontracts":"^0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","ts-node":"^10.9.2","typescript":"^5.8.3","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-sockets_1.0.2_1765991186288_0.1714211123521403","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@ara-web/crypto-sockets","version":"1.0.3","author":{"name":"Medet Ahmetson"},"license":"ISC","_id":"@ara-web/crypto-sockets@1.0.3","maintainers":[{"name":"ahmetson","email":"medet@ara.foundation"}],"homepage":"https://github.com/ara-foundation/crypto-sockets#readme","bugs":{"url":"https://github.com/ara-foundation/crypto-sockets/issues"},"dist":{"shasum":"34870a95012bb6ca85f0b514c3c83da8da2d5fa2","tarball":"https://registry.npmjs.org/@ara-web/crypto-sockets/-/crypto-sockets-1.0.3.tgz","fileCount":81,"integrity":"sha512-v9ac5ljgMz0Hr91YMQokSP0pgJ2+HBQTVY6/R16JPhmpojONOPEhBcfApidJQH+cuV+xINvhP71+wkoyq9qUfw==","signatures":[{"sig":"MEUCIC/6ejUTSUFAcg+Jp5MKgSAoZSWUZ9VsEuX6qeK6/7UKAiEA+H30yob+lM8swCqPpjh5FQB+boJnk6nu6sUq9HztR3s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70948},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"NODE_ENV=development tsx src/server-side/server.ts","test":"echo \"Error: no test specified\" && exit 1","build":"npm run build-client","clean":"rm -rf dist","withdraw":" ts-node src/client-side/withdraw.ts","build-client":"npm run clean && tsc -p tsconfig.client.json","cascade-info":" ts-node src/client-side/cascade-info.ts","hello-server":"ts-node src/client-side/hello.ts","create-project":"ts-node src/client-side/create-project.ts","prepublishOnly":"npm run build-client","set-withdrawer":" ts-node src/client-side/set-withdrawer.ts","withdrawer-info":" ts-node src/client-side/get-withdrawer.ts","cascade-withdraw":" ts-node src/client-side/cascade-withdraw.ts","set-cascade-withdrawer":" ts-node src/client-side/set-cascade-withdrawer.ts"},"_npmUser":{"name":"ahmetson","email":"medet@ara.foundation"},"repository":{"url":"git+https://github.com/ara-foundation/crypto-sockets.git","type":"git"},"_npmVersion":"11.6.2","description":"Crypto sockets client and server for blockchain gateway communication","directories":{},"_nodeVersion":"24.12.0","dependencies":{"dotenv":"^17.2.1","ethers":"^6.15.0","zeromq":"^6.5.0","@ara-web/smartcontracts":"^1.0.1","@ara-web/cascadefund-smartcontracts":"^0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","ts-node":"^10.9.2","typescript":"^5.8.3","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-sockets_1.0.3_1765992072155_0.6470449249170103","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@ara-web/crypto-sockets","version":"1.0.4","author":{"name":"Medet Ahmetson"},"license":"ISC","_id":"@ara-web/crypto-sockets@1.0.4","maintainers":[{"name":"ahmetson","email":"medet@ara.foundation"}],"homepage":"https://github.com/ara-foundation/crypto-sockets#readme","bugs":{"url":"https://github.com/ara-foundation/crypto-sockets/issues"},"dist":{"shasum":"b588658f166a3c0268da71a4d706d8ae8efe328b","tarball":"https://registry.npmjs.org/@ara-web/crypto-sockets/-/crypto-sockets-1.0.4.tgz","fileCount":81,"integrity":"sha512-N/I6dmtJFIx5Obeqa5X3DYLkGv+QMeeUrEkdDR3O0gCYTs7M8ngZhA7XXZYPfjaHGuINMb5zFFyOFFnp8+xZNQ==","signatures":[{"sig":"MEUCIQDRbeBCFkNMY+OYp+M+urgDNxPVmse2kfGPJUU8mSfHOAIgLm+JqTiHcDoRxOEOPXnYeEO9kJFdraRBg1uhtsJ7Oxk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70897},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"private":false,"scripts":{"dev":"NODE_ENV=development tsx src/server-side/server.ts","test":"echo \"Error: no test specified\" && exit 1","build":"npm run clean && tsc -p tsconfig.client.json","clean":"rm -rf dist","withdraw":" ts-node src/client-side/withdraw.ts","cascade-info":" ts-node src/client-side/cascade-info.ts","hello-server":"ts-node src/client-side/hello.ts","create-project":"ts-node src/client-side/create-project.ts","prepublishOnly":"npm run build","set-withdrawer":" ts-node src/client-side/set-withdrawer.ts","withdrawer-info":" ts-node src/client-side/get-withdrawer.ts","cascade-withdraw":" ts-node src/client-side/cascade-withdraw.ts","set-cascade-withdrawer":" ts-node src/client-side/set-cascade-withdrawer.ts"},"_npmUser":{"name":"ahmetson","email":"medet@ara.foundation"},"repository":{"url":"git+https://github.com/ara-foundation/crypto-sockets.git","type":"git"},"_npmVersion":"11.6.2","description":"Crypto sockets client and server for blockchain gateway communication","directories":{},"_nodeVersion":"24.12.0","dependencies":{"dotenv":"^17.2.1","ethers":"^6.15.0","zeromq":"^6.5.0","@ara-web/smartcontracts":"^1.0.1","@ara-web/cascadefund-smartcontracts":"^0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","ts-node":"^10.9.2","typescript":"^5.8.3","@types/node":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/crypto-sockets_1.0.4_1765992699419_0.002955441893103261","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@ara-web/crypto-sockets","version":"1.0.5","description":"Crypto sockets client and server for blockchain gateway communication","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","private":false,"publishConfig":{"access":"public"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","clean":"rm -rf dist","build":"npm run clean && tsc -p tsconfig.client.json","prepublishOnly":"npm run build","dev":"NODE_ENV=development tsx src/server-side/server.ts","hello-server":"ts-node src/client-side/hello.ts","create-project":"ts-node src/client-side/create-project.ts","set-withdrawer":" ts-node src/client-side/set-withdrawer.ts","withdrawer-info":" ts-node src/client-side/get-withdrawer.ts","withdraw":" ts-node src/client-side/withdraw.ts","cascade-info":" ts-node src/client-side/cascade-info.ts","set-cascade-withdrawer":" ts-node src/client-side/set-cascade-withdrawer.ts","cascade-withdraw":" ts-node src/client-side/cascade-withdraw.ts"},"repository":{"type":"git","url":"git+https://github.com/ara-foundation/crypto-sockets.git"},"author":{"name":"Medet Ahmetson"},"license":"ISC","bugs":{"url":"https://github.com/ara-foundation/crypto-sockets/issues"},"homepage":"https://github.com/ara-foundation/crypto-sockets#readme","devDependencies":{"@types/node":"^24.1.0","ts-node":"^10.9.2","tsx":"^4.21.0","typescript":"^5.8.3"},"dependencies":{"@ara-web/cascadefund-smartcontracts":"^0.0.1","@ara-web/smartcontracts":"^1.0.1","dotenv":"^17.2.1","ethers":"^6.15.0","zeromq":"^6.5.0"},"_id":"@ara-web/crypto-sockets@1.0.5","gitHead":"b9273ec25b39b131d16359a105b8560a47105f0e","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-s2iw5LEVHN4tnlTyiEa1NlnLRAbNQNW8nMYDt00DgwgfYafWfjYnyouKI8iJXk7ZEvA+HvWwcc7Z/tkyFuGcjQ==","shasum":"1d8ac214fcae6580bc8ba913bd85dbf81203959e","tarball":"https://registry.npmjs.org/@ara-web/crypto-sockets/-/crypto-sockets-1.0.5.tgz","fileCount":81,"unpackedSize":84474,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD4ztsTOBMW7t4M7bs88Jn8uoQVbtvk/90vw7xdVzik7QIhAI684PGlPzRNb/NyDvyibfjTYBbRImHZwaMIzRYjGgXM"}]},"_npmUser":{"name":"ahmetson","email":"medet@ara.foundation"},"directories":{},"maintainers":[{"name":"ahmetson","email":"medet@ara.foundation"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crypto-sockets_1.0.5_1766072362400_0.05311073013396728"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-17T16:46:35.663Z","modified":"2025-12-18T15:39:22.796Z","1.0.0":"2025-12-17T16:46:35.946Z","1.0.2":"2025-12-17T17:06:26.483Z","1.0.3":"2025-12-17T17:21:12.303Z","1.0.4":"2025-12-17T17:31:39.572Z","1.0.5":"2025-12-18T15:39:22.580Z"},"bugs":{"url":"https://github.com/ara-foundation/crypto-sockets/issues"},"author":{"name":"Medet Ahmetson"},"license":"ISC","homepage":"https://github.com/ara-foundation/crypto-sockets#readme","repository":{"type":"git","url":"git+https://github.com/ara-foundation/crypto-sockets.git"},"description":"Crypto sockets client and server for blockchain gateway communication","maintainers":[{"name":"ahmetson","email":"medet@ara.foundation"}],"readme":"# Crypto sockets\nA package that connects to the blockchain and interacts with the \nsmartcontracts. It's build on the [Zeromq](https://zeromq.org/) network library\nand provides two sockets to interact with.\n\nFirst is the request/reply socket to interact with the smartcontracts.\nThe second socket is the subscriber to listen incoming events.\n\n## \nCrypto sockets has two options. Server side which also comes as the docker image.\nThe other socket is client side. Available from `@ara-web/crypto-sockets` package.\n\n> Requires `.env` based on the `.env.example`.\n\n## Todo\nAdd compilation to the javascript in the dockerfile, instead serving demo dev.","readmeFilename":"README.md"}