Submitting txs to GSN contracts in Go

Hi,

Is there an example of submitting txs to GSN contracts from a Golang app that I can refer to?

Thanks!

1 Like

Hi @meh_blah,

I haven’t come across an example of sending relayed calls to the Gas Station Network from a Golang app.

Please note, that we are sending a http request to the relayer with some signed data (which is what the GSN provider does) rather than calling a contract.

There is a guide on how this is done from JavaScript: https://docs.openzeppelin.com/sdk/2.6/gsn-dapp

I haven’t use Go. I did find an online resource for writing to a smart contract with Go (though we need to send a request to the relayer):
https://goethereumbook.org/en/smart-contract-write/

Perhaps someone in the community might have experience with this.

2 posts were split to a new topic: How to find a GSN Relayer URL