Orie Steele
Orie Steele
@thehenrytsai @csuwildcat @isaacJChen Can one / all of you add examples of the JWS used by sidetree here: https://github.com/decentralized-identity/did-jose-extensions @julio-cabdu short answer is that sidetree reference implementation has fixtures like...
@julio-cabdu https://github.com/decentralized-identity/SchnorrSecp256k1Signature2019#terminology Could be years before schnorr is added to IANA.... and of course, you would need a variant for each of the key types that support schnorr.... TL;DR.... don't...
Next thing to do is make sure the test vectors are referencing in the spec.
We added test vectors here: https://github.com/transmute-industries/sidetree.js/tree/master/packages/test-vectors/src
IMO it would be better for us to return what is defined here: https://github.com/decentralized-identity/sidetree/issues/886 ``` { "genesisTime": 0, "multihashAlgorithm": 18, "hashAlgorithm": 5, "maxOperationCount": 10, "maxOperationSize": 200000, "compressionAlgorithm": "GZIP", "maxAnchorFileSize": 1000000,...
Is this a v1 issue?
For example: https://github.com/transmute-industries/sidetree.js/blob/main/packages/test-vectors/src/sidetree-universal-wallet/wallet-operation.json#L37 ^ we support controller like this.
Use real world payloads, and use comments to annotated them with necessary information.
If you see a transaction with a previously seen anchor file hash... try to do less work... reference implementation optimization.
feel free to copy from our test vectors: - https://github.com/transmute-industries/vc.js/blob/master/packages/vc.js/src/vc-jwt/__tests__/equivalence-checker.ts - https://github.com/transmute-industries/vc.js/blob/master/packages/vc.js/src/vc-ld/__tests__/equivalence-checker.ts - https://github.com/transmute-industries/did-key.js/blob/master/packages/vc-interop-tests/src/transmute.test.js