In the Merkle Proof 2017 schema definition, the chain
string can be one of the values defined here:
## MerkleProof2017 schema
An extension that allows an issuer to issue an Open Badge on the blockchain and provide proof of inclusion in a blockchain transaction. This uses [Merkle Proof Signature Suite 2017](https://w3c-dvcg.github.io/lds-merkleproof2017/)
This signature scheme is used along with the OBI verification extension type `MerkleProofVerification2017`.
The schema defines the following properties:
### `type` (JsonLdType, required)
### `merkleRoot` (string, required)
### `targetHash` (string, required)
### `proof` (array, required)
The object is an array with all elements of the type `object`.
The array object has the following properties:
This file has been truncated. show original
The question is, what chain does ethereumTestnet refers to?
There are multiple Ethereum testnets like Ropsten (already has a chain value called ethereumRopsten
), Rinkeby, Goerli…
PD1: The reference verification library does not use this chain value in their blockchains.js
definitions
export const TRANSACTION_TEMPLATE_ID_PLACEHOLDER = '{TRANSACTION_ID}';
export const BLOCKCHAINS = {
bitcoin: {
code: 'bitcoin',
name: 'Bitcoin',
prefixes: ['6a20', 'OP_RETURN '],
signatureValue: 'bitcoinMainnet',
transactionTemplates: {
full: `https://blockchain.info/tx/${TRANSACTION_TEMPLATE_ID_PLACEHOLDER}`,
raw: `https://blockchain.info/rawtx/${TRANSACTION_TEMPLATE_ID_PLACEHOLDER}`
}
},
ethmain: {
code: 'ethmain',
name: 'Ethereum',
prefixes: ['0x'],
signatureValue: 'ethereumMainnet',
transactionTemplates: {
full: `https://etherscan.io/tx/${TRANSACTION_TEMPLATE_ID_PLACEHOLDER}`,
This file has been truncated. show original
PD2: Ask it here because the repository in GitHub has no issues section.
Thanks!
Thanks @davidlj_btca , I think you’re right, there’s not really an ethereum testnet, there’s specific testnet implementations such as Ropsten which, like you said, is already identified.
I guess we should just remove it from that spec then?
1 Like
Perfect, created a PR in the spec then