Crate blueprint_sdk

Source
Expand description

Tangle Network Banner

Blueprint SDK

A comprehensive toolkit for building, deploying, and managing blueprints on the Tangle Network.

Build Status Latest Release License Discord Telegram

§Overview

Blueprints are Infrastructure-as-Code templates that allow developers to quickly build crypto services. The Blueprint SDK comes equipped with a variety of tools, from event listeners and p2p networking to flexible keystores, allowing you to rapidly prototype distributed systems. With these tools, developers can get started building anything from oracles to bridge security systems, zk prover networks, AI agent orchestration systems. Deploy these applications on the Tangle Network, Eigenlayer, or natively.

We also have a documentation site on all things Tangle to help you get started.

§Features

§Core

  • std (enabled by default) — Enable standard library support

  • web — Enable support for web targets

  • tracing (enabled by default) — Enable tracing support

  • tangle — Enable Tangle support

  • evm — Enable EVM support

  • eigenlayer — Enable Eigenlayer support

  • networking — Enable networking support

  • round-based-compat — Enable round-based networking capability

  • local-store — Enable local KV stores

  • macros — Enable all macros of subcrates

  • build — Enable build-time utilities

  • testing — Enable testing utilities

§Extra producers

  • cronjob — Enable the cron job producer

Re-exports§

pub use error::Error;
pub use blueprint_core as core;
pub use blueprint_crypto as crypto;
pub use blueprint_clients as clients;
pub use blueprint_contexts as contexts;
pub use blueprint_keystore as keystore;
pub use blueprint_std as std;
pub use tokio;
pub use blueprint_runner as runner;
pub use blueprint_router as router;
pub use eigensdk;eigenlayer
pub use blueprint_stores as stores;local-store
pub use tangle_subxt;
pub use alloy;

Modules§

buildbuild
Build-time utilities for blueprint compilation
eigenlayereigenlayer
error
evmevm or eigenlayer
ext_traits
extensions
extract
Re-export the core extractors from the blueprint_core crate.
job
Async functions that can be used to handle jobs. In the Blueprint SDK a “job” is an async function that accepts zero or more “extractors” as arguments and returns something that can be converted into a job result.
macrosmacros
metadata
Metadata that can be included in a [JobCall] or [JobResult] to provide additional context.
networkingnetworking
Networking utilities for blueprints
producers
tangletangle
testingtesting
Testing utilities and helpers

Macros§

debug
Constructs an event at the debug level.
error
Constructs an event at the error level.
info
Constructs an event at the info level.
trace
Constructs an event at the trace level.
warn
Constructs an event at the warn level.

Structs§

Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
JobCall
Representation of a job call event
JobId
Job Identifier.
Router
The router type for composing jobs and services.

Enums§

JobResult
The result of a Job call

Traits§

FromJobCall
Types that can be created from job calls.
FromJobCallParts
Types that can be created from job calls.
IntoJobResult
Trait for generating JobResults.
IntoJobResultParts
Trait for adding headers and extensions to a response.
Job
Trait for async functions that can be used to handle requests.
JobCallExt
Extension trait that adds additional methods to JobCall.
JobCallPartsExt
Extension trait that adds additional methods to Parts.