Technology | Description |
---|---|
Solidity | Writing Smart Contracts |
Javascript | React & Testing |
Ethers | Blockchain Interaction |
Hardhat | Development Framework |
Ipfs | Metadata Storage |
React Routers | Navigational Components |
$ cd opensea-lite
$ npm install
$ cd nft_marketplace
$ npx hardhat node
- Copy the private key of the addresses and import it into Metamask.
- Connect your Metamask to the Hardhat blockchain, network 127.0.0.1:8545.
- If you haven't added Hardhat to the list of networks on your Metamask:
- Open up a browser, click the fox icon.
- Click the top center dropdown button listing all available networks, then click "Add Network."
- A form should pop up. Enter "Hardhat" for the "Network Name" field.
- Enter "http://127.0.0.1:8545" for the "New RPC URL" field.
- Enter "31337" for the chain ID. Click save.
$ npx hardhat run src/backend/scripts/deploy.js --network localhost
$ npx hardhat test
$ npm run start
MIT