dacadeorg / dacade-webapp

2 stars 2 forks source link

Improvements for onchain certificates #201

Open moritzfelipe opened 1 year ago

moritzfelipe commented 1 year ago

Image

Remove: Contract, Token id and Ipfs metadata Rename "Mint tx" to "Transaction"

moritzfelipe commented 1 year ago
{
    "name": "Celo Development 101 Badge",
    "description": "Badge for the successful completion of the Celo Development 101 course on Dacade.org.",
    "image": "link_to_ipfs_image",
    "openBadge": {
        "@context": [
          "https://www.w3.org/2018/credentials/v1",
          "https://purl.imsglobal.org/spec/ob/v3p0/context.json"
        ],
        "id": "add_url_with_reference_to_credential",
        "type": "OpenBadgeCredential",
        "issuer": {
          "id": "add_url_with_profile_file",
          "type": "Profile",
          "name": "Dacade",
          "url": "https://dacade.org",
          "description": "Peer to peer learning - Dacade makes learning multiplayer",
          "otherIdentifier": [
            {
              "type": "IdentifierEntry",
              "identifier": "0xf5190e70516f7e75387361aaf4d4743071b4d569",
              "identifierType": "ext:celoAddress"
            }
          ]
        },
        "issuanceDate": "2021-09-07T02:09:59+02:00",
        "name": "Celo Development 101 Badge",
        "credentialSubject": {
          "id": "https://staging-dacade.netlify.app/communities/celo/courses/celo-101/challenges/bc23ba16-840e-4903-a088-9208c50af95f",
          "type": "AchievementSubject",
          "achievement": {
            "id": "https://staging-dacade.netlify.app/communities/celo/courses/celo-101/challenges/bc23ba16-840e-4903-a088-9208c50af95f",
            "type": "Achievement",
            "criteria": {
              "narrative": "Receivers of the achievement have build their own Celo Dapp based on what they learned in the learning modules of the adjoined course."
            },
            "description": "This badge recognizes that its receiver has successfully completed the Celo Development 101 challenge.",
            "name": "Celo Development 101 Achievement"
          },
          "identifier": [
            {
              "type": "IdentityObject",
              "identityHash": "moritzfelipe",
              "identityType": "userName",
              "hashed": false
            },
            {
              "type": "IdentityObject",
              "identifier": "0xA67f1762526879A13B9Adc3E749640A9E9362FD2",
              "identifierType": "ext:celoAddress",
              "hashed": false
            }
          ]
        },
        "evidence": {
          "id": "https://staging-dacade.netlify.app/submissions/61280744-c91f-498f-9a3b-b7d0c5790929",
          "type": "Evidence",
          "name": "Code submission for Celo Development 101",
          "narrative": "Awesome Submission! Really great idea and a very nice and extensive implementation. You really went the extra mile! One little bug that I noticed, the notification always says the challenger loses even if not true. But otherwise awesome submission!",
          "description": "Link to the submission on Dacade.org"
        }
      }
}
moritzfelipe commented 1 year ago

Add image data:

    "image": {
      "id": "link_to_ipfs_image",
      "type": "Image",
      "caption": "Image for Celo Development 101 Badge"
    },

Image