cosmos / ibc

Interchain Standards (ICS) for the Cosmos network & interchain ecosystem.
Other
919 stars 382 forks source link

[ICS-029] How to set the fee(`reverse-fee`, `ack-fee`, `timeout-fee`) for relayer? #1063

Closed 99Kies closed 8 months ago

99Kies commented 8 months ago

I started a chain and i also started some ibc relayer. i would like to provide some incentive to my relayer through ICS-029. But I'm not sure what exactly are the rules for fee calculation?

image

image

https://github.com/cosmos/ibc/tree/main/spec/app/ics-029-fee-payment#definitions

crodriguezvega commented 8 months ago

Please take a look at this tutorial. It shows how to incentivise packets using the CLI of ibc-go.

99Kies commented 8 months ago

@crodriguezvega thanks, But I see nothing in the documentation about how the fee is calculated. I'm trying to figure out exactly how much token the RELAYER makes per ibc-transfer transaction, and if I can customise the rules for fee or params setting.