controller-backend

Enable programmatic Cartridge Controller transaction signing and execution for backend services.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Kepler22bee/House-of-Stark --skill controller-backend-kepler22bee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: controller-backend
Source: https://github.com/Kepler22bee/House-of-Stark/tree/main/contracts/.agents/skills/controller-backend
Command: npx skills add https://github.com/Kepler22bee/House-of-Stark --skill controller-backend-kepler22bee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables backend systems to programmatically sign and execute Starknet transactions through Cartridge Controller, removing the need for interactive browser approvals and enabling automated game servers, bots, and other non-browser environments.

Core Features & Use Cases

  • Node.js SessionProvider: Configure file or cloud-backed session storage to create persistent, pre-authorized sessions for server processes.
  • Rust native integration: Use account_sdk and starknet crates to deploy controllers, manage owners, and execute transactions from native Rust applications.
  • Headless Controller & custom signers: Run headless controllers with environment-managed private keys for single-owner bots, automated accounts, or HSM-backed signing.
  • Telegram Mini-Apps: Integrate SessionConnector flows and proper WebApp redirects for Telegram-based mini-app authentication and transaction execution.
  • Use Case: Automate game backends to sign player actions, run NPC bots, or perform scheduled on-chain transfers without human interaction.

Quick Start

Initialize a SessionProvider with a writable basePath, configure RPC and policies, connect the provider, and execute a sample transfer to verify server-side transaction flow.

Frequently Asked Questions about controller-backend

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

FAQPage Schema
How do I sign Starknet transactions from a backend server without browser approvals?

To sign Starknet transactions from a backend server, you can use Cartridge Controller with a SessionProvider to create persistent, pre-authorized sessions for your server processes. This enables automated signing and execution without interactive browser approvals.

Can I use Cartridge Controller with a native Rust application for automated account management?

Yes, you can use Cartridge Controller with native Rust applications by utilizing the account_sdk and starknet crates. This allows you to deploy controllers, manage owners, and execute transactions directly from your Rust codebase.

What is the best way to automate on-chain actions for a Telegram mini-app on Starknet?

To automate on-chain actions for a Telegram mini-app, integrate SessionConnector flows and configure proper WebApp redirects. This setup enables Telegram-based mini-app authentication and automated transaction execution on Starknet.

How do I configure a headless controller for single-owner bots or HSM-backed signing?

You configure a headless controller by using environment-managed private keys for single-owner bots, automated accounts, or HSM-backed signing. This approach removes the need for interactive approvals while maintaining secure automated execution.

Do I need specific RPC endpoint policies to restrict automated server-side Starknet execution?

Yes, you need to configure RPC endpoints and establish policies to restrict allowed contract methods. Setting up these policies ensures safe automated execution by limiting what the server-side controller can authorize.

How does server-side Cartridge Controller integration handle session storage for Node.js environments?

Server-side Cartridge Controller integration handles session storage in Node.js by configuring file or cloud-backed session storage. This creates persistent sessions that allow server processes to maintain authorized transaction capabilities.