BLUEPRINT SDK

Build decentralized services

Define jobs in Rust. Operators run instances. You earn per execution. AI agents, oracles, bridges, MPC.

Your code becomes a Blueprint: a Rust job spec with input/output types, a pricing rule, and a slashing condition. Anyone can request an instance. Operators race to serve it. You collect a cut of every execution. No infra, no SLA, no on-call.

Build with AI Read the Docs
use blueprint_sdk::{Router, tangle::extract::{Caller, TangleArg, TangleResult}}; use blueprint_sdk::alloy::sol; pub const HELLO_JOB_ID: u8 = 0; // ABI-compatible payloads. operators decode these on-chain. sol! { struct HelloRequest { string name; } struct HelloResponse { string message; string operator; } } // A job is just an async fn. Extractors give you what you need. pub async fn hello( Caller(caller): Caller, TangleArg(req): TangleArg<HelloRequest>, ) -> TangleResult<HelloResponse> { TangleResult(HelloResponse { message: format!("Hello, {}!", req.name), operator: format!("{caller:#x}"), }) } // Mount jobs on a Router. Operators run this binary. pub fn router() -> Router { Router::new().route(HELLO_JOB_ID, hello) }
Rust SDK + TypeScript bindings | earn on every operator-served instance | staking-backed SLAs | Blueprint Agent for AI scaffolding
Ways to earn

Ship once. Earn on every instance.

Pricing, billing, and SLAs settle on chain. You collect fees per execution without running infrastructure.

Service fees

Paid on every job run.

Set price per invocation. The protocol collects, settles, and routes payouts. No Stripe webhook.

Instance royalties

Every operator instance compounds.

Publish once. Operators instantiate. You earn per instance for as long as it runs.

Protocol rewards

Inflation accrues to useful Blueprints.

Top Blueprints by usage earn a share of network rewards. More calls, more compounding.

Tangle Blueprints

A Blueprint is a service template.

Jobs and background tasks in Rust. Operators run instances. Customers pay per call. You collect.

Modular Blueprint Diagram
Get Started

Your first Blueprint.

Install the SDK. Define a job. Deploy.

1
Learn the SDK

Read the docs. See how jobs, contexts, and Blueprints fit together.

2
Build a Blueprint

Use the Blueprint Agent or the CLI to scaffold oracles, bridges, AI agents, MPC.

3
Deploy & Earn

Push to Tangle. Operators run instances. You earn per execution.

use blueprint_sdk::Router;
use blueprint_sdk::tangle::extract::{Caller, TangleArg, TangleResult};
use blueprint_sdk::alloy::sol;

sol! {
  struct PriceRequest  { string asset; }
  struct PriceResponse { uint256 price; }
}

pub const FETCH_PRICE: u8 = 0;

/// Fetch a live asset price. Operators earn
/// fees on every call to this job.
pub async fn fetch_price(
  Caller(who): Caller,
  TangleArg(req): TangleArg<PriceRequest>,
) -> TangleResult<PriceResponse> {
  let price = get_price(&req.asset).await?;
  TangleResult(PriceResponse { price });
}

pub fn router() -> Router {
  Router::new().route(FETCH_PRICE, fetch_price)
}
Web3 vertical

One of many ecosystems we ship for.

Crypto blueprints are the maturity case: staking-backed SLAs, on-chain payouts, slashing. The same workbench targets agent frameworks, AI runtimes, and any service you can wrap in a job spec.

Coinbase

Coinbase

Solana

Solana

EigenLayer

EigenLayer

Worldcoin

Worldcoin

Arbitrum

Arbitrum

Base

Base

Chainlink

Chainlink

Aave

Aave

Aptos

Aptos

Sui

Sui

OpenZeppelin

OpenZeppelin

Starknet

Starknet

Learn more

Frequently Asked Questions

What is a Blueprint?
A reusable service template. Defines jobs and background processes operators run on Tangle. Wrap oracles, bridges, AI agents, or MPC protocols and earn fees per execution.
What languages can I build with?
Rust as primary, with TypeScript SDK extensions. The Blueprint Agent at ai.tangle.tools generates Blueprints from natural language.
How do I earn from my Blueprint?
Operators instantiate your Blueprint and you earn fees per job. Pricing, billing, and payouts settle on chain.
Where do I start?
docs.tangle.tools for the SDK. ai.tangle.tools to scaffold with AI. Discord for support.

Start building on Tangle.

Docs, scaffold, deploy. Earn per execution.