Skip to content

Commit

Permalink
Merge pull request #70 from Itheum/develop
Browse files Browse the repository at this point in the history
fix: remove devnet2 config
  • Loading branch information
newbreedofgeek authored Oct 12, 2023
2 parents ac00f95 + 696c64c commit 3c9ecc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itheum/sdk-mx-data-nft",
"version": "2.1.4",
"version": "2.1.5",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
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: ''
};

0 comments on commit 3c9ecc9

Please sign in to comment.