You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// To connect all the above chains to each other, we need the following pathways:
18
+
constbnbContract: OmniPointHardhat={
19
+
eid: EndpointId.BSC_V2_MAINNET,
20
+
contractName: 'ZamaOFT',
21
+
}
22
+
23
+
// We need the following pathways:
19
24
// ZamaGatewayMainnet <-> Ethereum
25
+
// BNB <-> Ethereum
20
26
21
27
// For this example's simplicity, we will use the same enforced options values for sending to all chains
22
28
// For production, you should ensure `gas` is set to the correct value through profiling the gas usage of calling OFT._lzReceive(...) on the destination chain
// To connect all the above chains to each other, we need the following pathways:
18
+
constbnbTestnetContract: OmniPointHardhat={
19
+
eid: EndpointId.BSC_V2_TESTNET,
20
+
contractName: 'ZamaOFT',
21
+
}
22
+
23
+
// We need the following pathways:
19
24
// ZamaGatewayTestnet <-> Sepolia
25
+
// BNBTestnet <-> Sepolia
20
26
21
27
// For this example's simplicity, we will use the same enforced options values for sending to all chains
22
28
// For production, you should ensure `gas` is set to the correct value through profiling the gas usage of calling OFT._lzReceive(...) on the destination chain
0 commit comments