Feat: Implement fee mechanism for IBC transfer in Cronos #236
Replies: 1 comment
-
Here I try to summarize some discussions I have with @thomas-nguy offline and at the end propose two solutions: one solution is based on @thomas-nguy solution above and I try to add concrete details, another solution is an attempt for a generic solution. To get started with, there are a few common questions that needs to be addressed and my opinion with the current suggestions. Issues to be addressedIssue 1: Bridge fee receiverWhich address should receive the bridge fee charged? 1.
|
Beta Was this translation helpful? Give feedback.
-
In order to bridge with cosmos tokens, we need to implement a fee mechanism to cover relayer cost
ICS29 in ibc-go might help with it is still WIP
#234
Another solution is to implement a fee deduction mechanism in cronos
The fee can be deducted after ibc-transfer by adding fee deduction logic in
ibc-hooks
The fee can be deducted before ibc-transfer in
evm-hooks
during a "__CronosSendToIbc" event hook before sending back to IBC coins to the userFees are sent to a community account and redistributed to the validators
The fee deducted can be a fixed percentage of the transferable token define in genesis with a max cap [TBD]
Few options for the fee strategy
Beta Was this translation helpful? Give feedback.
All reactions