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/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.
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: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated 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: 196kUpdated Claude CodeCodexVerifiedInstall