Creates a valid UsernameMetadata.
const metadata = username({ description: 'A collection of usernames',}); Copy
const metadata = username({ description: 'A collection of usernames',});
With NFT contract-level metadata:
const metadata = username({ description: 'A collection of usernames', collection: { name: 'Lens Usernames', description: 'The official lens/ usernames', }}); Copy
const metadata = username({ description: 'A collection of usernames', collection: { name: 'Lens Usernames', description: 'The official lens/ usernames', }});
Use your IDE suggestions for an enhanced development experience
Creates a valid UsernameMetadata.
With NFT contract-level metadata: