Naming Configuration


By default Embark will automatically initialize EmbarkJS with the provider configured at config/namesystem.js.

Configuration basics

Embark checks your configuration in config/namesystem.js. None of them are necessary to run Embark, you need only enable those when you want to use the name system.

When using ENS ("ens") as your provider, you can set the register section to pre-register sub-domains. Feature only available in development environment.

module.exports = {
  default: {
    enabled: true,
    available_providers: ["ens"],
    provider: "ens",
    register: {
      rootDomain: "eth",
      subdomains: {
        'status': '0x1a2f3b98e434c02363f3dac3174af93c1d690914',
        'embark': '0x60ac2Df2b9ce9Ac91EADe2a5242815c3BD174823'