diff --git a/components/NavBar/NavBar.tsx b/components/NavBar/NavBar.tsx index 68c52c7..375f585 100644 --- a/components/NavBar/NavBar.tsx +++ b/components/NavBar/NavBar.tsx @@ -96,6 +96,15 @@ const NavBar: React.FC = () => { ๐Ÿ“– LSP2 Encoder + + + ๐Ÿ“– LSP4 Metadata Encoder + +
diff --git a/pages/lsp4-metadata-encoder.tsx b/pages/lsp4-metadata-encoder.tsx new file mode 100644 index 0000000..48f6532 --- /dev/null +++ b/pages/lsp4-metadata-encoder.tsx @@ -0,0 +1,77 @@ +import { NextPage } from 'next'; +import { useEffect, useState } from 'react'; +import { keccak256 } from 'web3-utils'; + +const Lsp4MetadataEncoderPage: NextPage = () => { + const [images, setImages] = useState< + { + name: string; + type: string; + hash: string; + buffer: Buffer; + image?: string; + }[] + >([]); + + useEffect(() => { + console.log(images); + }, [images]); + + return ( +
+
+
+ +