cosmos / ibc-rs

Rust implementation of the Inter-Blockchain Communication (IBC) protocol.
Apache License 2.0
195 stars 80 forks source link

Investigate offering a socket-based API #712

Open plafer opened 1 year ago

plafer commented 1 year ago

If we were able to offer a socket-based API (similar to CometBFT's ABCI), then non-Rust chains could still use ibc-rs. Notably, this could enable non-Cosmos SDK chains written in Go to easily integrate IBC.

DaviRain-Su commented 1 year ago

What is socket-based API ? Does this mean providing interfaces similar to Rust's trait that can be used by other chains?

plafer commented 1 year ago

Roughly yes. Basically an API over gRPC which would achieve the same as our current ValidationContext, ExecutionContext, etc.