GithubHelp home page GithubHelp logo

jasperalexander / seaport-frontend Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 6.0 2.61 MB

The frontend of an example implementation of the Seaport marketplace protocol for educational purpose.

TypeScript 59.42% Solidity 40.29% JavaScript 0.19% CSS 0.10%
hardhat nextjs seaport swr typescript vanilla-extract wagmi zustand

seaport-frontend's Introduction

Warning

16 april 2024: I'm archiving this repository because I don't have time to maintain it and the code is too outdated.

openfish-logo-1

Seaport implementation (frontend)

Seaport is a marketplace protocol for safely and efficiently buying and selling NFTs. This is the frontend of an example implementation for educational purpose. The implementation also includes a backend.

The frontend is written in Typescript and uses Next.js as framework. The packages that are being used include Hardhat (Ethereum development environment), Vanilla-extract (styling), Zustand (global state management), SWR (database fetching) and Wagmi (blockchain fetching).

Installation

  1. Install seaport-backend.

  2. Install a web3-provider, like MetaMask.

  3. Open a Command Line Interface (CLI) and clone this repository:

git clone https://github.com/JasperAlexander/seaport-frontend.git
  1. Inside the repository, run the following command to install the dependencies:
yarn install

Getting Started

  1. Run seaport-backend.

  2. Open a new CLI. Compile the Seaport marketplace contracts:

npx hardhat compile
  1. Spin up an instance of Hardhat Network:
npx hardhat node
  1. Open a new CLI. Deploy the contracts to the instance of Hardhat Network:
npx hardhat run scripts/deploy.js --network localhost
  1. Run the development server:
yarn dev
  1. Open http://localhost:3000 with your browser to see the example implementation of the Seaport marketplace protocol.

Contributing

Contributions are very welcome. Feel free to ask questions at the Discussions tab or reach out to one of the contributors.

seaport-frontend's People

Contributors

jasperalexander avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

seaport-frontend's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.