To get started with this project, clone this repo and follow these commands:
- Run
npm install
at the root of your directory - Run
npm run start
to start the project - Start coding!
Smart contracts are immutable. That means changing a contract requires a full redeploy. This event will generate a brand new contract and it will reset all the variables. Basically, we'd lose all our NFT data if we wanted to update the contract's code.
If you really want to change your contract, you need to do 3 things:
- Deploy contract again on backend
- Update contract address on frontend
- Update abi file on frontend