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/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.
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