From af8b63b202be042a06e47fe7e1c8ea711e36ef12 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Wed, 7 Aug 2024 19:21:47 +0700 Subject: [PATCH] Create mcip.proto --- chain/mcip/mcip.proto | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 chain/mcip/mcip.proto diff --git a/chain/mcip/mcip.proto b/chain/mcip/mcip.proto new file mode 100644 index 000000000..a32b4a019 --- /dev/null +++ b/chain/mcip/mcip.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package mcip; + +message InteroperabilityRequest { + string source_chain = 1; + string target_chain = 2; + bytes payload = 3; +} + +message InteroperabilityResponse { + string result = 1; + bytes payload = 2; +} + +service InteroperabilityService { + rpc RequestInteroperability(InteroperabilityRequest) returns (InteroperabilityResponse) {} +}