Allowed ENS Names
Default Settings: Allow All ENS Names
const justweb3Config: JustWeb3ProviderConfig = {
config: {
origin: "http://localhost:3000/",
domain: "localhost",
signInTtl: 86400000
},
allowedEns: "all", // Allows all ENS names for sign-in (default setting)
ensDomains: [
{
ensDomain: "your ens domain",
apiKey: "YOUR_API_KEY",
chainId: 1
}
],
...
};Restrict Sign-In to Subnames from the set ENS Domain
Restrict Sign-In to Specific ENS Domains and Their Subnames
Last updated