Skip to content

internet-court/internet-court-skill / vendored/starknet/starknet-js

starknet-js

Verified

Reference for building Starknet applications using starknet.js v9.x SDK, including contract interaction, account management, transaction handling, fee estimation, wallet integration, and paymaster flows.

FileKindSize
LICENSEother1.1 KB
SKILL.mdskill md13.5 KB
agents/openai.yamlconfig328 B
package.jsonmanifest336 B
references/README.mdmarkdown413 B
references/account-lifecycle.mdmarkdown1.2 KB
references/fee-strategy.mdmarkdown1.1 KB
references/provider-hardening.mdmarkdown1.1 KB
scripts/account-example.tsscript1.0 KB
tsconfig.jsonconfig248 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.
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall