Skip to content

Conversation

@emmet-bot
Copy link
Contributor

Summary

Updates the Metadata Preparation and Set LSP7 Token Metadata guides to match current patterns.

Changes

metadata-preparation.md

  • Fix JSON syntax error — missing comma between image objects in the images array
  • Add verification to icon — the icon field was missing a verification object (all other image types had it)
  • Update encodeData() to array format (current erc725.js API)

edit-token-metadata.md

  • Add multi-library tabs — ethers.js + web3.js + Hardhat (was Hardhat-only)
  • UP Browser Extension for ethers/web3 tabs (window.lukso provider)
  • Hardhat tab preserved for contract owner/deployment scenarios
  • Fix ethers.Contract instantiation — was missing new keyword
  • Fix missing LSP7Artifact import — was referenced but never imported
  • Add setDataBatch() example — was mentioned in text but never shown
  • Update description meta tag to mention ethers.js

Related to review feedback on #1318.

metadata-preparation.md:
- Fix JSON syntax error (missing comma between image objects)
- Add verification to icon (was missing)
- Update encodeData() to array format

edit-token-metadata.md:
- Add ethers.js + web3.js + Hardhat tabs (was Hardhat-only)
- Use UP Browser Extension for ethers/web3 tabs
- Fix missing LSP7Artifact import
- Fix ethers.Contract instantiation (was missing 'new')
- Add setDataBatch() example (was mentioned but not shown)
- Link to correct contract docs
- Update description meta tag
@github-actions
Copy link
Contributor

Deployed with Cloudflare Pages ☁️ 🚀 🆗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant