| Environment/Network | Core (StarkEx Bridge) Contract | User Registration Contract |
|---|---|---|
| Sandbox (Goerli) | 0x7917edb51ecd6cdb3f9854c3cc593f33de10c623 | 0x1c97ada273c9a52253f463042f29117090cd7d83 |
| Production (Mainnet) | 0x5fdcca53617f4d2b9134b29090c87d01058e27e9 | 0x72a06bf2a1CE5e39cBA06c0CAb824960B587d64c |
You will need an Ethereum wallet private key to deploy contracts. Also required are API keys for Alchemy and Etherscan to deploy contracts from this repo.
- Make a copy of the
.env.examplefile and rename the file to.env. - Add private keys and API keys to the
.envfile.
Note: All the environment variables in .env need a value or hardhat will throw an error.
You will need an Ethereum wallet private key to deploy contracts. Also required are API keys for Alchemy and Etherscan to deploy contracts from this repo.
- Make a copy of the
.env.examplefile and rename the file to.env. - Add private keys and API keys to the
.envfile.
Note: All the environment variables in .env need a value or hardhat will throw an error.
For each deployment you should update the following .env variables:
CONTRACT_NAMECONTRACT_SYMBOL
The owner of this contract will be the address which deploy it.
If necessary you can change the owner of the contract on chain by calling contract.transferOwnership(ownerAddress)
The concept of collection owner in IMX is crucial. Only the owner will be able to mint to NFT using the IMX API.
run npm run deploy-goerli
run npm run deploy-mainnet