Skip to content

Mameta29/shape_nft_marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shape_NFT_MarketPlace

How to start

  1. create .env file in backend directory & .env.local file in frontend directory
  2. 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
  1. install modules
cd frontend && npm i
cd backend && npm i
  1. deploy contract
cd backend && npm run deploy --network <network_name>

result example

=================================================================
NFTMarket deployed to:  0xA1a196ee107067Bf34F69fadb4997Ab2D5f66827
=================================================================
  1. start frontend
cd frontend && yarn dev

contract address

network contract address
Munmbai Network 0
Shibuya Network 0
Shiden 0
Avalanche testnet 0
goerli 0x290C4c22069B6801f2ba587A8cBba87d37d4980C
sepolia 0
BSC Testnet 0
Astar Network 0

参考文献

  1. jsmasterypro-nft-marketplace
  2. ERC721: transfer caller is not owner nor approved
  3. sepolia faucet
  4. sepolia faucet2

開発メモ

  1. NFT作成の際に日本語ではなく英語入力にする 👉postの際に日本語の情報をヘッダに入れることでエラーとなる。