-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathcollection.config.js.dist
70 lines (53 loc) · 2.55 KB
/
collection.config.js.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
require('dotenv').config();
const web3 = require('web3');
const hre = require('hardhat');
const { loadContract } = require('@0xflair/contracts-registry');
const { FLAIR_OPENSEA_ADDRESSES } = require('@0xflair/react-nft-collections');
const forwarderArtifact = loadContract(
'common/meta-transactions/UnorderedForwarder',
LATEST_VERSION,
);
module.exports = {
// Name of the collection shown in EtherScan and OpenSea
name: 'Flair Angels',
// Description of collection stored in contract-level metadata shown in OpenSea
description:
'Angels will help bring Flair.Finance to life and make our decentralized world a safer place.',
// Token tracker symbol shown in EtherScan
symbol: 'ANGEL',
// Price of minting
preSalePrice: web3.utils.toWei('0.06'), // 0.06 ETH
publicSalePrice: web3.utils.toWei('0.08'), // 0.08 ETH
// Total number of tokens in your collection
maxSupply: 8000,
// Number of pre-sale mints possible for each allow-listed address
preSaleMaxMintPerWallet: 2,
// Number of mints possible on each transaction
publicSaleMaxMintPerTx: 10,
// Primary image of collection stored in contract-level metadata shown in OpenSea
collectionImage: 'assets/contract/image.png',
// Image (or gif) for NFT placeholders before the reveal
unrevealedPlaceholder: 'assets/contract/placeholder.png',
// Website of collection stored in contract-level metadata shown in OpenSea
externalLink: 'https://flair.finance',
// Royalty fee for secondary sales (on Rarible, OpenSea, LooksRare)
defaultRoyaltyBps: 500, // Indicates a 5% seller fee.
// Receiver of the royalty fees
defaultRoyaltyAddress: '0xc997c206650cc62248a8514e2f60cbe29a24800f',
// OpenSea registry address to avoid additional approval when collectors want to list on OS
openSeaProxyRegistryAddress: FLAIR_OPENSEA_ADDRESSES[
hre.network.config.chainId
]
? FLAIR_OPENSEA_ADDRESSES[hre.network.config.chainId].registryAddress
: '0x0',
openSeaExchangeAddress: FLAIR_OPENSEA_ADDRESSES[hre.network.config.chainId]
? FLAIR_OPENSEA_ADDRESSES[hre.network.config.chainId].exchangeAddress
: '0x0',
// Address of the trusted forwarder contract when using meta-transactions (i.e. trustless minting from a backend API)
trustedForwarder: forwarderArtifact.address[hre.network.config.chainId]
? forwarderArtifact.address[hre.network.config.chainId]
: '0x0',
// Pinata API and Secret Keys to upload and pin metadata for NFTs and contract (you must edit .env file)
pinataApiKey: process.env.PINATA_API_KEY,
pinataSecretKey: process.env.PINATA_SECRET_KEY,
};