
Cartridge Paymaster
- 2 installs
- 4 repo stars
- Updated August 1, 2026
- cartridge-gg/docs
Sets up Cartridge paymasters via the slot CLI to sponsor Starknet transaction fees, managing budgets, sponsorship policies, and transaction monitoring for gasless UX.
About
Sets up and manages Cartridge paymasters that sponsor Starknet transaction fees for gasless user experiences, using the slot CLI. A developer of an onchain game uses it to fund and scope fee sponsorship.
- Creates and funds paymasters via the slot CLI to sponsor transaction fees
- Manages sponsorship policies, budgets, and transaction/stats monitoring
Cartridge Paymaster by the numbers
- 2 all-time installs (skills.sh)
- Ranked #409 of 480 Web3 & Blockchain skills by installs in the Skillselion catalog
- Data as of Aug 1, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cartridge-gg/docs --skill cartridge-paymasterAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 2 |
|---|---|
| repo stars | ★ 4 |
| Last updated | August 1, 2026 |
| Repository | cartridge-gg/docs ↗ |
What it does
Sets up Cartridge paymasters via the slot CLI to sponsor Starknet transaction fees, managing budgets, sponsorship policies, and transaction monitoring for gasless UX.
Files
Cartridge Paymaster
Manage paymasters that sponsor transaction fees, enabling gasless experiences for users. Zero integration required — when enabled, eligible transactions are automatically sponsored.
Availability
- Testnet: Automatically enabled, no setup required
- Mainnet: Self-served via the CLI
Creating a Paymaster
Requires an authenticated session (slot auth login) and a team with credits.
slot paymaster <name> create --team <team> --budget <amount> --unit CREDITThe budget is deducted from the team's credit balance. 1 CREDIT = $0.01 USD.
Budget Management
# Increase budget
slot paymaster <name> budget increase --amount <amount> --unit CREDIT
# Decrease budget
slot paymaster <name> budget decrease --amount <amount> --unit CREDITPolicy Management
Policies define which contracts and entrypoints the paymaster will sponsor.
Add from preset (recommended)
Use verified contract presets from the Dojo ecosystem:
slot paymaster <name> policy add-from-preset --name <preset-name>Presets are maintained at https://github.com/cartridge-gg/presets/tree/main/configs
Add a single policy
slot paymaster <name> policy add --contract <address> --entrypoint <entry-point>Add from JSON
slot paymaster <name> policy add-from-json --file <path>JSON format:
[
{
"contractAddress": "0x1234...abcd",
"entrypoint": "move_player"
},
{
"contractAddress": "0x5678...efgh",
"entrypoint": "attack",
"predicate": {
"address": "0x9abc...1234",
"entrypoint": "check_attack_eligibility"
}
}
]Predicates are optional. When present, the predicate contract is called first — the transaction is only sponsored if it returns true.
Remove policies
# Remove one
slot paymaster <name> policy remove --contract <address> --entrypoint <entry-point>
# Remove all (requires confirmation)
slot paymaster <name> policy remove-all
# List current policies
slot paymaster <name> policy listInfo and Configuration
# View paymaster details, budget, and policy count
slot paymaster <name> info
# Rename
slot paymaster <name> update --name <new-name>
# Transfer to different team
slot paymaster <name> update --team <new-team>
# Enable/disable
slot paymaster <name> update --active false
slot paymaster <name> update --active trueMonitoring
Stats
slot paymaster <name> stats --last <period>Period options: 1hr, 2hr, 24hr, 1day, 2day, 7day, 1week.
Transaction history
slot paymaster <name> transactions [OPTIONS]Options:
--filter SUCCESS|REVERTED|ALL--last <period>--order-by FEES_ASC|FEES_DESC|EXECUTED_AT_DESC|EXECUTED_AT_ASC--limit <n>(max 1000)
Dune Analytics
Generate SQL queries for Dune dashboards:
# With actual timestamps
slot paymaster <name> dune --last 24hr
# With template parameters for Dune dashboards
slot paymaster <name> dune --dune-paramsCommon Workflow: New Game Setup
# Create paymaster
slot paymaster my-game-pm create --team my-team --budget 1000 --unit CREDIT
# Add game contract policies
slot paymaster my-game-pm policy add --contract 0x123...abc --entrypoint move_player
slot paymaster my-game-pm policy add --contract 0x123...abc --entrypoint attack_enemy
# Verify setup
slot paymaster my-game-pm info