Skip to content
Back to skills

Starknet Network Facts

ASecurity

Starknet network-level constraints and protocol facts that impact contract safety and agent reasoning.

  • 80 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 4, 2026
ai-agentsbashnode

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add keep-starknet-strange/starknet-agentic --skill starknet-network-facts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Starknet Network Facts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Starknet Network Facts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/keep-starknet-strange-starknet-network-facts/badge)](https://www.skillsdirectory.com/skills/keep-starknet-strange-starknet-network-facts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: starknet-network-facts
description: Starknet network-level constraints and protocol facts that impact contract safety and agent reasoning.
license: Apache-2.0
metadata: {"author":"starknet-agentic","version":"0.1.1","org":"keep-starknet-strange","source":"starknet-agentic"}
keywords: [starknet, network, fees, tx-version, sequencer, inclusion]
allowed-tools: [Bash, Read, Write, Glob, Grep, Task]
user-invocable: true
---

# Starknet Network Facts

## When to Use

- Reasoning about chain behavior assumptions in contract logic.
- Validating time, fee, and transaction-version dependencies.

## When NOT to Use

- Contract implementation details unrelated to chain behavior.

## Quick Start

1. Identify assumptions in code about tx versions, fee tokens, and timing.
2. Verify assumptions against current network behavior before release.
3. Add tests for boundary behavior tied to block timing or tx metadata.

## Core Focus

- transaction version expectations
- fee token and bounds assumptions
- block-time-sensitive logic
- sequencer and inclusion model implications

## Workflow

- Main network-facts workflow: [default workflow](workflows/default.md)

## References

- Module index: [references index](references/README.md)

## starknet.js Example

```ts
import { RpcProvider } from "starknet";

const provider = new RpcProvider({ nodeUrl: process.env.STARKNET_RPC! });
const latest = await provider.getBlock("latest");

console.log({
  blockNumber: latest.block_number,
  l1GasPrice: latest.l1_gas_price,
  l2GasPrice: latest.l2_gas_price,
});
```

## Error Codes and Recovery

| Code | Meaning | Recovery |
| --- | --- | --- |
| `SNF-001` | RPC/network fact unavailable | Retry with a fallback RPC and compare outputs before acting. |
| `SNF-002` | Conflicting tx-version assumption | Re-check references and update guards/tests for current tx version behavior. |
| `SNF-003` | Fee-token assumption mismatch | Add explicit fee-token checks and fee-bound regression tests. |

Files in this skill

  • SKILL.md1.9 KB
  • agents/openai.yaml309 B
  • references/README.md79 B
  • workflows/default.md467 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.