Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Javascript SDK

In this section, we explore the Sol Cerberus JavaScript library, a powerful tool that facilitates the interaction with the Sol Cerberus on-chain program. The library provides functions that allow you to manage your Sol Cerberus app, including:

  • Creating a Sol Cerberus app
  • Updating a Sol Cerberus app
  • Deleting a Sol Cerberus app

Additionally, it enables efficient role and permission management. You’ll learn how to:

  • Assign roles
  • Delete assigned roles
  • Create rules
  • Delete rules
  • Fetch roles
  • Fetch rules

Finally, we’ll demonstrate how to utilize the library’s functionality to validate if a user is authorized to perform specific actions. The presented coding examples will guide you through each of these operations, simplifying your development experience with Sol Cerberus.

Table of contents