Creating Your First Resolver Instance
In this tutorial, you’ll create and test your first resolver instance in Vidos. You’ll learn how to configure the resolver, test DID resolution, and manage its operational state. By the end, you’ll have a working resolver instance that can resolve Decentralized Identifiers (DIDs) for your applications.
Prerequisites
Section titled “Prerequisites”Before you begin, make sure you have:
- A Vidos account with appropriate permissions
- Basic familiarity with DIDs (Decentralized Identifiers)
- Access to the Vidos dashboard
Step 1: Access the Resolver Management Area
Section titled “Step 1: Access the Resolver Management Area”The Vidos dashboard is your central hub for managing all resolver functionality.
- Log in to your Vidos account
- Navigate to the Resolvers section in the left sidebar
- You’ll see the resolver management page where you can view existing instances or create new ones
Step 2: Create a New Resolver Instance
Section titled “Step 2: Create a New Resolver Instance”Now you’ll create your first resolver instance that will handle DID resolution for your applications.
- On the resolvers page, click the Add button in the top-right corner
- In the creation form, enter a descriptive name for your resolver (e.g., “My-First-Resolver” or “App-Testing-Resolver”)
- Optionally configure the following settings (the default configuration works for most cases):
- DID Methods: Select which DID methods to enable (e.g., did:web, did:key)
- CORS Settings: Enable if your application will make browser-based requests
- Click Save to create your instance
Step 3: Examine the Resolver Configuration
Section titled “Step 3: Examine the Resolver Configuration”After creating your resolver, explore its configuration to understand how it’s set up.
- On the resolver list, click on the name of the resolver you just created
- The instance details page will open
- Scroll down to the Compiled Configuration section
- Examine the configuration JSON, which shows:
- Enabled DID methods
- CORS settings
- Other resolver parameters
Step 4: Test DID Resolution
Section titled “Step 4: Test DID Resolution”Now it’s time to test your resolver by resolving a DID.
- On the instance details page, select the Tester tab
- You’ll see a test form with a sample DID already entered
- Click Resolve to test the resolver with this DID
- Examine the resolution result, which should show the DID Document if successful
- Try resolving different DIDs by entering them in the input field and clicking Resolve again
Step 5: Control Resolver Instance State
Section titled “Step 5: Control Resolver Instance State”Learn how to control the operational state of your resolver instance.
- Return to the instance details page
- Notice the Stop button at the top of the page
- Click Stop to temporarily disable the resolver
- Try resolving a DID again using the diagnostic tool—you should see an error response
- Click the Start button to reactivate the resolver
- Test DID resolution again to confirm it’s working properly
Troubleshooting
Section titled “Troubleshooting”If you encounter issues during this tutorial, check the following:
- Resolution Errors: Verify that the DID you’re trying to resolve is valid and follows the correct format
- Access Issues: Ensure your account has the necessary permissions to create and manage resolvers
- CORS Problems: If integrating with a web application, confirm CORS settings are properly configured
What You’ve Learned
Section titled “What You’ve Learned”Congratulations! You’ve successfully:
- Created a Vidos Universal Resolver instance
- Explored its configuration
- Tested DID resolution
- Managed the resolver’s operational state
Next Steps
Section titled “Next Steps”To continue your journey with Vidos resolvers:
- Learn about advanced resolver configuration options