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

Add create client support to relayers #355

Open
4 tasks
srdtrk opened this issue Mar 3, 2025 · 0 comments
Open
4 tasks

Add create client support to relayers #355

srdtrk opened this issue Mar 3, 2025 · 0 comments
Labels
needs discussion This issue needs more discussion before its implementation relayer Issues related to the relayer type: feature Feature request

Comments

@srdtrk
Copy link
Member

srdtrk commented Mar 3, 2025

Summary

Right now, both solidity and wasm clients need to be deployed manually via scripts. Relayer could have a new request to do this.

Problem Definition

It is difficult to deploy new solidity or wasm contracts via manual scripting.

Use cases

To deploy clients using the relayer api and deprecating operator's production use case

Proposal

These request parameters still require discussion:

Add a new request type

// The request message
message CreateClientRequest {
    // The source chain identifier
    string src_chain = 1;
    // The target chain identifier
    string dst_chain = 2;
    // Optional genesis parameters
    bytes parameters = 3;
}

// The response message
message CreateClientResponse {
    // The multicall transaction to be submitted by caller
    bytes tx = 1;
    // The contract address to submit the transaction, if applicable
    string address = 2;
}

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
  • Estimate provided
@srdtrk srdtrk added needs discussion This issue needs more discussion before its implementation relayer Issues related to the relayer type: feature Feature request labels Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion This issue needs more discussion before its implementation relayer Issues related to the relayer type: feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant