Lying flat is a 20 NFT collection on a custom marketplace built on Zora's protocol

Overview

Lying flat is an NFT Marketplace powered by ZORA 🌜 🌞 🌛

The codebase is open for everyone to use it as a boilerplate, customize it and deploy their own.

Why ZORA?

Because by building on top of ZORA V3 Marketplace Protocols you will be able to fully own your on-chain marketplace, premissionless and in a trustless fashion, with all the functionalities you might need and introducing some unique novel features. You can learn more about the importance of building of a public marketplace protocol which is itself a -Hyperstructure- here.

Note: I will not be covering here how to make a ERC721 contract nor uploading artworks/metadata to IPFS or other web3 hosting services. There's a lot of documentation on this, and you can refer to Manifold Studio or Studio721 to make your job easier.


You will be guided step-by-step on how to get your own marketplace running.

Clone the repo

git clone https://github.com/Javier-Szyfer/lyingflat.git

Install dependencies

cd lyingflat
yarn install

if using VSCode enter the command code . to launch the editor with the repo inside.

Then you just enter yarn dev and you'll have lying flat locally hosted : )

Requirements

  • You will need an RPC Ethereum Node provider like Infura or Alchemy to read and write to the blockchain. You can get a free API KEY both for Rinkeby and Mainnet. I read that Alchemy will no longer support Rinkeby.

Zora has their contracts deployed on Ropsten, Rinkeby and Mumbai (Polygon) testnets, but i went straight to Rinkeby.

  • You will need fake ETH to interact with your contract and the Zora Modules. I recommend RinkebyFaucet for this but there are others out there.

  • You will need to create a .env file on the root of the project and fill the provider you've chosen with the corresponding API KEY.

ALCHEMY_ID= Enter your key here without quotes
INFURA_ID= Enter your key here without quotes
  • Go to the Pages directory and you will see a file named app.tsx in which you will see i have Infura as my Provider. Replace it with your own. This site is using Rainbow Kit so you will see my custom theming between lines 37 to 56. You can refer to they awesome docs to further customization.

  • Go to the config directory and change the contractAddress file buy entering your own contract address.

  • On the same directory change LyingFlatABI with your contract's ABI.

  • Make sure when you're testing to change

import { ZORA_INDEX_MAINNET } from '../config/Zora'

to

import { ZORA_INDEX_RINKEBY } from '../config/Zora'

Current Stack, Frameworks and Tooling

This project uses different client services to build the site and to interact with the Ethereum blockchain, i strongly recommend you to get familiarized with these in order to gain control over your marketplace.

This was made by javvvs.eth if you want to follow for more content like this. Also send me a dm if you have questions about this guide.

Good luck :)

You might also like...

NFT listing monitor bot of the marketplace. (Opensea, X2Y2, LooksRare)

NFT listing monitor bot of the marketplace. (Opensea, X2Y2, LooksRare)

NFT Listing Monitor Bot NFT listing monitor bot of the marketplace. Market Coverage Opensea Looksrare X2Y2 Prerequisites Opensea API Key - apply here

Jan 2, 2023

🚀👩‍🚀This repo contains all the files to follow along and implement a MultiChain NFT MarketPlace! Be sure to watch my Youtube tutorials so you can learn and follow along!

🚀👩‍🚀This repo contains all the files to follow along and implement a MultiChain NFT MarketPlace! Be sure to watch my Youtube tutorials so you can learn and follow along!

Multi-Chain NFT Marketplace 🚀 👩‍🚀 This repo contains all the files to follow along and implement a MultiChain NFT MarketPlace! Be sure to watch my

Jan 5, 2023

NFT snipper - Marketplace Front-end

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Sep 27, 2022

⚡⚡NextJS Full NFT Marketplace Application Running with Alchemy SDK. Deploy In Minutes with Smart Contracts Attached

⚡⚡NextJS Full NFT Marketplace Application Running with Alchemy SDK. Deploy In Minutes with Smart Contracts Attached

+ Alchemy SDK Easy Polygon NFT Marketplace NextJS App Be sure to watch my Youtube video so you can learn and follow along! ** THE FILES ATTACHED TO TH

Nov 16, 2022

NFTKastle is an NFT marketplace where users can mint their pictures as NFTs, list their NFTs for sale, and buy NFTs from other users.

NFTKastle NFTKastle is an NFT marketplace where users can mint their pictures as NFTs, list their NFTs for sale, and buy NFTs from other users. NFTKas

Oct 31, 2022

