Skip to content

Commit

Permalink
Merge pull request #13 from multiversx/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
radumojic authored Nov 1, 2023
2 parents 39b8be1 + 32a6dd3 commit bef7ff5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/config/config.devnet-old.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { NetworkType } from 'types/network.types';
import { allApps, schema } from './sharedConfig';
export * from './sharedConfig';

export const networks: NetworkType[] = [
{
default: true,
id: 'devnet-old',
name: 'Devnet Old',
chainId: 'D',
adapter: 'api',
theme: 'testnet',
egldLabel: 'xEGLD',
walletAddress: 'https://devnet-old-wallet.multiversx.com',
explorerAddress: 'https://devnet-old-explorer.multiversx.com',
apiAddress: 'https://devnet-old-api.multiversx.com'
}
];

export const multiversxApps = allApps([
{
id: 'wallet',
url: 'https://devnet-old-wallet.multiversx.com'
},
{
id: 'explorer',
url: 'http://devnet-old-explorer.multiversx.com'
}
]);

networks.forEach((network) => {
schema.validate(network, { strict: true }).catch(({ errors }) => {
console.error(`Config invalid format for ${network.id}`, errors);
});
});

0 comments on commit bef7ff5

Please sign in to comment.