Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

keeps v6: enforce KidLisp-only metadata tags

+20 -31
+2 -4
system/netlify/functions/keep-mint.mjs
··· 922 922 // Description is the raw KidLisp source code (newlines preserved) 923 923 const description = piece.source || "A KidLisp piece preserved on Tezos"; 924 924 925 - // Build tags 926 - const tags = [`$${pieceName}`, "KidLisp", "Aesthetic.Computer"]; 927 - if (authorHandle) tags.push(`@${authorHandle.replace(/^@/, "")}`); 928 - if (userCode) tags.push(userCode); 925 + // v6 metadata policy: single canonical tag only 926 + const tags = ["KidLisp"]; 929 927 930 928 // Build attributes: Length first, then Packed on, then author info 931 929 const attributes = [
+2 -2
system/netlify/functions/keep-update.mjs
··· 272 272 // Build metadata 273 273 const tokenName = `$${pieceName}`; 274 274 const description = pieceDoc.source || `A KidLisp piece preserved on Tezos`; 275 - const tags = [`$${pieceName}`, "KidLisp", "Aesthetic.Computer"]; 276 - if (authorHandle && authorHandle !== "@anon") tags.push(authorHandle); 275 + // v6 metadata policy: single canonical tag only 276 + const tags = ["KidLisp"]; 277 277 278 278 // Build attributes (matches keep-mint.mjs field names) 279 279 const attributes = [
+10 -3
system/public/kidlisp.com/keeps.html
··· 1350 1350 <span>2.5 XTZ</span> 1351 1351 <span style="color: var(--text-tertiary);">Royalty</span> 1352 1352 <span>10% (1000 bps)</span> 1353 + <span style="color: var(--text-tertiary);">Metadata Tags</span> 1354 + <span>["KidLisp"]</span> 1353 1355 <span style="color: var(--text-tertiary);">Minting Tool</span> 1354 1356 <span><a href="https://kidlisp.com">https://kidlisp.com</a></span> 1355 1357 </div> ··· 1385 1387 </span> 1386 1388 </div> 1387 1389 <div style="margin-top: 8px; font-size: 11px; color: var(--text-tertiary);"> 1388 - Changes from v5 RC: "User Code" &rarr; "User", "Packed" &rarr; "Packed on", removed "Analyzer Version" 1390 + Changes from v5 RC: "User Code" &rarr; "User", "Packed" &rarr; "Packed on", removed "Analyzer Version", tags locked to ["KidLisp"] 1389 1391 </div> 1390 1392 </div> 1391 1393 ··· 1415 1417 <span class="v6-step-icon">&#x2714;</span> 1416 1418 <div class="v6-step-content"> 1417 1419 <div class="v6-step-title">Token Attributes Cleaned</div> 1418 - <div class="v6-step-desc">Renamed User Code &rarr; User, Packed &rarr; Packed on, removed Analyzer Version, mintingTool set to kidlisp.com</div> 1420 + <div class="v6-step-desc">Renamed User Code &rarr; User, Packed &rarr; Packed on, removed Analyzer Version, mintingTool set to kidlisp.com, tags set to ["KidLisp"] only</div> 1419 1421 </div> 1420 1422 </div> 1421 1423 ··· 1574 1576 <div class="keeps-endpoint-name v6">Minting Tool</div> 1575 1577 <div class="keeps-endpoint-desc">mintingTool updated to https://kidlisp.com (was https://aesthetic.computer)</div> 1576 1578 </div> 1579 + 1580 + <div class="keeps-endpoint"> 1581 + <div class="keeps-endpoint-name v6">Metadata Tags</div> 1582 + <div class="keeps-endpoint-desc">tags array standardized to ["KidLisp"] only</div> 1583 + </div> 1577 1584 </div> 1578 1585 1579 1586 <p style="color: var(--text-tertiary); font-size: 13px;"> ··· 1672 1679 <strong>Params:</strong> name, description, artifactUri, displayUri, thumbnailUri, decimals, symbol, isBooleanAmount, shouldPreferSymbol, formats, tags, attributes, creators, royalties, rights, content_type, content_hash, metadata_uri (all bytes), owner (address) 1673 1680 </div> 1674 1681 <div class="keeps-endpoint-desc" style="margin-top: 4px; font-style: italic;"> 1675 - Enforces unique content_hash &bull; Non-admin must mint to self &bull; Default fee: 2.5 XTZ 1682 + Enforces unique content_hash &bull; Non-admin must mint to self &bull; Default fee: 2.5 XTZ &bull; v6 tags policy: ["KidLisp"] only 1676 1683 </div> 1677 1684 </div> 1678 1685
+1 -1
tezos/keep-cli.mjs
··· 711 711 isBooleanAmount: true, 712 712 shouldPreferSymbol: false, 713 713 date: now, 714 - tags: ["kidlisp", "aesthetic-computer"], 714 + tags: ["KidLisp"], 715 715 attributes: [], 716 716 formats: [ 717 717 {
+4 -20
tezos/keeps.mjs
··· 894 894 // Description is ONLY the KidLisp source code (clean and simple) 895 895 const description = sourceCode || `A KidLisp piece preserved on Tezos`; 896 896 897 - // Build tags (include userCode if available) 898 - const tags = [ 899 - `$${pieceName}`, // The code itself as a tag 900 - 'KidLisp', // Capitalized 901 - 'Aesthetic.Computer', // Capitalized with dot 902 - 'interactive', 903 - ]; 904 - if (userCode) { 905 - tags.push(userCode); // Add permanent user code as tag 906 - } 897 + // v6 metadata policy: single canonical tag only 898 + const tags = ['KidLisp']; 907 899 908 900 // Generate and upload thumbnail to IPFS if requested 909 901 let thumbnailUri = `https://grab.aesthetic.computer/preview/400x400/$${pieceName}.png`; // HTTP fallback ··· 1110 1102 // Description is ONLY the KidLisp source code (clean and simple) 1111 1103 const description = sourceCode || `A KidLisp piece preserved on Tezos`; 1112 1104 1113 - // Build tags 1114 - const tags = [ 1115 - `$${pieceName}`, 1116 - 'KidLisp', 1117 - 'Aesthetic.Computer', 1118 - 'interactive', 1119 - ]; 1120 - if (userCode) { 1121 - tags.push(userCode); 1122 - } 1105 + // v6 metadata policy: single canonical tag only 1106 + const tags = ['KidLisp']; 1123 1107 1124 1108 // Build improved attributes 1125 1109 const attributes = [
+1 -1
tezos/test-temple-keep.mjs
··· 86 86 rights: stringToBytes(""), 87 87 shouldPreferSymbol: stringToBytes("false"), 88 88 symbol: stringToBytes(`$${cleanCode}`), 89 - tags: stringToBytes(`["kidlisp", "aesthetic-computer"]`), 89 + tags: stringToBytes(`["KidLisp"]`), 90 90 thumbnailUri: stringToBytes(`https://aesthetic.computer/$${cleanCode}/thumbnail`) 91 91 }; 92 92