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

What Migrations.sol is used for? #196

Open
GinoPiazza opened this issue Mar 2, 2022 · 1 comment
Open

What Migrations.sol is used for? #196

GinoPiazza opened this issue Mar 2, 2022 · 1 comment

Comments

@GinoPiazza
Copy link

Hi, I'm new to NFT smart contracts and I would like to deploy only the Creature and the CreatureFactory contracts but I cannot understand what Migrations.sol do since it is not well documented. What is it used for? Is it necessary to deploy it to allow proper listing (with the possibility to sell items) on OpenSea or can it be avoided?
Thanks in advance to whoever will answer, I really appreciate it.

@thomasoss
Copy link

Migrations.sol has nothing to do with the Creature contracts. It is a technical piece of the Truffle framework. If you use Truffle to deploy your contracts this contract always will be deployed together with your contracts. You do not need to do anything about it. Just let it be as it is. If you use any other framework like Hardhat or Brownie you can delete the contract or ignore it in the deployment scripts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants