Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Starknet Protocol Support #4886

Open
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

ljankovic-txfusion
Copy link
Collaborator

@ljankovic-txfusion ljankovic-txfusion commented Nov 21, 2024

Add Starknet Protocol Support

Description

This PR introduces Starknet protocol support to the SDK, enabling integration with the Starknet network. Key changes include:

  • Add StarknetJsProvider implementation using starknet.js v6.17.0
  • Implement protocol mappings for Starknet
  • Add provider builder and factory support for Starknet RPC provider
  • Define Starknet-specific types and interfaces
  • Add initial support for Starknet token standards

Drive-by Changes

  • Added type definitions for Starknet-specific configurations
  • Updated protocol mappings to include Starknet

Backward Compatibility

Yes - All existing functionality remains unchanged

Testing

  • No new tests added
  • Successfully built all packages

Dependencies

Copy link

changeset-bot bot commented Nov 21, 2024

🦋 Changeset detected

Latest commit: 7130424

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@hyperlane-xyz/utils Minor
@hyperlane-xyz/sdk Minor
@hyperlane-xyz/widgets Minor
@hyperlane-xyz/core Patch
@hyperlane-xyz/cli Minor
@hyperlane-xyz/infra Minor
@hyperlane-xyz/helloworld Minor
@hyperlane-xyz/ccip-server Minor
@hyperlane-xyz/github-proxy Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mshojaei-txfusion mshojaei-txfusion force-pushed the feat/add-starknet-provider branch from 255db9b to a2f1528 Compare January 16, 2025 10:32
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.53%. Comparing base (769cec1) to head (7130424).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4886   +/-   ##
=======================================
  Coverage   77.53%   77.53%           
=======================================
  Files         103      103           
  Lines        2110     2110           
  Branches      190      190           
=======================================
  Hits         1636     1636           
  Misses        453      453           
  Partials       21       21           
Components Coverage Δ
core 87.80% <ø> (ø)
hooks 79.39% <ø> (ø)
isms 83.68% <ø> (ø)
token 91.27% <ø> (ø)
middlewares 79.80% <ø> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

3 participants