Domain Management Using the Polis Dashboard

Domain management can be a significant issue when it comes to working with decentralized applications. Developing applications and smart contracts for Web 3.0 needs an all-in-one platform that manages all the stuff in one place, including applications and domains.
A contract associated with a decentralized application can be deployed on multiple chains. Each chain has its unique specifications, and contracts on multiple chains have different addresses. Our job is to provide a unique identifier of the contract on any number to manage multiple domains from one central place. Polis helps you achieve this feature with domain management options.
  • Dapp developers can create a unique domain and associate the domain with a smart contract that has been deployed on multiple domains.
  • The created domain can be simply updated to point to a new contract address.
  • Other smart contracts can call methods based on the created domain.
  • Users can trade domains on the domain marketplace.

Searching Global Domain

Global domains are here to help you with APIs and you can use them on the Metis Polis platform. You can use global domains to create a decentralized application using the Polis dashboard. Global domains are ready to use and provide quick deployment for decentralized apps.
Type a keyword in the search box to access the global domain you want in no time.

Creating or Editing Domains

Polis allows you to create a new domain associated with specific smart contracts. Sign up and log in to your Polis account and go to the Domain management section to create a new one.
You can create a new domain by clicking on “Create New Domains” and give the required information to manage everything in Polis. The domain name can be anything and you can set the chain ID and the contract address as well.
There is an option to edit each domain, delete the domain, and apply more settings if needed.

Managing Multiple Domains

You may have multiple dapps if you are a dapp developer. Each contract may be deployed on multiple chains and they need to be managed from a central dashboard. In this case, dapp developers can create multiple domains according to their smart contracts, chain ID, and chain names.
Here we have created 2 different domains that are linked to 2 different smart contracts. So, we have an option to edit, manage, and add more domains using the Polis dashboard.

Applications - How to Create API Keys?

Dapp developers have one more option to access a great feature on the Polis platform. You can manage applications after creating a Polis account and get an API key according to a specific domain and a deployed smart contract.

Creating New Apps

Creating new apps in the Polis environment is simple by using the “Application” section. Fill in the blanks and use your domain or a global domain to register a new application.
Note that your email is required and it’s used by users to contact you. You can use the global domain with the address of localhost.localdomain:3000 to create the application on the localhost.

How to Browse Smart Contracts Associated with Dapps?

Developers can use the “Smart Contract” section on the Polis platform to manage their smart contracts and register new ones. Here you have 2 options that you can use to register a new template or search for created templates.

Register New Templates

You need your smart contract code and some information to register a new template. Click on the “Register” icon to proceed. You can register your template in the new window by providing the template name, source code, and some other information.

Query Smart Contracts

Querying smart contracts can be done in the “Smart Contract” section. Use the “template name” box to set a name and click on the “Query” icon to proceed.
You can use the “Review Details” button to check the template’s information and customize it to deploy on a specific domain created before.