POLYGON 체인의 ERC-721 NFT 생성기입니다.
요청에 의해 업로드한 이미지에 대해서만 NFT를 생성하도록 변경했습니다.
NFT 생성자가 가스비를 내고, NFT를 소유할 수 있습니다.
OpenSea 에서도 확인할 수 있습니다.
자세한 내용은 https://dongkim.lol/posts/project/scam_factory/1_create_nft/#%ED%85%8C%EC%8A%A4%ED%8A%B8%EB%84%B7-%EB%B0%B0%ED%8F%AC 이 링크를 따라가세요
- git clone repository
- open this project on VSCODE
- join PINATA
- get API KEY
- copy .env_example to .env
- modify the .env file
PINATA_GATEWAY=your_pinata_gw_here -> unused PINATA_SECRET_KEY=!!!your_pinata_secret_here!!! DEPLOYED_CONTRACT=0x7eA0E04cCa2d9aFa088DEa118f3C5C472d988F64 DEPLOYED_NETWORK=http://localhost:8545 -> unused
> cd client
> npm install
> npm run dev
- check account, network
- create image using midjurney
- copy and split image
# terminal 1
> git clone <this project>
> cd blockchain
> npx hardhat node
# new terminal tab
> cd blockchain
> npx hardhat run scripts/deploy.js --network localhost
ScamFactory deployed to: 0x5FbDB2315678afecb367f032d93F642f64180aa3 <--- Remember this hash .. --- (1)
Created collections: Result(0) []
- copy .env_example to .env
- join the https://www.pinata.cloud/
- get API KEY
- PINATA_SECRET_KEY=
here your API KEY
- DEPLOYED_CONTRACT=
here remember hash (1)
> cd client
> npm run dev