# Rinkeby Testnet

RelayHub: 0x6650d69225CA31049DB7Bd210aE4671c0B1ca132 (opens new window)

Forwarder: 0x83A54884bE4657706785D7309cf46B58FE5f6e8a (opens new window)

VersionRegistry: 0xedD8C4103acAd42F7478021143E29e1B05aD85C6 (opens new window)

Accept-Everything Paymaster: 0xA6e10aA9B038c9Cddea24D2ae77eC3cE38a0c016 (opens new window)

# Recommeneded Server configuration

gsn-relay-config.json:

{
  "baseRelayFee": 0,
  "pctRelayFee": 70,
  "versionRegistryAddress": "0xedD8C4103acAd42F7478021143E29e1B05aD85C6",
  "ownerAddress": "<OWNER_ADDRESS>",
  "gasPriceFactor": 1,
  "maxGasPrice": 1e12,
  "registrationBlockRate": 1e5,
  "coldRestartLogsFromBlock": 8473788,
  "pastEventsQueryMaxPageSize": 2e4,
  "ethereumNodeUrl": "<NODE_URL>>"
}

# Recommeneded client configuration

  // add the following fields to your GSNConfig:
  const gsnConfig: Partial<GSNConfig> = {
    relayLookupWindowBlocks: 1e5,
    relayRegistrationLookupBlocks: 1e5,
    pastEventsQueryMaxPageSize: 2e4,
  }
  const gsnProvider = RelayProvider.newProvider({provider: web3Provider, config: gsnConfig})
  await gsnProvider.init()