Giter Club home page Giter Club logo

lootexchange's Introduction

The Loot Exchange

The Loot Exchange is a marketplace dedicated to the Loot Universe. It's built by the community, for the community. Contribution is strongly encouraged.

Notable Features

  • No platform fees
    • All royalties (currently 1%) go to a treasury controlled by Loot token holders, to reinvest back into the community.
  • Designed for Loot
    • Includes UX touches like character art and rarity color-coding that general-purpose marketplaces lack.
    • Can also support non-standard Loot features like Extensions and Synthetics
  • Aggregated Order Book
    • Includes both Open Sea orders and native Loot Exchange orders. This helps to avoid fragmented liquidity
  • Open API
    • Fetch metadata and market information. No API keys required.
  • Battle-tested contracts
    • Leverages the same exchange contract as Open Sea (Wyvern), which minimizes risk
    • Anyone who has approved Open Sea for trading does not need to re-approve

Progress

  • Core Front-End design
  • Metadata and Order APIs
  • SDK for signing and submitting orders
  • Support for original Loot Bags
  • Selling UX
  • Purchasing UX
  • Loot-specific rarity data
  • Community treasury for managing royalties
  • Support for More Loot and other derivatives
  • Support for Extensions
  • Show which Loot derivatives
  • Offers UX

For feature requests, create an Issue or join the Discord to discuss.

RoyaltyDAO

A 1% royalty is collected on all trades, and sent to a community-operated treasury. The treasury is controlled by RoyaltyDAO, a fork of the NounsDAO, which implements Compound-style on-chain voting using Loot balances. Rather than trying to be "The DAO", this is simply "a DAO", with the sole purpose of collecting and allocating royalties.

The DAO contract contains a small modification, to account for the fact that the Loot contract does not implement check-pointed balances. In order to prevent voting twice with the same tokens, each vote is tied to a particular token id. The main downside of this technique is that it is less efficient for large token holders to vote (requires multiple transactions), but the flipside is that this helps to democratize voting by taxing whales.

Instead, each vote is tied to a particular

API Endpoints

Use the Base URL of https://api.loot.exchange/ and the following endpoints:

The tokens API supports filters and pagination:

If you are planning to use the API, let us know so that we can cater to your use case.

Project Structure and Setup

The project is still in active development, which means that things might change quickly (eg. structure, configuration). Proceed with caution.

This repository is structured as a Yarn 2 monorepo, consisting of the following packages:

  • web: web client
  • docs: API and SDK documentation (WIP)
  • sdk: SDK for exchange interactions

Since this project is set up as a Yarn 2 monorepo, make sure to always use yarn instead of npm, otherwise some things might not work properly.

In the repository's root directory, run yarn to install all dependencies across all monorepo's packages. Afterwards, specific package commands should be run in the corresponding package directory.

The global commands yarn deps:check and yarn deps:update will help to maintain the same versions across the entire monorepo. After running yarn deps:update, a yarn install is required. To prevent having duplicates in the yarn.lock, you can run yarn dedupe --check and yarn dedupe to apply deduplication.

Get Involved

  • Participate in the poll to decide on Royalties
  • Reach out in the #loot-marketplace-dev Discord channel

lootexchange's People

Contributors

georgeroman avatar lunarmayor avatar ptrwtts avatar ramozdev avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

lootexchange's Issues

Order Cancellation

When viewing a token that has an order on it, there should be an option to cancel it. We just need the button, and then just can implement the logic.

One thing to keep in mind is that if there is multiple orders on an NFT (because you listed on multiple marketplaces or at multiple prices), the next order will become valid after the first one is cancelled. You'll need to cancel them all to truly cancel. This could lead to some weird UX (why is it back, i just cancelled!)

One way to help with this would be to have a "My Orders" page, that shows a simple list of all your orders (including duplicates), and allows you to cancel any of them. We will get an API ready for this. Probably not critical for launch, but soon after.

Update Logo

  • Loot Exchange or Loot.Exchange?
  • Add the emoji?

Deploy DAO Treasury

Fork of NounsDAO with as few changes as possible.

Let's try to get it on Rinkeby to play with.

Start with very low quorum, given that a vote can happen to change quorum.

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.