Giter Site home page Giter Site logo

ic-nft-marketplace's Introduction

๐Ÿญ Jelly - An NFT Marketplace & Toolkit

Conventional Commits Healthcheck

The NFT Marketplace is the backend Service for our DIP-721 implementation, and soon a multi-standard NFT Marketplace.

๐Ÿšง IMPORTANT ๐Ÿšง - Jelly is currently in it's first version of development as we move towards a full marketplace protocol. This repo should be treated and such and is subject to change.

๐Ÿ“’ Table of Contents

โš™๏ธ Requirements

TLDR; We're providing implementation examples and related test or use-cases for your convinence, if you are just interested in the specifications find it here.

The requirements listed here are for running the DIP-721 example implementations that are available in this repository. If you are just interested in the specification for DIP-721 follow the link here.

  • Nodejs
  • Yarn or NPM
  • The DFX SDK to run the CLI

๐Ÿ’ก During the guide we'll be using yarn, but this can be easily replaced by npm, if that's your preference.

๐Ÿค” Getting started

We'll use Nodejs package.json to provide and describe convenient methods to bootstrap, build or reset the state of the provided test cases.

Jelly interacts with Cap, Dab, Crowns (a DIP-721 token) and wICP (a DIP-20 token). If you haven't learn about these, learn more about them by clicking in the available links!

Jelly runs against these Service canisters, on mainnet and also within the local replica network when developing; As such these should be available in the network. For example, for local replica network, if you're already running the Service separatily on your own, feel free to skip the steps to initialise all the dependencies mentioned below. Otherwise, you have to pull and initialise the Git repositories far all the required Services as follows:

yarn services:init

You only need to do it once, for example, after you cloned the Marketplace Services repository.

Note: Make sure you have the DFX SDK installed to run the DFX cli, otherwise visit the Dfinity for instructions

Launch the local replica in the foreground (you're advised to do it, to monitor the service, otherwise feel free to add the --background flag). You can open a new shell session afterwards while monitoring the local replica network.

dfx start --clean

Running the Service dependencies

The following assumes that the local replica network is available and running. It's recommended to run the reset command everytime you need to initialse it.

yarn reset

๐Ÿ’ก If you don't know how to start a local replica check the getting started, or the documentations in the Dfinity docs for more details.

๐Ÿ˜… TLDR; Run all the required services by executing the services:start command.

yarn services:start

Bare in mind that you'll have to deploy the DIP-721, set allowances, etc on your own, depending on your use-case.

The ๐Ÿš‘ Healtcheck provides a description of how this can look like for the use-case where a DIP-721 is listed for sale, a user gets a sale offer and accepts it.

yarn marketplace:healthcheck

๐Ÿ’ก If you'd like to know which services and how they are initialised then check the Service dependencies document, as this might be useful for troubleshooting.

๐Ÿ™ Contributing

Create branches from the main branch and name it in accordance to conventional commits here, or follow the examples bellow:

test: ๐Ÿ’ Adding missing tests
feat: ๐ŸŽธ A new feature
fix: ๐Ÿ› A bug fix
chore: ๐Ÿค– Build process or auxiliary tool changes
docs: โœ๏ธ Documentation only changes
refactor: ๐Ÿ’ก A code change that neither fixes a bug or adds a feature
style: ๐Ÿ’„ Markup, white-space, formatting, missing semi-colons...

Find more about contributing here, please!

ic-nft-marketplace's People

Contributors

heldrida avatar ozwaldorf avatar qx-nico avatar michaelmoriarty67 avatar oyinlolub avatar

Watchers

James Cloos avatar

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.