Skip to content

Feat: Implement fee mechanism for IBC transfer in Cronos #235

@thomas-nguy

Description

@thomas-nguy

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

  • For Crypto.org Chain -> Cronos

The fee can be deducted after ibc-transfer by adding fee deduction logic in ibc-hooks

  • For Cronos -> Crypto.org Chain

The fee can be deducted before ibc-transfer in evm-hooks during a "__CronosSendToIbc" event hook before sending back to IBC coins to the user

Fees 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

  • option 1: fix value per tokens
  • option 2: global percentage of the transferred token
  • option 3: percentage of the transferred token with cap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions