controller-backend

Automates server-side Starknet transactions via Cartridge Controller in Node.js, Rust, or C++.

4|6|Updated Nov 8, 2024
One-click install
npx skills add https://github.com/cartridge-gg/docs --skill controller-backend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: controller-backend
Source: https://github.com/cartridge-gg/docs/tree/main/skills/controller-backend
Command: npx skills add https://github.com/cartridge-gg/docs --skill controller-backend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Integrate Cartridge Controller into backend services using Node.js, Rust, or headless mode to enable server-side execution of Starknet transactions without manual user prompts.

Core Features & Use Cases

  • SessionProvider integration for Node.js to manage pre-approved transactions
  • Rust SDK setup and headless Controller for automated backends
  • Use cases include game backends, automated bots, and server-side workflows that require signing keys

Quick Start

Install the necessary packages and initialize a Controller in your backend project to execute a sample transaction.

Frequently Asked Questions about controller-backend

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

FAQPage Schema
How do I execute Starknet transactions in a backend service without user prompts?

You can execute Starknet transactions in a backend service by integrating Cartridge Controller using Node.js, Rust, or headless mode to enable automated server-side signing and transaction execution without manual user prompts.

Can I use a headless Controller for automated bots on Starknet?

Yes, you can use a headless Controller with custom signing keys to automate Starknet transactions for automated bots, game backends, and server-side workflows that operate without direct user interaction.

How do I set up a SessionProvider for Node.js to manage Starknet transactions?

To set up a SessionProvider for Node.js, install the necessary packages and initialize the Controller in your backend project to manage pre-approved Starknet transactions and maintain session persistence.

Does the Cartridge Controller support Rust SDK integration for server-side workflows?

Yes, the Cartridge Controller supports Rust SDK integration, allowing you to set up headless Controller configurations to execute Starknet transactions within automated Rust backend environments.

What is needed to maintain session persistence when running Starknet transactions in backend apps?

Maintaining session persistence for Starknet transactions in backend apps requires clear deployment rules alongside a configured SessionProvider or headless Controller with custom signing keys for continuous execution.

When should I use a headless Controller instead of a standard SessionProvider for Starknet transactions?

Use a headless Controller with custom signing keys for automated backends, game servers, or C++ workflows, whereas a SessionProvider is typically applied to Node.js environments for pre-approved transactions.