An overview of the Credible Layer dApp features and functionality
The Credible Layer dApp provides a comprehensive interface for managing smart contract projects and their associated assertions. It serves as the primary platform for:
The dApp’s explorer feature enables users to quickly assess a project’s security posture by viewing its linked assertions before interacting with it.
In this overview we’ll walk through the process of authenticating with the dApp, creating a project and linking assertions to it.
A local development environment with the Credible Layer CLI (pcl
) installed. If you don’t have one set up yet, you can follow the pcl quickstart guide to get started.
The dApp’s explorer feature enables users to search for and analyze projects and their associated assertions. To access the explorer and see details about projects:
To create a new project:
owner
matches the address of the account you’re using to create the project will be permitted to be linked to the project. For more details see the Ownership Verification.owner()
function on the contract and comparing the result to the address of the account you’re using to create the project.Only the owner of a contract can create a project for it. There will be additional verification methods in the future, but for now this is the only way.
When playing around and testing the demo, make sure to have an owner()
function in your contract that returns the current owner.
To link assertions to your project:
Before using the dApp, you must authenticate through the pcl
CLI:
For more details about the pcl
CLI, refer to the pcl reference.
Here’s a full video that you can consult to follow along with the process entire process from authentication to activating the assertion: