# Network Avalanche
RelayHub: 0xD2Cf68e21cc3Afe7F2B36B68A8C5b8FaD1b36CDE (opens new window)
Forwarder: 0x2e3e3c36a5D01CCf4637cF9624c9d1033e337EA1 (opens new window)
Accept-Everything Paymaster: 0xb0BF015AF20944f3646950DEC3C78603a117c4c0 (opens new window)
# Recommended Server configuration
gsn-relay-config.json:
{
"relayHubAddress": "0xD2Cf68e21cc3Afe7F2B36B68A8C5b8FaD1b36CDE",
"managerStakeTokenAddress": "0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB",
"ownerAddress": "<OWNER_ADDRESS>",
"gasPriceFactor": 1,
"ethereumNodeUrl": "<NODE_URL>"
}
# List of supported stake ERC-20 tokens and minimal stakes:
Token Name | Value | Address |
---|---|---|
Wrapped Eth | 0.5 wETH | 0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB (opens new window) |
# Recommended client configuration
(Note that on non-testnet networks, you'll need a "real" paymaster)
const gsnProvider = RelayProvider.newProvider({provider: web3Provider, config: {
paymasterAddress: "0xb0BF015AF20944f3646950DEC3C78603a117c4c0"
}})
await gsnProvider.init()