Toaster is a Pure Javascript plugin for displaying toast notifications. It comes with different options e.g custom text or HTML message, duration, custom class, toggle close button, position, custom close icon and backgorund color.

Pure Javascript Toaster Requires Nothing Demo Toaster is a Pure Javascript plugin for displaying toast notifications. It comes with different options

Jun 21, 2022

BOOTFLAT is an open source Flat UI KIT based on Bootstrap 3.3.0 CSS framework

BOOTFLAT is an open source Flat UI KIT based on Bootstrap 3.3.0 CSS framework

BOOTFLAT is an open source Flat UI KIT based on Bootstrap 3.3.0 CSS framework. It provides a faster, easier and less repetitive way for web developers to create elegant web apps.

Dec 25, 2022

Ordered lists, flat or nested, multiple formats ordered lists.

Ordered lists, flat or nested, multiple formats ordered lists.

logseq-plugin-ol 有序列表,单级或多级、多种样式的有序列表。 Ordered lists, flat or nested, multiple formats ordered lists. 使用展示 (Usage) 在想要展示为有序列表的块上添加一个以 #.ol 开头的标签就可以了。有

Jan 1, 2023

This package enables you to define your routes using the flat-routes convention.

This package enables you to define your routes using the flat-routes convention.

Remix Flat Routes This package enables you to define your routes using the flat-routes convention. This is based on the gist by Ryan Florence 🛠 Insta

Jan 3, 2023
Owner
javvvs
Hello !
javvvs
Yet another library for generating NFT artwork, uploading NFT assets and metadata to IPFS, deploying NFT smart contracts, and minting NFT collections

eznft Yet another library for generating NFT artwork, uploading NFT assets and metadata to IPFS, deploying NFT smart contracts, and minting NFT collec

null 3 Sep 21, 2022
Candy Shop is a JavaScript library that allows DAOs, NFT projects and anyone to create an NFT marketplace on Solana in minutes!

Candy Shop (IN BETA) Intro Candy Shop is a JavaScript library that allows DAOs, NFT projects and anyone to create an NFT marketplace on Solana in minu

LIQNFT 111 Dec 15, 2022
Fullstack Dynamic NFT Mini Game built using 💎 Diamond Standard [EIP 2535] 🏃‍♀️Players can use Hero NFT to battle against Thanos ⚔ Heroes can be Healed by staking their NFT 🛡

?? Fullstack Dynamic NFT Mini Game ?? ?? Using Diamond Standard Play On ?? ?? ⏩ http://diamond-dapp.vercel.app/ Project Description ?? Fullstack Dynam

Shiva Shanmuganathan 21 Dec 23, 2022
An NFT Marketplace built with NextJS, Hardhat and Solidity

??️ NFT Marketplace This is a fullstack DApp NFT Marketplace built as a study project to learn more about blockchain and smart contract development. M

Marcelo Kopmann 99 Dec 31, 2022
Kittos is NFT Marketplace built with Next Js, Hardhat, Solidity, Arweave + Bundlr Client and All The CSS Magic with TailwindCSS. 😺

Kittos NFT Marketplace ?? Built with Next Js, Hardhat, Solidity, Arweave, Bundlr and Tailwind CSS. Functionalities New Listed Assets Mint NFT Buy NFT

Aakrut 7 Dec 24, 2022
🐲 Epic NFTs [UI] - Proyecto que te permitirá conectar tu billetera y acuñar un NFT, podrás revender el NFT en OpenSea. El NFT en sí se puede personalizar

?? Epic NFTs [UI] El proyecto se encuentra deployado en Vercel para que puedan verlo e interactuar con él, toda crítica o comentario se agradece, pued

Braian D. Vaylet 17 Oct 22, 2022
Create your own custom NFT minting page using thirdweb's NFT Drop contract

Customizable NFT Drop Minting Page In this example, you can create your own NFT Drop minting page just by customising the template with your branding,

thirdweb examples 59 Dec 24, 2022
NFT Marketplace 2022 - OpenSea

NFT MARKETPLACE - 2022 ?? iv7.dev for a coffee : 0xBE95c56Fe1956804B2E7aD858978A90aF20eeB16 (Nets : BSC, Polygon, ETH) This project was bootstrapped w

Iv7.software 2 Feb 4, 2022
This is NFT minting and marketplace website.

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

NAJI2329 15 Oct 10, 2022
Solana NFT mint website + marketplace

Solana Candy Machine V2 + Candy Shop This repo allows you to sell NFTs through Candy Machine V2 and host your own secondary marketplace with Candy Sho

LIQNFT 91 Jan 2, 2023