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/provider-hardening.md
View on GitHub# Provider Hardening
This note captures practical hardening defaults for `RpcProvider` usage in production agents.
## Baseline Configuration
- Use explicit RPC URL per environment (`mainnet`, `sepolia`) and avoid implicit defaults.
- Set request timeout budgets and surface timeout errors distinctly from revert errors.
- Prefer providers with stable SLAs; keep at least one fallback endpoint.
## Retry Strategy
- Retry only transient failures (timeouts, 429, 5xx).
- Use bounded exponential backoff with jitter (for example 300ms, 700ms, 1500ms; max 3 attempts).
- Do not retry deterministic failures (`entrypoint_not_found`, validation failures, calldata errors).
## Health and Observability
- Emit structured logs with `requestId`, `method`, `rpcUrl`, and latency.
- Track error-rate and timeout-rate per endpoint.
- Trigger provider failover when an endpoint exceeds an error threshold in a rolling window.
## Safety Checks
- Verify expected chain ID at startup and before sensitive flows.
- Fail closed on RPC/network mismatches.
- Keep block-tag use explicit (`latest`, pinned block) to avoid silent semantic drift.
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: 196k | 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: 196k | 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: 196k | Updated | Claude CodeCodex | Verified | Install |