Target URL for the comment
?targetUri=https://example.com
Channel ID to select
?channelId=123
Comment content/text
?content=Great%20article!
Comma-separated format: key:value:type
?metadata=category:review:string,rating:5:uint256
Types: string, uint256, int256, address, bool, bytes, bytes32
?targetUri=https://example.com&content=Great%20article!
?targetUri=https://example.com&metadata=category:review:string,rating:5:uint256
?targetUri=https://example.com&channelId=123&content=Amazing%20content&metadata=category:review:string
const params = new URLSearchParams({
targetUri: "https://example.com",
content: "Great article!",
metadata: "category:review:string,rating:5:uint256",
});
const url = `https://share.ethcomments.xyz/?${params.toString()}`;
Open the form in development mode to build and copy share URLs