Using Issuer Node on Mainnet
Question
How can I configure and use the Issuer Node on the Polygon mainnet?
Answer
The Issuer Node is designed to operate on EVM-compatible networks, supporting both testnets and mainnet environments. It comes pre-configured for use on the Polygon/Amoy networks, with contracts readily available for those networks. For deployment on other blockchains, you will need to manually deploy the necessary contracts.
To configure the Issuer Node for mainnet operation, adjust the following environment variables within your .env-issuer
file:
ISSUER_API_IDENTITY_NETWORK=main
ISSUER_ETHEREUM_CONTRACT_ADDRESS=0x624ce98D2d27b20b8f8d521723Df8fC4db71D79D
ISSUER_ETHEREUM_RESOLVER_PREFIX=polygon:main
ISSUER_ETHEREUM_URL={Your Polygon Mainnet RPC URL}
After configuring the .env-issuer
file, generate a new issuer DID for the mainnet environment with the command:
make generate-issuer-did
Restart your node following this setup to commence operations on the mainnet.
For additional configuration details, refer to the Issuer Node Configuration documentation.
Issuer Node can work simultaneously in different networks without changing the configuration.