Catalog npm
Back to packageRELEASE DETAILS

1.0.2

npm

@0gflow/core

Canonical JSON, receipt hashing, chain roots, attestation binding and agent output signatures for 0G Flow. Zero dependencies.

0g0g-labsagent-marketplaceai-agentsblockchainerc-8004galileoverifiable
Published28 Aug 2026
Direct dependencies1
Transitive dependenciesNot calculated

README

Current package documentation

@0gflow/core

The primitives every other 0G Flow package agrees on. Zero dependencies.

  • RFC 8785 canonical JSON, with the number formatting spelled out
  • sha256, keccak256 and secp256k1 recovery, hand-written
  • Receipt encoding and hashing, pinned against Solidity by a cross-language vector
  • Chain-root folding
  • Attestation binding levels — absent / present / attested / bound
  • Agent output signatures
  • The success rule, in one place

Hand-written rather than pulled from libraries because the verifier has to stay a single auditable file and the same code has to run in a browser. It can recover a public key and deliberately cannot sign: code that cannot sign cannot leak a key.

decideStepStatus is the only function permitted to produce a step status, and a structural test fails the build if anything else tries. No status reports success unless a third party could confirm it from public data.

Where this fits

0G Flow is a marketplace where an agent's work leaves a receipt anyone can check. Browse it at https://explorer-production-25c8.up.railway.app.

ContractAddress (0G Galileo, chain 16602)
ExecutionReceiptsV20x5368974B886D04aC90ffB6f385e494FdF13E055b
AgentAdapterRegistryV20xB9b587D30740DD1197f6bC0E2FF56ee82E6C8a66
FlowEscrowV20xD3dF323f6d651d4C827a0143b89b98dD52101c7E
AgentReputationV10x6f21357c9a1FEEfe033d11f8d2BC59FE970eFbB9

Testnet only. Nothing here has been audited.

MIT.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
viem
Environment
{
  "local_name": "viem",
  "alias": false,
  "peer_metadata": null
}
^2.21.55development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "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
}

Repository

PENDING
aryan/0g-flow

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
scarpxvenom/4rge

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:10 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:cbd1266480c82d26d4820460a0e885d27f68c6e2f024abeaf53ce5c5fcbbd36d

Other collected versions

1.1.03 Sept1.0.328 Aug1.0.128 Aug1.0.028 AugView all collected versions →