From 73a9250827ec10bfaf65c645b495c4ec2aae1175 Mon Sep 17 00:00:00 2001 From: alvrs Date: Wed, 1 Nov 2023 15:07:34 +0100 Subject: [PATCH] prettier --- .changeset/gorgeous-swans-hide.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.changeset/gorgeous-swans-hide.md b/.changeset/gorgeous-swans-hide.md index 55bee1866d..152184065c 100644 --- a/.changeset/gorgeous-swans-hide.md +++ b/.changeset/gorgeous-swans-hide.md @@ -2,12 +2,12 @@ "@latticexyz/world-modules": minor --- -Added the `ERC721Module` to `@latticexyz/world-modules`. +Added the `ERC721Module` to `@latticexyz/world-modules`. This module allows the registration of `ERC721` tokens in an existing World. Important note: this module has not been audited yet, so any production use is discouraged for now. -```solidity +````solidity import { PuppetModule } from "@latticexyz/world-modules/src/modules/puppet/PuppetModule.sol"; import { ERC721MetadataData } from "@latticexyz/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol"; import { IERC721Mintable } from "@latticexyz/world-modules/src/modules/erc721-puppet/IERC721Mintable.sol"; @@ -18,3 +18,4 @@ world.installModule(new PuppetModule(), new bytes(0)); // After the Puppet module is installed, new ERC721 tokens can be registered IERC721Mintable token = registerERC721(world, "myERC721", ERC721MetadataData({ name: "Token", symbol: "TKN", baseURI: "" }));``` +````