Scan the QRCode below with your Talao or Altme wallet wallet only.
QRcode = https://talao.co/sandbox/wallet_credential/5cd06b22-958a-11ee-a914-0a1628958560
Credential Offer content
{
"type": "CredentialOffer",
"credentialPreview": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
{
"MembershipCard_1": {
"@id": "https://github.com/TalaoDAO/context#membershipcard_1",
"@context": {
"@version": 1.1,
"@protected": true,
"schema": "https://schema.org/",
"id": "@id",
"type": "@type",
"ageOver": "schema:ageRange",
"addressCountry": "schema:addressCountry",
"associatedAddress": {
"@id": "https://schema.org/address",
"@context": {
"@protected": true,
"blockchainTezos": "https://schema.org/account"
}
},
"offers": {
"@id": "schema:offer",
"@context": {
"@version": 1.1,
"@protected": true,
"duration": "schema:duration",
"analytics": "schema:website",
"userGuide": "schema:about",
"benefit": {
"@id": "https://github.com/TalaoDAO/context#benefit",
"@context": {
"@version": 1.1,
"@protected": true,
"discount": "schema:discount"
}
},
"offeredBy": {
"@id": "schema:offeredBy",
"@context": {
"@version": 1.1,
"@protected": true,
"website": "schema:website",
"name": "schema:legalName"
}
}
}
},
"issuedBy": {
"@id": "schema:issuedBy",
"@context": {
"@version": 1.1,
"@protected": true,
"name": "schema:legalName"
}
}
}
}
}
],
"id": "urn:uuid:5cd05b3a-958a-11ee-a05c-0a1628958560",
"type": [
"VerifiableCredential",
"MembershipCard_1"
],
"issuer": "did:tz:tz1NyjrTUNxDpPaqNZ84ipGELAcTWYg6s5Du",
"credentialSubject": {
"id": "did:...",
"type": "MembershipCard_1",
"ageOver": "",
"addressCountry": "",
"associatedAddress": {
"blockchainTezos": ""
},
"offers": {
"duration": "365",
"analytics": "",
"userGuide": "https://altme.io/#steps-03-575161",
"benefit": {
"discount": "25%"
},
"offeredBy": {
"name": "GifGames",
"website": "https://tezotopia.com"
}
},
"issuedBy": {
"name": "Altme"
}
},
"issuanceDate": "2023-12-08T05:26:39.024789Z",
"expirationDate": "2024-12-07T05:26:39.024802Z"
},
"expires": "2023-12-08T05:36:39Z",
"credential_manifest": {
"id": "memebership_car_tezotopia",
"issuer": {
"id": "",
"name": "Talao Tezotopia issuer"
},
"output_descriptors": [
{
"id": "voucher_01",
"schema": "https://github.com/TalaoDAO/wallet-tools/blob/main/test/CredentialOffer2/MembershipCard_1.jsonld",
"display": {
"description": {
"path": [],
"schema": {
"type": "string"
},
"fallback": "During the next 365 days, when you buy something on Tezotopia, you will receive a cash back immediately. Altme cannot directly connect to Tezotopia to buy assets (for now). We recommend using a robust wallet (like Temple, Kukai, Naan...). Please, use the same account as the one associated to this voucher card to buy your assets on Tezotopia."
},
"properties": [
{
"path": [
"$.credentialSubject.offers.benefit.discount"
],
"schema": {
"type": "string"
},
"fallback": "Unknown",
"label": "Reward"
},
{
"path": [],
"schema": {
"type": "string"
},
"fallback": "Tezotopia",
"label": "Game"
},
{
"path": [
"$.credentialSubject.offers.offeredBy.website"
],
"schema": {
"type": "string",
"format": "uri"
},
"fallback": "Unknown",
"label": "Website"
},
{
"path": [
"$.credentialSubject.offers.userGuide"
],
"schema": {
"type": "string",
"format": "uri"
},
"fallback": "Unknown",
"label": "User guide"
},
{
"path": [
"$.expirationDate"
],
"schema": {
"type": "string",
"format": "date"
},
"fallback": "Unknown",
"label": "Expiration date"
}
]
}
}
],
"presentation_definition": {
"id": "32f54163-7166-48f1-93d8-ff217bdb0653",
"input_descriptors": [
{
"id": "Associated_address_input",
"purpose": "Select your Tezos associated wallet",
"constraints": {
"fields": [
{
"path": [
"$.type"
],
"filter": {
"type": "string",
"pattern": "TezosAssociatedAddress"
}
}
]
}
}
]
}
}
}