movementlabsxyz / movement

The Movement Network is a Move-based L2 on Ethereum.
Apache License 2.0
59 stars 56 forks source link

Connect bridge CLI to clients #331

Open 0xmovses opened 1 month ago

0xmovses commented 1 month ago

Description

The CLI for the bridge can be found here https://github.com/movementlabsxyz/movement/blob/08d044172f05fcde5c83cd3fd0a1c9594d35290d/protocol-units/bridge/cli/src/clap.rs

It doesn't yet make calls to the Client. Calls should happen via RPC requests.

Requirements

Points: 3

CodingTux commented 5 days ago

Hi! I have several questions regarding the integration of the CLI with the Client for the bridge:

  1. Client Interaction: What specific functionalities of the Client should the CLI interact with? Are there any existing examples or documentation that can guide this integration?

  2. RPC Endpoint Configuration: If calls are supposed to happen via RPC requests, where are the RPC endpoints configured? Is there a specific service where the RPC endpoint definitions can be found?

  3. Bridge Client Methods: Are the bridge client methods exposed via RPC? If so, where can we find examples/documentation of these calls?