This Scaffold-ETH extension introduces tools to facilitate the integration of Lukso's Universal Profiles.
useProfile- A hook to query profile dataUniversalProfile- A card component to display user's profile dataUPRainbowKitCustomConnectButton- A connect button to display user's profile name and imageUniversalProviderAddress- A component to display a connected user's profile name and imageProfileInput- A component for profile searchingSignerInput- A component for profile searching that resolves to the controller with SIGN permission
- Create a new project with Universal Profile extension:
npx create-eth@latest -e ValentineCodes/universal-profile-extension- Add
imagestopackages/nextjs/next.config.js
...
const nextConfig = {
images: {
/** Allow images from all domains
* @next/image
*/
remotePatterns: [
{
protocol: "https",
hostname: "**", // Wildcard for all hostnames
pathname: "**", // Wildcard for all paths
},
],
},
...For more detailed information and usage visit the Lukso Documentation
