> For the complete documentation index, see [llms.txt](https://snark-health.gitbook.io/snark-health-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://snark-health.gitbook.io/snark-health-docs/snark-health-app-ecosystem/markdown.md).

# Data Marketplace

Solana-based global marketplace for healthcare data trading, built with Anchor framework.

#### ✨Overview and Functionality

This program enables secure, compliant trading of healthcare data on the Solana blockchain. It supports:

* Direct purchases
* Auction-based listings
* Escrow-based payments
* SPL token integration ( HTC, USDC, SOL and other SPL tokens)
* Integration with DSP programs (storage, payment, access control)

#### :gear: Architecture

<https://github.com/snark-health>

#### 🧬Integration With DSP Programs

The marketplace integrates with existing DSP programs:

1. dsp-storage: Storage proof verification
2. dsp-payment: Payment processing
3. dsp-access: Access control and HIPAA compliance

#### :coin: Token Support

HTC Token, Hippocratic Coin USD and other select SPL tokens.

#### :shield:Security Features

1. Escrow System: Payments held in escrow until delivery
2. Access Control: Role-based permissions
3. Pausable: Admin can pause marketplace in emergencies
4. Fee Management: Configurable marketplace fees
5. Validation: Comprehensive input validation

#### :dollar: Fee and Escrow Structure

* Default marketplace fee: TBD
* Maximum fee: TBD
* Fee denominator: TBD

\
**Escrow Duration**

* Default: TBD
* Minimum: TBD
* Maximum: TBD

**Price Limits**

* Default minimum: TBD
* Default maximum: TBD
* Configurable by admin

#### ⚡Events

The program emits events for:

* Data listings created
* Bids placed
* Data purchased
* Payments released
* Listings updated/cancelled
