원클릭으로
cartridge-rpc
Configure Cartridge RPC endpoints with API token authentication and CORS whitelisting.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Configure Cartridge RPC endpoints with API token authentication and CORS whitelisting.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Set up and manage Cartridge paymasters to sponsor transaction fees for gasless user experiences.
Integrate Cartridge's verifiable random number generator (vRNG) into onchain games.
Interactively walk teams through creating a Cartridge Controller preset, including origin/AASA setup, session policies, themes, and mainnet vs sepolia configuration.
Integrate Cartridge Controller into React applications using starknet-react. Use when building React/Next.js web apps with Controller, setting up StarknetConfig provider, using hooks like useConnect/useAccount, or implementing wallet connection components. Covers ControllerConnector setup, provider configuration, and transaction execution patterns.
Configure session keys and policies for Cartridge Controller to enable gasless, pre-approved transactions. Use when defining contract interaction policies, setting spending limits, configuring signed message policies, or implementing error handling for session-based transactions. Covers SessionPolicies type, policy definitions, verified sessions, and error display modes.
Integrate Cartridge Controller wallet into Starknet applications. Use when setting up Controller for the first time, installing packages, configuring chains/RPC endpoints, or troubleshooting basic integration issues. Covers installation, Controller instantiation, ControllerConnector vs SessionConnector choice, chain configuration, and package compatibility.
| name | cartridge-rpc |
| description | Configure Cartridge RPC endpoints with API token authentication and CORS whitelisting. |
Cartridge provides dedicated RPC endpoints for Starknet with authentication and CORS support.
https://api.cartridge.gg/x/starknet/mainnethttps://api.cartridge.gg/x/starknet/sepoliaFree for up to 1M requests/month. Additional requests: $5/1M, charged to the team.
curl https://api.cartridge.gg/x/starknet/mainnet \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_chainId",
"params": [],
"id": 1
}'
For browser apps, whitelist domains to make direct RPC calls without exposing tokens. Whitelisted domains are rate-limited per IP.
const response = await fetch('https://api.cartridge.gg/x/starknet/mainnet', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
method: 'starknet_chainId',
params: [],
id: 1,
}),
});
# Create a token
slot rpc tokens create <KEY_NAME> --team <TEAM_NAME>
# List tokens
slot rpc tokens list --team <TEAM_NAME>
# Delete a token
slot rpc tokens delete <KEY_ID> --team <TEAM_NAME>
Whitelists are specified as root domains; all subdomains are automatically included.
# Add a domain
slot rpc whitelist add <DOMAIN> --team <TEAM_NAME>
# List whitelisted domains
slot rpc whitelist list --team <TEAM_NAME>
# Remove a domain
slot rpc whitelist remove <ENTRY_ID> --team <TEAM_NAME>
slot rpc logs --team <TEAM_NAME>
Options:
--after <CURSOR>: Pagination cursor--limit <NUMBER>: Entries to return (default: 100)--since <DURATION>: Time period (30m, 1h, 24h)Examples:
# Last 5 entries from past 30 minutes
slot rpc logs --team my-team --limit 5 --since 30m
# Paginate with cursor
slot rpc logs --team my-team --after <cursor> --limit 5