Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit baa2037

Browse files
Merge pull request #24 from blockinator/master
Update minting instructions
2 parents 0640cfb + 65fe1a0 commit baa2037

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ yarn
7070
```
7171
export INFURA_KEY="<infura_key>"
7272
export MNEMONIC="<metmask_mnemonic>"
73-
yarn truffle migrate --network rinkeby
73+
truffle migrate --network rinkeby
7474
```
7575

7676
### Deploying to the mainnet Ethereum network.
@@ -105,9 +105,9 @@ After deploying to the Rinkeby network, there will be a contract on Rinkeby that
105105

106106
```
107107
export OWNER_ADDRESS="<my_address>"
108-
export NFT_CONTRACT_ADDRESS="<deployed_contract_address>"
108+
export FACTORY_CONTRACT_ADDRESS="<deployed_contract_address>"
109109
export NETWORK="rinkeby"
110-
node scripts/mint.js
110+
node scripts/advanced/mint.js
111111
```
112112

113113
Note: When running the minting script on mainnet, your environment variable needs to be set to `mainnet` not `live`. The environment variable affects the Infura URL in the minting script, not truffle. When you deploy, you're using truffle and you need to give truffle an argument that corresponds to the naming in truffle.js (`--network live`). But when you mint, you're relying on the environment variable you set to build the URL (https://github.com/ProjectOpenSea/opensea-creatures/blob/master/scripts/mint.js#L54), so you need to use the term that makes Infura happy (`mainnet`). Truffle and Infura use the same terminology for Rinkeby, but different terminology for mainnet. If you start your minting script, but nothing happens, double check your environment variables.

0 commit comments

Comments
 (0)