Skip to main content

Crate nexus_sdk

Crate nexus_sdk 

Source
Expand description

This library contains all Nexus types that are shared between different parts of Nexus. This includes the CLI, the Toolkits and the Leader node.

Re-exports§

pub use sui_transaction_builder;

Modules§

dag
DAG JSON parsing and static validation helpers for SDK and CLI authoring flows.
events
Nexus events that are fired by the Nexus workflow package and are used to communicate between the onchain and offchain parts of Nexus. This module also contains the logic for serializing and deserializing these events. Nexus event types. Queries also require the nexus feature.
execution_limits
Shared contract for HTTP Tool execution, defined by the SDK.
move_bindings
Generated Move package bindings used as the SDK’s Move ABI boundary. Generated Move package bindings.
nexus
Provides various Nexus utilities like deployment and execution of workflows. This module exports utilities for programmatic deployment and execution of workflows on Nexus. This is useful both for testing and for anyone who wants to integrate with Workflows programmatically using Rust code.
onchain_schema_gen
Move module introspection helpers for on chain tool schema generation. Schema generation utilities for Move onchain tools.
scheduler
Task authoring, scheduler results, and object backed inspection types. Canonical authoring and observation types for scheduled Tasks.
signed_http
Application layer request and response signatures for HTTP. Leader-to-Tool signed HTTP v3 transport.
sui
Reexports Sui types into something that makes more sense. This module attempts to make a little bit of sense when dealing with Sui types.
test_utils
Test utilities for Sui submission, containers, faucets, and mock services.
transactions
Transactions module contains builders for PTBs that are submitted to Sui and perform various operations on the Nexus ecosystem.
types
Nexus types represent the structure of various objects that are defined onchain. It also provides the logic for serializing and deserializing these objects.
walrus
Walrus client provides integration with the Walrus decentralized blob storage system for storing and retrieving files. Walrus client module provides integration with the Walrus decentralized blob storage system.

Macros§

fqn
Helper macro that creates a Tool FQN from a string literal. This DOES NOT perform a compile-time check on the FQN format.

Structs§

ToolFqn
Struct that holds a structured tool FQN. This FQN consists of the tool creator domain, the tool name and the tool version.