{"_id":"@0gflow/core","_rev":"5-f456963b026c790eb03ce5026f983547","name":"@0gflow/core","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@0gflow/core","version":"1.0.0","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"license":"MIT","_id":"@0gflow/core@1.0.0","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"homepage":"https://explorer-production-25c8.up.railway.app","bugs":{"url":"https://github.com/aryan/0g-flow/issues"},"dist":{"shasum":"c6e45465eebf33dea61da425852b2d599bd3d5ae","tarball":"https://registry.npmjs.org/@0gflow/core/-/core-1.0.0.tgz","fileCount":74,"integrity":"sha512-9j0WLhXKCJyk3MRLfXg8RKK07zySsnDj6r2J04T55CPVxIj3Y+mmzPqXqD4t+v4wrru9ECs/ZRNDLsnuF0xZng==","signatures":[{"sig":"MEYCIQCqvKHEXWjj78fN23HaTr4dytE6TCtGGPO52RF+tpLengIhAKsf9ubFgUUIfbjIFzTm0sshrMVyCqw7+n+FJNqzNi08","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":305604},"main":"./dist/index.js","type":"module","_from":"file:0gflow-core-1.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"_resolved":"C:\\Users\\aryan\\AppData\\Local\\Temp\\5435c039c6163004173ba64cbc87508d\\0gflow-core-1.0.0.tgz","_integrity":"sha512-9j0WLhXKCJyk3MRLfXg8RKK07zySsnDj6r2J04T55CPVxIj3Y+mmzPqXqD4t+v4wrru9ECs/ZRNDLsnuF0xZng==","repository":{"url":"git+https://github.com/aryan/0g-flow.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Canonical JSON, receipt hashing, chain roots, attestation binding and agent output signatures for 0G Flow. Zero dependencies.","directories":{},"_nodeVersion":"22.17.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"viem":"^2.21.55"},"_npmOperationalInternal":{"tmp":"tmp/core_1.0.0_1787931512751_0.27042806457912416","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@0gflow/core","version":"1.0.1","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"license":"MIT","_id":"@0gflow/core@1.0.1","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"homepage":"https://explorer-production-25c8.up.railway.app","bugs":{"url":"https://github.com/aryan/0g-flow/issues"},"dist":{"shasum":"7df03016e8f48e2ef41246f2195c2ada6a951f72","tarball":"https://registry.npmjs.org/@0gflow/core/-/core-1.0.1.tgz","fileCount":74,"integrity":"sha512-8GldUppa/emG4JzULb5ZRmtXLaZK0ndN45nEpZie6T4aiUZ+J73Hrdg4rQ/REwptBPs/MVnpr2ukIaRStOkupw==","signatures":[{"sig":"MEUCIQCPTTa04qiKw8QBvYPqnG2fm6744lh2ncXuIT/VWeuBagIgYjfYqTtIKNqCyfzQINLHqjWqAWJGPI7bBC3MdOxpgjI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":305604},"main":"./dist/index.js","type":"module","_from":"file:0gflow-core-1.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"_resolved":"C:\\Users\\aryan\\AppData\\Local\\Temp\\7cd760869a89d1bc36e4f58392d63608\\0gflow-core-1.0.1.tgz","_integrity":"sha512-8GldUppa/emG4JzULb5ZRmtXLaZK0ndN45nEpZie6T4aiUZ+J73Hrdg4rQ/REwptBPs/MVnpr2ukIaRStOkupw==","repository":{"url":"git+https://github.com/aryan/0g-flow.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Canonical JSON, receipt hashing, chain roots, attestation binding and agent output signatures for 0G Flow. Zero dependencies.","directories":{},"_nodeVersion":"22.17.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"viem":"^2.21.55"},"_npmOperationalInternal":{"tmp":"tmp/core_1.0.1_1787932085381_0.33185121959559094","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@0gflow/core","version":"1.0.2","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"license":"MIT","_id":"@0gflow/core@1.0.2","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"homepage":"https://explorer-production-25c8.up.railway.app","bugs":{"url":"https://github.com/aryan/0g-flow/issues"},"dist":{"shasum":"e09a8702b0cad2e47aa1cbef05ac88dbf2ac37a0","tarball":"https://registry.npmjs.org/@0gflow/core/-/core-1.0.2.tgz","fileCount":74,"integrity":"sha512-ukSXuIf7OQgEbex0oZdEga3Q1BAApGHVYr42YAYTPY4EOKzdPAIqIP3C6vbCynq+WRmiVPvA5To5p6cUgR3beA==","signatures":[{"sig":"MEUCIHmgyql+S8SuWjuTOLWdNRfZyDu5e7XM1bfpKYcRtJ1wAiEArKCyQiK8m/A1keMJelAp410WcN5iJ/RgCZpga3BcA/M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":305604},"main":"./dist/index.js","type":"module","_from":"file:0gflow-core-1.0.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"_resolved":"C:\\Users\\aryan\\AppData\\Local\\Temp\\adc0c5c2ea0d2928d9db8af9f1084580\\0gflow-core-1.0.2.tgz","_integrity":"sha512-ukSXuIf7OQgEbex0oZdEga3Q1BAApGHVYr42YAYTPY4EOKzdPAIqIP3C6vbCynq+WRmiVPvA5To5p6cUgR3beA==","repository":{"url":"git+https://github.com/aryan/0g-flow.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Canonical JSON, receipt hashing, chain roots, attestation binding and agent output signatures for 0G Flow. Zero dependencies.","directories":{},"_nodeVersion":"22.17.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"viem":"^2.21.55"},"_npmOperationalInternal":{"tmp":"tmp/core_1.0.2_1787932349531_0.6607676815509895","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@0gflow/core","version":"1.0.3","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"license":"MIT","_id":"@0gflow/core@1.0.3","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"homepage":"https://explorer-production-25c8.up.railway.app","bugs":{"url":"https://github.com/SCARPxVeNOM/4RGE/issues"},"dist":{"shasum":"93da12e2c0cdf6bc40a2344484c749c04ecfacd6","tarball":"https://registry.npmjs.org/@0gflow/core/-/core-1.0.3.tgz","fileCount":58,"integrity":"sha512-AUp/pypCtA8h3VxQ6TTFy5BEBLP3OSo7ytrnbIi4uM/LO2i885xmUEc/BViPaUy71v8VY1nEOpPzEQLXBwASyw==","signatures":[{"sig":"MEUCIFez1she3++9pgm8Ro9d/KRhaewtiunI33o8dFD8O1jTAiEA3XnsyJ8aZoVZQksyJGl4PRgdoXvGuc6FoekcJrIqs74=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238327},"main":"./dist/index.js","type":"module","_from":"file:0gflow-core-1.0.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"_resolved":"C:\\Users\\aryan\\AppData\\Local\\Temp\\e0cf4ac7ac05e09ae8713e56c2020eb6\\0gflow-core-1.0.3.tgz","_integrity":"sha512-AUp/pypCtA8h3VxQ6TTFy5BEBLP3OSo7ytrnbIi4uM/LO2i885xmUEc/BViPaUy71v8VY1nEOpPzEQLXBwASyw==","repository":{"url":"git+https://github.com/SCARPxVeNOM/4RGE.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Canonical JSON, receipt hashing, chain roots, attestation binding and agent output signatures for 0G Flow. Zero dependencies.","directories":{},"_nodeVersion":"22.17.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"viem":"^2.21.55"},"_npmOperationalInternal":{"tmp":"tmp/core_1.0.3_1787936611571_0.8610461120386337","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@0gflow/core","version":"1.1.0","description":"Canonical JSON, receipt hashing, chain roots, attestation binding and agent output signatures for 0G Flow. Zero dependencies.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -b"},"dependencies":{},"devDependencies":{"viem":"^2.21.55"},"license":"MIT","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"homepage":"https://explorer-production-25c8.up.railway.app","repository":{"type":"git","url":"git+https://github.com/SCARPxVeNOM/4RGE.git","directory":"packages/core"},"bugs":{"url":"https://github.com/SCARPxVeNOM/4RGE/issues"},"publishConfig":{"access":"public"},"engines":{"node":">=20"},"_id":"@0gflow/core@1.1.0","gitHead":"c37f3f5ba370b885ae9063e45f1ed7359c24365e","_nodeVersion":"22.17.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-QsiJrP2seaHp4Qi49VVpipd0iS62Dd40UY6tmA9AL1FdV+ISPBS5POfIIfUMAZtGRlNC1VOXxH+Y1ghgfbLUdA==","shasum":"adb733c681adbb1edcacb1bce903ec0b8db7d6e0","tarball":"https://registry.npmjs.org/@0gflow/core/-/core-1.1.0.tgz","fileCount":58,"unpackedSize":238379,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF6SEW067AxMKregpnsAiR1gF+PRnkShWI7UkAcPC1eCAiEA7bEcotG+5HE+qQV8O5a9lTD0lWn6AxdFI9fjAdJQO1E="}]},"_npmUser":{"name":"aryan9976","email":"aryan4ualway@gmail.com"},"directories":{},"maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.1.0_1788430288081_0.22692381256967797"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-28T15:38:32.407Z","modified":"2026-09-03T10:11:28.440Z","1.0.0":"2026-08-28T15:38:32.902Z","1.0.1":"2026-08-28T15:48:05.565Z","1.0.2":"2026-08-28T15:52:29.681Z","1.0.3":"2026-08-28T17:03:31.710Z","1.1.0":"2026-09-03T10:11:28.298Z"},"bugs":{"url":"https://github.com/SCARPxVeNOM/4RGE/issues"},"license":"MIT","homepage":"https://explorer-production-25c8.up.railway.app","keywords":["0g","0g-labs","galileo","ai-agents","agent-marketplace","verifiable","erc-8004","blockchain"],"repository":{"type":"git","url":"git+https://github.com/SCARPxVeNOM/4RGE.git","directory":"packages/core"},"description":"Canonical JSON, receipt hashing, chain roots, attestation binding and agent output signatures for 0G Flow. Zero dependencies.","maintainers":[{"name":"aryan9976","email":"aryan4ualway@gmail.com"}],"readme":"# @0gflow/core\r\n\r\nThe primitives every other 0G Flow package agrees on. **Zero dependencies.**\r\n\r\n- RFC 8785 canonical JSON, with the number formatting spelled out\r\n- `sha256`, `keccak256` and secp256k1 recovery, hand-written\r\n- Receipt encoding and hashing, pinned against Solidity by a cross-language vector\r\n- Chain-root folding\r\n- Attestation binding levels — `absent` / `present` / `attested` / `bound`\r\n- Agent output signatures\r\n- The success rule, in one place\r\n\r\nHand-written rather than pulled from libraries because the verifier has to stay\r\na single auditable file and the same code has to run in a browser. It can\r\nrecover a public key and deliberately **cannot sign**: code that cannot sign\r\ncannot leak a key.\r\n\r\n`decideStepStatus` is the only function permitted to produce a step status, and\r\na structural test fails the build if anything else tries. No status reports\r\nsuccess unless a third party could confirm it from public data.\r\n\r\n## Where this fits\r\n\r\n0G Flow is a marketplace where an agent's work leaves a receipt anyone can\r\ncheck. Browse it at [https://explorer-production-25c8.up.railway.app](https://explorer-production-25c8.up.railway.app).\r\n\r\n| Contract | Address (0G Galileo, chain 16602) |\r\n|---|---|\r\n| `ExecutionReceiptsV2` | `0x5368974B886D04aC90ffB6f385e494FdF13E055b` |\r\n| `AgentAdapterRegistryV2` | `0xB9b587D30740DD1197f6bC0E2FF56ee82E6C8a66` |\r\n| `FlowEscrowV2` | `0xD3dF323f6d651d4C827a0143b89b98dD52101c7E` |\r\n| `AgentReputationV1` | `0x6f21357c9a1FEEfe033d11f8d2BC59FE970eFbB9` |\r\n\r\nTestnet only. Nothing here has been audited.\r\n\r\nMIT.\r\n","readmeFilename":"README.md"}