# Gnosis Chain (xDai)
RelayHub: 0x727862794bdaa3b8Bc4E3705950D4e9397E3bAfd (opens new window)
Forwarder: 0x7eEae829DF28F9Ce522274D5771A6Be91d00E5ED (opens new window)
VersionRegistry: 0x7380D97dedf9B8EEe5bbE41422645aA19Cd4C8B3 (opens new window)
Accept-Everything Paymaster: 0x9e59Ea5333cD4f402dAc320a04fafA023fe3810D (opens new window)
# Recommeneded Server configuration
gsn-relay-config.json:
{
"baseRelayFee": 0,
"pctRelayFee": 70,
"versionRegistryAddress": "0x7380D97dedf9B8EEe5bbE41422645aA19Cd4C8B3",
"ownerAddress": "<OWNER_ADDRESS>",
"gasPriceFactor": 1,
"confirmationsNeeded": 1,
"maxGasPrice": 600e9,
"ethereumNodeUrl": "https://rpc.gnosischain.com"
}
# Recommeneded client configuration
// add the following fields to your GSNConfig:
const gsnConfig: Partial<GSNConfig> = {
relayLookupWindowBlocks: 6e5,
relayRegistrationLookupBlocks: 6e5,
pastEventsQueryMaxPageSize: Number.MAX_SAFE_INTEGER,
}
const gsnProvider = RelayProvider.newProvider({provider: web3Provider, config: gsnConfig})
await gsnProvider.init()