- create
.env
file in backend directory &.env.local
file in frontend directory - enter your APIKey & privatekey
ALCHEMY_GOERLI_URL=YOUR_DATA
ALCHEMY_MUMBAI_URL=YOUR_DATA
PRIVATE_KEY=YOUR_DATA
NEXT_PUBLIC_PROJECT_ID=YOUR_DATA
NEXT_PUBLIC_PROJECT_SECRET=YOUR_DATA
- install modules
cd frontend && npm i
cd backend && npm i
- deploy contract
cd backend && npm run deploy --network <network_name>
result example
=================================================================
NFTMarket deployed to: 0xA1a196ee107067Bf34F69fadb4997Ab2D5f66827
=================================================================
- start frontend
cd frontend && yarn dev
network | contract address |
---|---|
Munmbai Network | 0 |
Shibuya Network | 0 |
Shiden | 0 |
Avalanche testnet | 0 |
goerli | 0x290C4c22069B6801f2ba587A8cBba87d37d4980C |
sepolia | 0 |
BSC Testnet | 0 |
Astar Network | 0 |
- jsmasterypro-nft-marketplace
- ERC721: transfer caller is not owner nor approved
- sepolia faucet
- sepolia faucet2
- NFT作成の際に日本語ではなく英語入力にする 👉postの際に日本語の情報をヘッダに入れることでエラーとなる。