Allow the EvmHost to accept the native token as payment for outgoing messages, so long as it can be swapped for the feeToken required to dispatch messages. This functionality has also been extended to fundRequest and fundResponse. Relayer fees are still refunded using feeToken.
This should make Hyperbridge's UX/DX more seamless, and it looks something like:
This is achieved by swapping the native token for the feeToken using a local IUniswapV2Router02 instance. The address for this instance is tracked in the HostParams
Allow the
EvmHost
to accept the native token as payment for outgoing messages, so long as it can be swapped for thefeeToken
required to dispatch messages. This functionality has also been extended tofundRequest
andfundResponse
. Relayer fees are still refunded usingfeeToken
.This should make Hyperbridge's UX/DX more seamless, and it looks something like:
This is achieved by swapping the native token for the feeToken using a local
IUniswapV2Router02
instance. The address for this instance is tracked in theHostParams