smithery.ai

cairo-starknet-types

Explain Starknet-specific types like ContractAddress, StorageAddress, ClassHash, EthAddress, BlockInfo, and TxInfo; use when a request involves these core Starknet types in Cairo.

First seen Apr 11, 2026

Installation

$ npx skills add https://smithery.ai

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,018 B
  • docs SUMMARY.md 207 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Cairo Starknet Types

Overview

Explain the core Starknet types and when to use them instead of raw felt values.

Quick Use

  • Read references/starknet-types.md before answering.
  • Use explicit type conversions when needed (try_from, into, or constructors).
  • Mention range constraints for addresses and hashes.

Response Checklist

  • Use ContractAddress for any contract address parameter or storage.
  • Use StorageAddress and StorageBaseAddress for storage slot computations.
  • Use ClassHash for class identifiers and EthAddress for L1 addresses.
  • Use BlockInfo and TxInfo for environment context.

Example Requests

  • "How do I convert a felt into a ContractAddress?"
  • "What is ClassHash used for?"
  • "What is the difference between StorageAddress and StorageBaseAddress?"