0

How can I change the elrond dapp gateway? I want to use tatum.io in exchange of gateway.elrond.com but with the elrond dapp template https://github.com/ElrondNetwork/dapp-template I don't know how to do it!

  <DappProvider
    environment={environment}
    customNetworkConfig={{ 
      name: 'customConfig',
      gatewayAddress:'https://api-eu1.tatum.io/v3/egld/node/id',
      apiTimeout: 10000 
    }}
    completedTransactionsDelay={200}
  >

gateAddress is not a valid key, only apiAddress so it's not working. Thank you!

Petr Hejda
  • 40,554
  • 8
  • 72
  • 100
paulv
  • 83
  • 2
  • 12

1 Answers1

0

This is the interface of the customNetworkConfig:

export interface CustomNetworkType {
    id?: string;
    chainId?: string;
    name?: string;
    egldLabel?: string;
    egldDenomination?: string;
    decimals?: string;
    gasPerDataByte?: string;
    walletConnectDeepLink?: string;
    walletConnectBridgeAddresses?: string[];
    walletAddress?: string;
    apiAddress?: string;
    explorerAddress?: string;
    skipFetchFromServer?: boolean;
    apiTimeout?: string;
}

As you see, there isn't a gatewayAddress variable.
Could you explain us what you want to do by changing the gateway?

Fargerik
  • 210
  • 2
  • 6