haystack-router-development

Build Algorand swaps with Haystack Router SDK using RouterClient APIs.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/GoPlausible/claude-algorand-plugin --skill haystack-router-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: haystack-router-development
Source: https://github.com/GoPlausible/claude-algorand-plugin/tree/main/plugins/algorand-plugin/skills/haystack-router-development
Command: npx skills add https://github.com/GoPlausible/claude-algorand-plugin --skill haystack-router-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers need a cohesive toolkit to build and integrate applications that perform swaps and routing on Algorand using Haystack Router SDK. This skill provides guided workflows, code examples, and reference materials to streamline UI, automation, and middleware integration.

Core Features & Use Cases

  • End-to-end integration of React UIs, Node.js automation scripts, and RouterClient usage for quotes and swaps.
  • Supports signing patterns and middleware for customizable swap workflows.
  • Includes reference guides for API usage, configuration, and migration from older tooling.

Quick Start

Install the Haystack Router SDK, initialize RouterClient, and start building a swap UI or automation script.

Frequently Asked Questions about haystack-router-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate decentralized swaps on Algorand into my React app?

You can build Algorand swap UIs by initializing the Haystack RouterClient in React to call newQuote and newSwap. The SDK supports end-to-end workflows from quote generation to swap execution with integrated signing patterns.

What is the Haystack RouterClient and how does it handle swap execution on Algorand?

RouterClient is the core SDK interface for executing Algorand swaps, exposing APIs like newQuote, newSwap, and execute. It manages quote generation, autoOptIn configurations, and transaction signing for decentralized routing workflows.

Can I automate Algorand swap routing using Node.js scripts?

Yes, the Haystack Router SDK supports Node.js automation for swap routing. You can use RouterClient APIs in Node.js scripts to automate quote generation, swap execution, and middleware integration with customizable signing patterns.

Do I need middleware to customize Algorand swap workflows with the Haystack Router?

Middleware is supported but not strictly required. The Haystack Router SDK allows middleware integration for customizable swap workflows, while RouterClient APIs like newQuote and execute handle core routing operations directly without middleware.

How do I generate quotes for token swaps on Algorand before execution?

Use the RouterClient newQuote API provided by the Haystack Router SDK to generate swap quotes on Algorand. This returns pricing details for review before calling the newSwap or execute APIs to finalize the transaction.