Skip to main content

Developer Hub

image

Developer Hub

Primus offers a Dev Hub where developers can easily configure verified internet data and utilize zkTLS capabilities across various application scenarios, such as web-based DApp and backend server.

As a developer, two main features you need to be involved with:

1. Create Data Verification Templates

We provide a streamlined process to help you quickly locate and identify the network requests required for data verification. This straightforward process enables seamless integration of verified data without the need to understand complex algorithm implementations or intricate system configurations.

By creating a Data Verification Template (“Template” for short), you can define the data source URL and the network request containing the verified data. The request URL is essential when initiating a zkTLS process.

You can create different templates to meet various application needs. When integrating with web-based DApp, you only need to configure the template ID (which can be flexibly replaced based on requirements) to complete the data verification process.

All templates you create are visible and usable only by you. However, you can also publish them to the Templates Market to support other developers.

2. Create Projects

We offer a developer-friendly integration approach that allows you to create a unique pair of appID and appSecret for each project. The appID and appSecret are used to manage and authenticate the project’s associated entities.

Please note that the appSecret is only visible once when you create the project.

We're excited to see what you'll build using our Developer Hub and the zkTLS SDK. If you need any help, feel free to contact us through our Discord Community.