https://github.com/bnb-chain/mindpress-data-marketplace-smart-contract

https://github.com/bnb-chain/mindpress-data-marketplace-smart-contract

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: bnb-chain
  • License: agpl-3.0
  • Language: Solidity
  • Default Branch: master
  • Size: 347 KB
Statistics
  • Stars: 3
  • Watchers: 8
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License

README.md

Mind Marketplace Contract

Overview

MindPress Data Marketplace is a demo built on the BNB Smart Chain and BNB Greenfield storage chains. It uses the image trading scenario as an example to demonstrate the use of BNB Greenfield's latest release (V1.6&V1.7), such as cross-chain programmability, delegate upload, and sponsor-paid storage fees. With these features, developers can easily create a web3 decentralized trading platform based on the BNB Chain ecosystem with a great user experience and comprehensive functions such as storage, trading, and content permission management, thereby accelerating project development and marketing.

Features

As an image stock, sellers can upload and list photos for sale, while buyers can search for images they like, buy, and download the original files.

Seller

  • Upload objects (e.g. images) to BNB Greenfield: Sellers can upload multiple images to BNB Greenfield at once under the BSC network.
  • List objects on the BNB Smart Chain: Sellers can list their uploaded images for sale on the BSC network and begin selling download/view permissions to buyers to earn money.

Buyer

  • Search objects: Buyers can search for objects by name and category ID to find what they want.
  • Buy objects: Buyers can purchase objects and obtain download/view permission.
  • Download objects: Buyers can download/view their purchased objects.

Environment Support

  • BNB Greenfield Mainnet
  • BNB Greenfield Testnet

Technical Design

Tech Stack

  • Solidity
  • Typescript
  • Foundry

Architecture Diagram

Technical Considerations

Upcoming Changes

  • Delist objects
  • List process optimization from 2 steps to 1 step

Install

To install dependencies:

bash git clone --recurse-submodules https://github.com/bnb-chain/mind-marketplace-contract.git && cd mind-marketplace-contract yarn install forge install

Deploy

  1. Copy .env.example and setup OP_PRIVATE_KEY and OWNER_PRIVATE_KEY in .env.

bash cp .env.example .env

  1. Deploy with hardhat.

bash npx hardhat run scripts/1-deploy.ts --network bsc-testnet

Documentation

| Description | | ------------------------------------------------------------------------------------------------------------ | | BNB greenfield official website | | Guide to BNB Greenfield | | Discord of BNB Greenfield | | Forum of bnbchain | | Guide to BNB Greenfield |

Owner

  • Name: bnb-chain
  • Login: bnb-chain
  • Kind: organization

For BNB Chain: BNB Smart Chain, BNB Beacon Chain

GitHub Events

Total
  • Watch event: 1
  • Member event: 1
  • Issue comment event: 1
  • Pull request event: 1
Last Year
  • Watch event: 1
  • Member event: 1
  • Issue comment event: 1
  • Pull request event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Total issue authors: 0
  • Total pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 43 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • cosinlink (3)
  • pythonberg1997 (2)
  • forcodedancing (1)
Top Labels
Issue Labels
Pull Request Labels