Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove devnet2 config #69

Merged
merged 3 commits into from
Oct 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export enum EnvironmentsEnum {
devnet = 'devnet',
devnet2 = 'devnet2',
testnet = 'testnet',
mainnet = 'mainnet'
}
Expand All @@ -15,11 +14,6 @@ const devnetNetworkConfig: Config = {
networkProvider: 'https://devnet-api.multiversx.com'
};

const devnet2NetworkConfig: Config = {
chainID: 'D',
networkProvider: 'https://devnet2-api.multiversx.com'
};

const mainnetNetworkConfig: Config = {
chainID: '1',
networkProvider: 'https://api.multiversx.com'
Expand All @@ -32,50 +26,43 @@ const testnetNetworkConfig: Config = {

export const itheumTokenIdentifier: { [key in EnvironmentsEnum]: string } = {
devnet: 'ITHEUM-a61317',
devnet2: '',
mainnet: 'ITHEUM-df6f26',
testnet: ''
};

export const dataNftTokenIdentifier: { [key in EnvironmentsEnum]: string } = {
devnet: 'DATANFTFT4-3ba099',
devnet2: '',
mainnet: 'DATANFTFT-e936d4',
testnet: ''
}; //[future] list of whitelisted tokens as Data NFTs

export const marketPlaceContractAddress: { [key in EnvironmentsEnum]: string } =
{
devnet: 'erd1qqqqqqqqqqqqqpgqrwtl03qdxjv2e52ta5ry4rg0z7l95neqfsxsp4y4xh',
devnet2: '',
mainnet: 'erd1qqqqqqqqqqqqqpgqay2r64l9nhhvmaqw4qanywfd0954w2m3c77qm7drxc',
testnet: ''
};

export const minterContractAddress: { [key in EnvironmentsEnum]: string } = {
devnet: 'erd1qqqqqqqqqqqqqpgqpd9qxrq5a03jrneafmlmckmlj5zgdj55fsxsqa7jsm',
devnet2: '',
mainnet: 'erd1qqqqqqqqqqqqqpgqmuzgkurn657afd3r2aldqy2snsknwvrhc77q3lj8l6',
testnet: ''
};

export const apiConfiguration: { [key in EnvironmentsEnum]: string } = {
devnet: 'https://devnet-api.multiversx.com',
devnet2: 'https://devnet2-api.multiversx.com',
mainnet: 'https://api.multiversx.com',
testnet: 'https://testnet-api.multiversx.com'
};

export const networkConfiguration: { [key in EnvironmentsEnum]: Config } = {
devnet: devnetNetworkConfig,
devnet2: devnet2NetworkConfig,
mainnet: mainnetNetworkConfig,
testnet: testnetNetworkConfig
};

export const imageService: { [key in EnvironmentsEnum]: string } = {
devnet: 'https://api.itheumcloud-stg.com/datadexapi',
devnet2: 'https://api.itheumcloud-stg.com/datadexapi',
mainnet: 'https://api.itheumcloud.com/datadexapi',
testnet: ''
};