VitaliyShulik/launchpad

Storage Multichain

Opened this issue · 0 comments

iv7dev commented

Hello, how could I make it use the storage in bnb or in polygon? I think that here is the question. I have tried several modifications without success.

/src/constants/index.js

const BSC = 56;
const MATIC = 137;
const MUMBAY = 80001;


const network = 'bsc';
let networkId;

if (process.env.NODE_ENV === 'production') {
  networkId = network === 'bsc' ? BSC : MATIC;
} else {
  networkId = MUMBAY;
}

export const STORAGE_NETWORK_ID = networkId;