Nexus cheat sheet
We created this page to make it easier for devs to navigate between all the links and resources related to Avail Nexus. Feel free to suggest any additions you think are missing.
Nexus SDK
The most convenient way to interact with the decentralized solver network powering Avail Nexus is through the Nexus SDK.
Link to the Nexus SDK Github repo:
Nexus SDK templates
Clone these repos to quickly get started with the Nexus SDK using Next JS or Vite.
You might notice that some of the code in the Next JS template has been commented out. This is because the template is being used as a base for the Nexus-core Quickstart page.
The overall Nexus SDK is split into two main packages:
Nexus-core
The headless version , for fine-grained control over the Nexus SDK.
Nexus-elements
The Nexus Elements package is a shadcn-based component library that allows devs to integrate working components that use the Nexus SDK effectively and conveniently.
Common Utils and Constants
In these files you can find a suite of helper function exposed by the SDK, as well as some constants and addresses that are used throughout the SDK.
Hooks and Events
The SDK provides several hooks for handling user interactions and progress events during transactions.
Docs
Github Links
Error Handling
The SDK uses typed errors for better error handling and debugging.