Prerequisites
- ENS Name Activation: Your ENS name must be activated and listed on the Namespace platform
- Node.js: Version 16 or higher
- Git: For cloning the repository
Getting Started
1
Activate ENS Name
To enable subname registrations through your custom website, you first need to activate your ENS name(s). Once activated, others will be able to mint subnames from them.
How-to Activate ENS Name
See the step-by-step guide on how to activate an ENS Name.
2
Clone the Repository
Clone the white label starter kit repository:
3
Install Dependencies
Install the required dependencies:
4
Configure Environment
Create a
.env file in the project root with your configuration:5
Start Development
Start the development server:Your website will be available at
http://localhost:5173Customization
Theme Customization
The easiest way to customize your website’s appearance is through thetheme.json file. This file contains design variables that control colors, backgrounds, and visual elements.
Default ENS Avatar
You can configure a default avatar for newly minted subnames. This can be your company logo or any image that represents your brand. Users can change this after minting.Custom Records
Configure custom text records and address records for your subnames:- Text Records: Add custom metadata like website URLs, social media handles, or descriptions
- Address Records: Set default wallet addresses for different chains
MintForm.tsx component located at /packages/subname-minting-website-template/src/components/MintForm.tsx.
The records are configured in the mintParameters function call:
MintForm.tsx
addresses and texts objects to set your desired default records for newly minted subnames.
Deployment
Once you’re satisfied with your customizations, build and deploy your website:dist folder containing your production-ready website that you can deploy to any static hosting service like Vercel, Netlify, or GitHub Pages.
Examples
See these live examples of customized Subpages:- OP Punks: oppunk.namespace.ninja
- PizzaDAO: pizzadao.namespace.ninja
- SheFi: shefi.namespace.ninja
Get Started
Subpages GitHub
Launch your subname minting website in 5 minutes

