Catalog npm
Back to packageRELEASE DETAILS

0.0.0-init

npm

@0xcert/web3-transaction-queue

```ts // VERIFICATION EXAMPLE // I share an evidence file that proofs certain JSON paths (e.g. public JSON) // I have an object with just some data. // The function recreates a recipe for this partial data object and assignes is to the evidence file. // A

Published20 Nov 2018
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation
// VERIFICATION EXAMPLE
// I share an evidence file that proofs certain JSON paths (e.g. public JSON)
// I have an object with just some data.
// The function recreates a recipe for this partial data object and assignes is to the evidence file.
// At this stage we modified evidence file with data we know.
// We then calculate the imprint which must match the one stored in the token.
// NOTE: Custom fields always pass.

// WORDING
// evidence -> consists of proofs -> forms an imprint
// data object -> consists of properties (props)

// USAGE
// Define arbitrary data object.
const data = { ... };
// Define certificate with JSON schema definition.
const cert = new Cert({ schema: { ...} });
// Notarize data object (returns all proofs for whole data object).
const proofs = await cert.notarize(data);
// Expose selected data keys (returns proofs and exposed values from which an imprint can be calculated).
const proofs = await cert.disclose(exampleData, [ ...paths... ]);
// Verify data object against proofs generated with function `disclose` (if object is valid, an imprint is the right root hash).
const imprint = await cert.calculate(data, proofs);
// Generate root hash from complete data object.
const imprint = await cert.imprint(data);

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-6EVILS9dQwPHjxsYPVxvaN7K/ISc+NVNNB/BA524NbzSmyok1/K437U/iFVAwG35jTH3Ut7khihl8fk0k2mcVg==",
  "shasum": "70bf5f659b527babe33d8cbb943738901c4639f6",
  "tarball": "https://registry.npmjs.org/@0xcert/web3-transaction-queue/-/web3-transaction-queue-0.0.0-init.tgz",
  "fileCount": 16,
  "unpackedSize": 27302,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9GCKCRA9TVsSAnZWagAAfCcP/1xObKnafa3831KA+6Ct\nNgvNItXGCcnVNpecj+h0Z3ultRh6NytnaAMdvl1vENTGQ7lC7ZA4jH6xI9EI\nndevf43dsY+QZtM1heDTIs9t1OhwrwK0v2eg5FG2e4JIi3o1fYSXDOu6I7K9\nKNwXW7dEG4+nHNiRI4RSBt8cA1S4HvPHPe9RLoVdcpHRPvCdhEwM9LyNvWa/\n5S0sIusj71zT5Qmn4RFe1rYbM0EJijZ1uXcPKmukv2hwj0uQIswOHph2nPkB\nLE5+JhU8NKIydE1PO/T0cXBB+S31quM02S3fg9kZXEDS+I+NQErbgrD77d2m\nZUXLvVCoQ9bK/xU7OUwtmSxhCOl5o8CMSWVs5HKEmQs8IVqR6fyiyG1jbOOm\nnRdkdg1Eecoh2allWCadrD5T4gUEN1dAvZaQbDxy+ecghFZj7WhvqhIf2Ecw\ngNJqhZvZ6p7CJDDWPflRBSmKFsQM2f+7NrHEGb4SSpZfgdaSe36cYmqZVX3J\nj1utJjmSX/ycoz1T7yYgA4Rup9bpv4EOnL4k0weVSaL+nLq4stE8Cr3ROXB5\nSCyVjmzlEt+8z7fxRKSIfGpmdR0/TD19Wb/8N1GU4UzcrcfNxa9+0L/CvSG9\n2RETfuzIWA/WRyf9KBRlw+TawlCF1dUWXXR7JxdfsioFJ3fnKKLBhuGoB8/L\nsJaz\r\n=1EQE\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIGJ677EfJ0WVlbhF5mI1hiIRzsXWJJsiIGT7ntDnskFWAiAfAzJGf2Y6M5WbpyBY3duqpez/d/cueVbTBzUGr9qNhw=="
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:50 UTC

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

Record identity

package_version:e1018373f9aa8a26db0dea532557b46b0e7a260c5ebfb1f91c5cea4781333b5d

Other collected versions

View all collected versions →