Skip to content

Commit

Permalink
Improving imports structure for easier customization (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
liarco authored Mar 25, 2022
1 parent cb93c9e commit bf6680d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions smart-contract/config/CollectionConfig.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import CollectionConfigInterface from '../lib/CollectionConfigInterface';
import { ethereumTestnet, ethereumMainnet } from '../lib/Networks';
import { openSea } from '../lib/Marketplaces';
import * as Networks from '../lib/Networks';
import * as Marketplaces from '../lib/Marketplaces';
import whitelistAddresses from './whitelist.json';

const CollectionConfig: CollectionConfigInterface = {
testnet: ethereumTestnet,
mainnet: ethereumMainnet,
testnet: Networks.ethereumTestnet,
mainnet: Networks.ethereumMainnet,
// The contract name can be updated using the following command:
// yarn rename-contract NEW_CONTRACT_NAME
// Please DO NOT change it manually!
Expand All @@ -28,7 +28,7 @@ const CollectionConfig: CollectionConfigInterface = {
},
contractAddress: null,
marketplaceIdentifier: 'my-nft-token',
marketplaceConfig: openSea,
marketplaceConfig: Marketplaces.openSea,
whitelistAddresses: whitelistAddresses,
};

Expand Down

0 comments on commit bf6680d

Please sign in to comment.