Skip to content

feat(statics): add Starknet to statics and environments#8780

Draft
shubham-damkondwar wants to merge 1 commit into
masterfrom
feat/starknet/pr1-statics
Draft

feat(statics): add Starknet to statics and environments#8780
shubham-damkondwar wants to merge 1 commit into
masterfrom
feat/starknet/pr1-statics

Conversation

@shubham-damkondwar
Copy link
Copy Markdown
Contributor

Summary

  • Defines Starknet coin in modules/statics (network classes, coin entries, enums)
  • Adds starknetNodeUrl to environments.ts for mainnet and testnet
  • No SDK implementation yet — that follows in the next PR

Chain Type

ECDSA (secp256k1) — uses OZ EthAccountUpgradeable for account abstraction

MPC Support

ECDSA TSS (2-of-3 threshold, shouldHash=false for Poseidon pre-hashed tx)

Changes

  • statics/src/base.ts — CoinFamily.STARKNET, BaseUnit.STARKNET, UnderlyingAsset.STARKNET
  • statics/src/networks.ts — StarknetMainnet + StarknetTestnet
  • statics/src/coinFeatures.ts — STARKNET_FEATURES
  • statics/src/allCoinsAndTokens.ts — mainnet + testnet coin entries (18 decimals)
  • statics/test/unit/fixtures/expectedColdFeatures.ts — cold features entries
  • sdk-core/environments.ts — RPC node URL config

Related

  • Jira: CECHO-924
  • Part 1 of 3 — SDK module implementation follows in the next PR

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant