Skip to content

Commit

Permalink
added devnet-old config
Browse files Browse the repository at this point in the history
  • Loading branch information
radumojic committed Nov 1, 2023
1 parent 4427c65 commit 47b2daa
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 47b2daa

Please sign in to comment.