如何更改elrond dapp网关?我想使用tatum.io来交换gateway.elrond.com,但是对于elrond模板https://github.com/ElrondNetwork/dapp-template,我不知道怎么做!
<DappProvider
environment={environment}
customNetworkConfig={{
name: 'customConfig',
gatewayAddress:'https://api-eu1.tatum.io/v3/egld/node/id',
apiTimeout: 10000
}}
completedTransactionsDelay={200}
>gateAddress不是一个有效的密钥,只有apiAddress,所以它不能工作。谢谢!
发布于 2022-04-14 09:42:08
这是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;
}正如您所看到的,没有gatewayAddress变量。
你能解释一下你想通过改变网关来做什么吗?
https://stackoverflow.com/questions/71832098
复制相似问题