# Blacksail Parlays

## Parlay Overview

A **parlay** is a type of contest where participants purchase tickets for a chance to win a prize. In the context of **Blacksail Parlays**, users can either&#x20;

1. purchase blocks for a chance to win a whitelisted NFT sent directly to the winning wallet address \
   OR
2. users can create their own parlay game with any whitelisted NFT collection on Sonic, specifying the NFT ID, total game price, and duration; to earn Sonic.

## Creating a Parlay on Sonic

1. **Whitelisted NFT Collection**: You can create a parlay using any NFT collection that has been whitelisted on Sonic. This ensures that only verified and approved NFTs are used in the parlay. \
   \
   \&#xNAN;*Note: If you would like to use an NFT from a collection that has not been whitelisted, reach out to the Blacksail team for a whitelist request via Discord or TG.*
2. **NFT ID**: Each NFT in the collection has a unique identification number, known as the NFT ID. This ID is used to specify which NFT is being included in the parlay.
3. **Game Price and Duration**: The game price is the cost associated with participating in the game, and the duration is the length of time the game will run. Options include anywhere from 12 hours to 14 days.
4. **Block Price Setting**: The block price is set based on the game price. This means that the price for each block/ticket of the parlay is determined by the overall game price divided by the number of players.

## Example Game

Let's say you want to create a parlay with the following details:

* **NFT Collection**: Derps
* **NFT ID**: 484
* **Game Price**: 441 Sonic
* **Duration**: 7 days

In this example, the block price will be set based on the 441 Sonic game price, and the parlay will run for 7 days.

<figure><img src="/files/hPg9SVTBZeGWmh44AXqR" alt=""><figcaption><p>Fig 1.1 Deploying a Parlay<br><br></p></figcaption></figure>

## Selecting & Purchasing Blocks

In the Blacksail Parlay game view you can purchase blocks by simply  clicking on the NFT image on the blocks you would like, which will be highlighted as **Blue blocks** and clicking "Purchase Selected Blocks" to acquire the selected tickets.\
\
You will be prompted to approve and submit the transaction via your connected wallet. Purchased (owned) tickets will show up as **green blocks** in the UI, other users tickets will show up as **red blocks**.

<figure><img src="/files/wPLmHq8j5BdzkqekgCzU" alt=""><figcaption><p>Fig 1.2 Purchasing Parlay Squares<br><br></p></figcaption></figure>

## Game Outcomes

1. A user purchased the winning block:
   1. The user that purchased the winning block will receive the NFT from the Parlay contract, sent directly to their wallet that they used to purchase the blocks. The parlay creator will receive their NFT along with the raffle ticket pool (ie the total amount of sonic used to purchase the squares by the players).
2. No user purchased the winning block:
   1. If there is no winner, then the parlay creator will receive their NFT they used to create the game along with the raffle ticket pool (ie the total amount of sonic used to purchase the squares by the players).

## Viewing Previous Games

You can view past Parlays by clicking on the "Archived" tab in the Blacksail Parlays page, here you will be able to view the winning block, along with a direct link to the Parlay game contract and the winning address.&#x20;

<figure><img src="/files/b6kvQoC6mgidyVHzaNah" alt=""><figcaption><p>Fig 1.3 Viewing Previous Games</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blacksail.finance/about-blacksail-finance/blacksail-parlays.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
