go-sequence icon indicating copy to clipboard operation
go-sequence copied to clipboard

How can I build a gasless txn experience using the relayer?

Open 0xbsa opened this issue 2 years ago • 2 comments

I have seen the relayer docs here: https://docs.sequence.xyz/relayer/building-relaying-server

I'm trying to integrate the relayer with my Go backend but there seems to be some differences in TS implementation (sequence.js) and this project. The relayer service bindings are not exactly the same. The TS bindings allow passing & fetching quote in sendMetaTxn & feeOptions calls respectively. This capability is missing the Go rpc bindings (or atleast I couldn't figure it out).

Edit: feeOptions method is missing in the Go relayer bindings 😞

Please advise with achieving the same result as the docs with Go client. Thanks

0xbsa avatar Apr 19 '23 11:04 0xbsa

My understanding is that I'll need gas quotes from the relayer in order to craft the gas payment transaction using a (potentially) non-native token for gas. Is this correct?

0xbsa avatar Apr 20 '23 05:04 0xbsa

@pkieltyka would you mind taking a look?

0xbsa avatar Apr 24 '23 07:04 0xbsa