{"_id":"@calindra/cartesify-backend","_rev":"5-adcdec1e66f72e3b5edd56a3c25f7580","name":"@calindra/cartesify-backend","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"@calindra/cartesify-backend","version":"0.1.0","keywords":["cartesi"],"license":"MIT","_id":"@calindra/cartesify-backend@0.1.0","maintainers":[{"name":"zupodaniel","email":"zupo.daniel@gmail.com"},{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},{"name":"services_calindra","email":"contato@calindra.com.br"}],"dist":{"shasum":"1c500f44126e15731c01fd872eff3604163a6366","tarball":"https://registry.npmjs.org/@calindra/cartesify-backend/-/cartesify-backend-0.1.0.tgz","fileCount":11,"integrity":"sha512-2xPCASSa4gn/uFz8VGsx3JSMzjOuFuApmCJUlaAuoPiVOapovZ/PFdQd6kMS9mZo/Nr52JijLCvKuiCj0YDlTg==","signatures":[{"sig":"MEQCIBxA0x77wKU9jcEZgB7xMQog2FCQgSX2e9SDxMFEloopAiAI2PelUphbeP7BK7yOaoaFsHgjbG05XrIKdM6934uEdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37128},"main":"src/index.js","source":"src/index.ts","gitHead":"6b96c3c389ac7ab0bfbddd28c19cdcd230e3d440","scripts":{"dev":"nodemon src/app.js","build":"parcel build","start":"ROLLUP_HTTP_SERVER_URL=\"http://127.0.0.1:8080/rollup\" ts-node src/index.ts","codegen":"ts-node schema.ts","compile":"tsc && esbuild ./src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node20","build:old":"run-s codegen compile","build:clean":"rm -rf .parcel-cache && rm src/index.js src/index.js.map calindra-cartesify-*.tgz"},"_npmUser":{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},"_npmVersion":"10.2.4","description":"TypeScript DApp","directories":{},"_nodeVersion":"20.11.0","dependencies":{"viem":"^1","axios":"^1.6.5","@deroll/app":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"parcel":"^2.10.1","esbuild":"^0.19","express":"^4.18.2","nodemon":"^3.0.3","ts-jest":"^29.1.1","ts-node":"^10","typescript":"^5","@types/node":"^20","npm-run-all":"^4","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/cartesify-backend_0.1.0_1708108071191_0.36653643083659704","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@calindra/cartesify-backend","version":"0.1.1","keywords":["cartesi"],"license":"MIT","_id":"@calindra/cartesify-backend@0.1.1","maintainers":[{"name":"zupodaniel","email":"zupo.daniel@gmail.com"},{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},{"name":"services_calindra","email":"contato@calindra.com.br"}],"dist":{"shasum":"cc3e48da988a912625153fedf438d54243ec954a","tarball":"https://registry.npmjs.org/@calindra/cartesify-backend/-/cartesify-backend-0.1.1.tgz","fileCount":11,"integrity":"sha512-4u4+UPyPaLUcZhN3Apt2LiQaCfq+xtnmiFMZE8VzZEvxqL60XUuG/YXchCQbEuxRxniYUmAsaChm5EAfLmiU0w==","signatures":[{"sig":"MEUCIH4rVlhU2v3o6U2p36yAMTjDZFWEfCPC852fxk0GyCWxAiEA/IZolbKnF6pJu/GI+CkeYG0AMc2bCPY0r4ZacN8pESM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37400},"main":"src/index.js","source":"src/index.ts","gitHead":"517edfc1f3f2116ccdf46d4f195375323a418114","scripts":{"dev":"nodemon src/app.js","build":"parcel build","start":"ROLLUP_HTTP_SERVER_URL=\"http://127.0.0.1:8080/rollup\" ts-node src/index.ts","codegen":"ts-node schema.ts","compile":"tsc && esbuild ./src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node20","build:clean":"rm -rf .parcel-cache && rm src/index.js src/index.js.map calindra-cartesify-*.tgz"},"_npmUser":{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},"_npmVersion":"10.2.4","description":"TypeScript DApp","directories":{},"_nodeVersion":"20.11.1","dependencies":{"viem":"^1","axios":"^1.6.5","@deroll/app":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"parcel":"^2.10.1","esbuild":"^0.19","express":"^4.18.2","nodemon":"^3.0.3","ts-jest":"^29.1.1","ts-node":"^10","typescript":"^5","@types/node":"^20","npm-run-all":"^4","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/cartesify-backend_0.1.1_1709127978626_0.049804360136864956","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@calindra/cartesify-backend","version":"0.1.2","keywords":["cartesi"],"license":"MIT","_id":"@calindra/cartesify-backend@0.1.2","maintainers":[{"name":"zupodaniel","email":"zupo.daniel@gmail.com"},{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},{"name":"services_calindra","email":"contato@calindra.com.br"}],"dist":{"shasum":"bb75afb7d1083fa36000f4761ba46b656306635c","tarball":"https://registry.npmjs.org/@calindra/cartesify-backend/-/cartesify-backend-0.1.2.tgz","fileCount":12,"integrity":"sha512-r82SkJWFf296lJSeT7kpVrn0j+RCBP3sNbTnIG8ZUqFWnm8v9i+ygaEZV8PeT7zVf0Js+jGZjdzD+YV27hazpQ==","signatures":[{"sig":"MEUCIQCl4p6ulXcZMDRPa3zTAvVmCTDMQDsV/NfZ7afef9LADAIgAb3E8JPfvJnb1W0Plh2vAfLpMiiT/hJV97g7q6AimjM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44845},"main":"src/index.js","source":"src/index.ts","gitHead":"9290b163f9afea2619e3aed11a0d70fb3c77b483","scripts":{"dev":"nodemon src/app.js","test":"jest","build":"parcel build","start":"ROLLUP_HTTP_SERVER_URL=\"http://127.0.0.1:8080/rollup\" ts-node src/index.ts","codegen":"ts-node schema.ts","compile":"tsc && esbuild ./src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node20","build:clean":"rm -rf .parcel-cache && rm src/index.js src/index.js.map calindra-cartesify-*.tgz"},"_npmUser":{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},"_npmVersion":"10.2.4","description":"TypeScript DApp","directories":{},"_nodeVersion":"20.11.1","dependencies":{"viem":"^1","axios":"^1.6.5","@deroll/app":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","parcel":"^2.10.1","esbuild":"^0.19","express":"^4.18.2","nodemon":"^3.0.3","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5","@types/node":"^20","npm-run-all":"^4","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/cartesify-backend_0.1.2_1710180862118_0.8895683724429577","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@calindra/cartesify-backend","version":"1.0.0","keywords":["cartesi"],"license":"MIT","_id":"@calindra/cartesify-backend@1.0.0","maintainers":[{"name":"zupodaniel","email":"zupo.daniel@gmail.com"},{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},{"name":"services_calindra","email":"contato@calindra.com.br"}],"dist":{"shasum":"a2da8b9257647bd6071bfb6e41663bedaa895f9c","tarball":"https://registry.npmjs.org/@calindra/cartesify-backend/-/cartesify-backend-1.0.0.tgz","fileCount":12,"integrity":"sha512-h4Wm7+45ZDkntiF0WdqZYLFHJcaJurcXyP2+wL3+naa+5wMhKuTopU0N7IwPattlhgy9xXc2eHp3hi2GYzn3wA==","signatures":[{"sig":"MEUCIHpDGl1x4ysJJS0hZhIi8oqXt16KfMy2eLFgbqceO0ZIAiEA6KfLlIy9u51C57+5BctaMoOPAKTFdeXWI+fujOt2fEI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44879},"main":"src/index.js","source":"src/index.ts","gitHead":"bac642da711689b4b1f95ea397bf65308730789d","scripts":{"dev":"nodemon src/app.js","test":"jest","build":"parcel build","start":"ROLLUP_HTTP_SERVER_URL=\"http://127.0.0.1:8080/rollup\" ts-node src/index.ts","codegen":"ts-node schema.ts","compile":"tsc && esbuild ./src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node20","build:clean":"rm -rf .parcel-cache && rm src/index.js src/index.js.map calindra-cartesify-*.tgz"},"_npmUser":{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},"_npmVersion":"10.5.0","description":"TypeScript DApp","directories":{},"_nodeVersion":"20.12.2","dependencies":{"viem":"^1","axios":"^1.6.5","@deroll/app":"^0.6.0","@deroll/core":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","parcel":"^2.10.1","esbuild":"^0.19","express":"^4.18.2","nodemon":"^3.0.3","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5","@types/node":"^20","npm-run-all":"^4","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/cartesify-backend_1.0.0_1714663105008_0.6487806484046323","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@calindra/cartesify-backend","version":"1.0.1","keywords":["cartesi"],"license":"MIT","_id":"@calindra/cartesify-backend@1.0.1","maintainers":[{"name":"zupodaniel","email":"zupo.daniel@gmail.com"},{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},{"name":"services_calindra","email":"contato@calindra.com.br"}],"dist":{"shasum":"9037f2165f70d1a38c084a8e1d63c0c58dfea557","tarball":"https://registry.npmjs.org/@calindra/cartesify-backend/-/cartesify-backend-1.0.1.tgz","fileCount":12,"integrity":"sha512-7z/iBN4FXN9bLmDiXpHJYsrbKexIQd781QsEUtpAM8h4vdy4bqSxjonm6os9dTMv3mpx6RjJ4azgRT3nTy0qLA==","signatures":[{"sig":"MEUCIQDJFhk4PeaBpqu7u9Yzkc29ihUP7XMA4K+eO76rJmykAwIgNDQCNWezSy5R9cP6RhQ3+aLjtU6W30Yj6dq8xodoA5g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44879},"main":"src/index.js","source":"src/index.ts","gitHead":"35b7cbe1164ebeaea69a79970e7978d47fe6e0c9","scripts":{"dev":"nodemon src/app.js","test":"jest","build":"parcel build","start":"ROLLUP_HTTP_SERVER_URL=\"http://127.0.0.1:8080/rollup\" ts-node src/index.ts","codegen":"ts-node schema.ts","compile":"tsc && esbuild ./src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node20","build:clean":"rm -rf .parcel-cache && rm src/index.js src/index.js.map calindra-cartesify-*.tgz"},"_npmUser":{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},"_npmVersion":"10.5.0","description":"TypeScript DApp","directories":{},"_nodeVersion":"20.12.2","dependencies":{"viem":"^1","axios":"^1.6.5","@deroll/app":"^0.6.0","@deroll/core":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","parcel":"^2.10.1","esbuild":"^0.19","express":"^4.18.2","nodemon":"^3.0.3","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5","@types/node":"^20","npm-run-all":"^4","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/cartesify-backend_1.0.1_1714676901488_0.9411713036359048","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@calindra/cartesify-backend","version":"1.0.2","description":"TypeScript DApp","source":"src/index.ts","main":"src/index.js","dependencies":{"@deroll/app":"^0.6.0","@deroll/core":"^0.1.0","axios":"^1.6.5","viem":"^1"},"devDependencies":{"@types/express":"^4.17.21","@types/node":"^20","esbuild":"^0.19","express":"^4.18.2","jest":"^29.7.0","npm-run-all":"^4","parcel":"^2.10.1","ts-jest":"^29.1.2","ts-node":"^10.9.2","typescript":"^5"},"scripts":{"test":"jest","build":"parcel build","build:clean":"rm -rf .parcel-cache && rm src/index.js src/index.js.map calindra-cartesify-*.tgz","codegen":"ts-node schema.ts","compile":"tsc && esbuild ./src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node20","start":"ROLLUP_HTTP_SERVER_URL=\"http://127.0.0.1:8080/rollup\" ts-node src/index.ts","dev":"node --watch src/app.js"},"keywords":["cartesi"],"license":"MIT","_id":"@calindra/cartesify-backend@1.0.2","gitHead":"bce9c93af72dd2a61bc7941340251e8d2a70306c","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-J0OcfxFT4orLIiWSyJ/LiuwK2wGcncBxCyNfbpt9CNBl24+NbvuJEVf/xBXUCyQNg3/kYUDCwTAaB1UX0/MMkA==","shasum":"903a20536caea111abace03df151a80c79bc880e","tarball":"https://registry.npmjs.org/@calindra/cartesify-backend/-/cartesify-backend-1.0.2.tgz","fileCount":15,"unpackedSize":46985,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsPI/Pir6dJ/okikTFClxB/N8y42MaOkSpwWOOG/xKsQIgBpE3RquvGJT9pubL3zh/uDnOAnONbRv2p6tDvirLK74="}]},"_npmUser":{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},"directories":{},"maintainers":[{"name":"services_calindra","email":"contato@calindra.com.br"},{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},{"name":"zupodaniel","email":"zupo.daniel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cartesify-backend_1.0.2_1732917264506_0.03349143172030988"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-16T18:27:51.064Z","modified":"2024-11-29T21:54:24.891Z","0.1.0":"2024-02-16T18:27:51.365Z","0.1.1":"2024-02-28T13:46:18.786Z","0.1.2":"2024-03-11T18:14:22.278Z","1.0.0":"2024-05-02T15:18:25.163Z","1.0.1":"2024-05-02T19:08:21.680Z","1.0.2":"2024-11-29T21:54:24.681Z"},"license":"MIT","keywords":["cartesi"],"description":"TypeScript DApp","maintainers":[{"name":"services_calindra","email":"contato@calindra.com.br"},{"name":"fabio.oshiro","email":"fabio.oshiro@gmail.com"},{"name":"zupodaniel","email":"zupo.daniel@gmail.com"}],"readme":"# Cartesify Backend\n\nThis package is intended to be used with [@calindra/cartesify](https://www.npmjs.com/package/@calindra/cartesify).\n\n\n```js\n// Cartesify REST bridge\nconst { CartesifyBackend } = require(\"@calindra/cartesify-backend\")\n\nCartesifyBackend.createDapp().then(dapp => {\n    dapp.start().catch((e) => {\n        console.error(e);\n        process.exit(1);\n    });\n});\n\n// Normal nodejs application using express\nconst express = require(\"express\");\n\nconst app = express();\nconst port = 8383;\n\napp.use(express.json());\n\napp.post(\"/your-endpoint\", (req, res) => {\n    const senderAddress = req.header(\"x-msg_sender\");\n    res.send({ some: \"response\", senderAddress });\n});\n\napp.listen(port, () => {\n    console.log(`[server]: Server is running at http://localhost:${port}`);\n});\n```","readmeFilename":"README.md"}