# Deploy NFT (public infura api) * Infura上串接blockchain API--->拿到project id ![](https://i.imgur.com/R36Gm1T.png) [Infura](https://infura.io/dashboard/ethereum/1160395b78a540219c9f3dfe24656e43/settings) --- ## set ProjectID 和 Privatekey * set WEB3_INFURA_PROJECT_ID=1160395b78a540219c9f3dfe24656e43 * set PRIVATE_KEY=a86efda899a783864e730ccf2f53ce9560f41e8a601ad5feaaa0b5a367c24162 --- ## Deploy smart contract on rinkeby testnet ![](https://i.imgur.com/GBesa04.png) ![](https://i.imgur.com/V8begSS.png) ## Deploy to opensea ![](https://i.imgur.com/hz2cOfo.png) --- ## Etherscan上記錄 smart contract transaction ![](https://i.imgur.com/NE2Xraw.png =x350) [rinkeby上紀錄transaction record](https://rinkeby.etherscan.io/address/0x57bb0b59f1fAa1DF98EcC287c920ed865a9C7d61) --- ## Automate Deploying NFT [Automate NFT--->ERC-721](https://docs.openzeppelin.com/contracts/4.x/wizard) [How to Use OpenZeppelin Defender](https://www.youtube.com/watch?v=F5lPdt4LxT4)