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/account-lifecycle.md
View on GitHub# Account Lifecycle
Use this as a runbook for account creation, usage, and rotation in starknet.js-based agents.
## Lifecycle Stages
1. Provision
Generate signing key material and assign account address.
2. Bootstrap
Fund account and verify deploy state.
3. Active Operations
Execute transactions under explicit policy and monitor nonce/fees.
4. Rotation
Rotate key material or signer backend with overlap window and rollback path.
5. Decommission
Revoke credentials and archive audit artifacts.
## Signing and Sponsorship Boundaries
- Keep signer credentials separate from app credentials.
- For sponsored flows, preflight policy checks before submitting execute calls.
- Enforce max-spend and allowlist constraints at signer or account-policy layer.
## Nonce Management
- Always query current nonce before constructing concurrent transaction batches.
- Use per-workflow request IDs to correlate nonce conflicts and retries.
- On nonce mismatch, refresh state and rebuild calldata instead of blind replay.
## Incident Response
- Suspected key leak: rotate signer immediately and revoke active sessions.
- Persistent reverts: pause automated execution and require manual review.
- RPC consistency failures: switch provider and re-validate chain context.
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 |