internet-court/internet-court-skill / vendored/starknet/starknet-js
starknet-js
VerifiedReference for building Starknet applications using starknet.js v9.x SDK, including contract interaction, account management, transaction handling, fee estimation, wallet integration, and paymaster flows.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 1.1 KB |
| SKILL.md | skill md | 13.5 KB |
| agents/openai.yaml | config | 328 B |
| package.json | manifest | 336 B |
| references/README.md | markdown | 413 B |
| references/account-lifecycle.md | markdown | 1.2 KB |
| references/fee-strategy.md | markdown | 1.1 KB |
| references/provider-hardening.md | markdown | 1.1 KB |
| scripts/account-example.ts | script | 1.0 KB |
| tsconfig.json | config | 248 B |
references/fee-strategy.md
View on GitHub# Fee Strategy
This reference covers practical fee planning for agent execution on Starknet.
## Preflight Principles
- Estimate before execute; do not submit calls with unknown fee envelope.
- Keep token/fee-mode explicit (`user_pays` vs sponsored).
- Reject transactions when estimated fee breaches configured budget thresholds.
## User Pays Mode
- Maintain gas token buffer for operational continuity.
- Set per-transaction max fee with a safety margin over estimate.
- If estimate fails repeatedly, pause and retry with alternate RPC provider.
## Sponsored Mode
- Require sponsor approval in preflight response.
- Enforce policy alignment between call payload and sponsor scope.
- Treat sponsorship denial as non-retryable unless policy changed.
## Slippage and Cost Drift
- Re-estimate after significant state delays or price-sensitive operations.
- Use bounded validity windows to reduce stale-fee submissions.
- Capture estimate vs final paid fee deltas for monitoring.
## Operational Alerts
- Alert on repeated `INSUFFICIENT_FEE`, `SPONSOR_DENIED`, or estimate timeouts.
- Alert when effective fee exceeds configured percentile envelope for the flow.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |