https://github.com/paschal533/opensea-clone
This Project is a fork of Ethereum Boilerplate and demostrates how you can build your own NFT Marketplace. This project of course work on any EVM-compatible blockchain such as Polygon, Avalanche, Binance Smart Chain and other such chains.
https://github.com/paschal533/opensea-clone
Last synced: 10 months ago
JSON representation
This Project is a fork of Ethereum Boilerplate and demostrates how you can build your own NFT Marketplace. This project of course work on any EVM-compatible blockchain such as Polygon, Avalanche, Binance Smart Chain and other such chains.
- Host: GitHub
- URL: https://github.com/paschal533/opensea-clone
- Owner: paschal533
- License: mit
- Created: 2022-01-03T10:26:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-10T16:30:22.000Z (over 4 years ago)
- Last Synced: 2025-04-02T11:01:42.738Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 13.6 MB
- Stars: 36
- Watchers: 1
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Opensea Clone
This Project is a fork of Ethereum Boilerplate and demostrates how you can build your own NFT Marketplace. This project of course work on any EVM-compatible blockchain such as Polygon, Avalanche, Binance Smart Chain and other such chains.

# ⭐️ `Star us`
If this boilerplate helps you build Ethereum dapps faster - please star this project, every star makes us very happy!
# 🚀 Quick Start
📄 Clone or fork `opensea-clone`:
```sh
git clone https://github.com/paschal533/Opensea-clone.git
```
💿 Install all dependencies:
```sh
cd opensea-clone
yarn install
```
✏ Rename `.env.example` to `.env` in the main folder and provide your `appId` and `serverUrl` from Moralis ([How to start Moralis Server](https://docs.moralis.io/moralis-server/getting-started/create-a-moralis-server))
Example:
```jsx
REACT_APP_MORALIS_APPLICATION_ID = xxxxxxxxxxxx
REACT_APP_MORALIS_SERVER_URL = https://xxxxxx.grandmoralis.com:2053/server
```
🔎 Locate the MoralisDappProvider in `src/providers/MoralisDappProvider/MoralisDappProvider.js` and paste the deployed marketplace smart contract address and ABI
```jsx
const [contractABI, setContractABI] = useState();
const [marketAddress, setMarketAddress] = useState();
```
🔃 Sync the `MarketItemCreated` event `/src/contracts/marketplaceBoilerplate.sol` contract with your Moralis Server, making the tableName `MarketItems`
```jsx
event MarketItemCreated (
uint indexed itemId,
address indexed nftContract,
uint256 indexed tokenId,
address seller,
address owner,
uint256 price,
bool sold
);
```
🚴♂️ Run your App:
```sh
yarn start
```