starknet.dart icon indicating copy to clipboard operation
starknet.dart copied to clipboard

Investigate and Explore Support for New Wallet API from JSON RPC Specification

Open onlydustapp[bot] opened this issue 9 months ago • 4 comments

Overview

Explore the new wallet API defined in the JSON RPC specification (see wallet API spec). The goal is to study the specification and propose some usage examples that could be implemented in starknet.dart.

Background & Context

starknet.dart aims to enable seamless interaction with Starknet smart contracts and support JSON-RPC calls (see starknet.dart README). With the introduction of new wallet API endpoints in the JSON RPC spec, there is an opportunity to enhance the SDK's capabilities.

Tasks

  1. Study the wallet API specification in detail:

    • Review the endpoints and their expected parameters.
    • Understand how wallet interactions are defined in the spec.
  2. Propose usage examples for potential implementations in starknet.dart:

    • Outline example scenarios where the wallet API could be used.
    • Consider how these examples can be integrated into the current type-safe SDK design.
  3. Document potential integration steps:

    • Outline the technical considerations and potential challenges.
    • Highlight necessary changes or additions to the existing codebase.

Technical Considerations

  • Ensure that any examples align with the type-safe design of starknet.dart.
  • Evaluate how the new wallet API interacts with current JSON-RPC endpoints.
  • Consider error handling and fallback logic for unsupported or edge-case scenarios.

Expected Outcome

  • A detailed summary/report on the wallet API specification.
  • One or more concrete usage examples that showcase how the new wallet API might be integrated into starknet.dart.
  • A clear set of recommendations for future implementation.

Let's use this investigation to further enhance our SDK and support more wallet functionalities. 🚀

onlydustapp[bot] avatar Mar 20 '25 11:03 onlydustapp[bot]

Could I be assigned to this?

ritik4ever avatar Apr 26 '25 11:04 ritik4ever

Could I be assigned to this?

Hi, could you please describe how you plan to do this task ?

ptisserand avatar Apr 26 '25 17:04 ptisserand

I'm new on Starknet project but i created on Archethic Public Blockchain Wallet the wallet app (https://github.com/archethic-foundation/archethic-wallet) with dart SDK to interact between the blockchain, the wallet and dapps (https://github.com/archethic-foundation/archethic-wallet-client-dart). So i think, it's a good way to work on starknet Dart SDK. i also contributed to wagmi flutter web SDK : https://github.com/archethic-foundation/wagmi_flutter_web

redDwarf03 avatar Apr 28 '25 15:04 redDwarf03

Can I contribute to this one?

Imdavyking avatar May 03 '25 15:05 Imdavyking

Closed by #515

ptisserand avatar Jun 26 '25 16:06 ptisserand