> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/Ge0frey/nullgraph/llms.txt
> Use this file to discover all available pages before exploring further.

# Submitting a Null Knowledge Asset (NKA)

> Learn how to submit your unpublished negative research results as an on-chain NKA using the guided 4-step submission form

Null Knowledge Assets (NKAs) are permanent on-chain records of your null results. By submitting an NKA, you create a discoverable, verifiable asset that can be referenced, traded, and used to claim bounty rewards.

<Note>
  Before submitting an NKA, make sure you have [set up your Phantom wallet](/guides/wallet-setup) and connected it to Solana devnet.
</Note>

## What You'll Need

Before starting your submission, gather the following information:

* **Hypothesis**: The hypothesis you tested (up to 128 characters)
* **Methodology**: Your experimental approach (up to 128 characters)
* **Expected vs. Actual Outcomes**: What you expected to happen and what actually happened (128 characters each)
* **Statistical Data** (optional): p-value and sample size
* **Data File** (optional): Any supporting data file (CSV, PDF, JSON, etc.)

## Submission Process

<Steps>
  ### Navigate to the Submit Page

  1. Open NullGraph in your browser at `https://nullgraph.vercel.app`
  2. Click **Submit** in the navigation bar
  3. Ensure your Phantom wallet is connected (you'll see your wallet address in the top right)

  ### Step 1: Hypothesis & Methodology

  The first step captures the core of your research question.

  **Hypothesis Field**

  * Describe what hypothesis you tested
  * Be specific about the expected relationship or effect
  * Example: "Compound X inhibits enzyme Y activity in vitro"
  * Character limit: **128 characters**

  **Methodology Field**

  * Summarize your experimental design
  * Include key details like study type, controls, or techniques
  * Example: "Double-blind randomized controlled trial, n=200, 8-week duration"
  * Character limit: **128 characters**

  <Tip>
    Both fields are required to advance to the next step. A character counter shows your remaining space.
  </Tip>

  ### Step 2: Results & Statistical Data

  This step documents the divergence between expectation and reality—the essence of a null result.

  **Expected Outcome**

  * What outcome did you anticipate based on your hypothesis?
  * Example: "Significant inhibition of enzyme activity (p less than 0.05)"
  * Character limit: **128 characters**

  **Actual Outcome**

  * What actually occurred in your experiment?
  * Example: "No statistically significant effect observed"
  * Character limit: **128 characters**

  **p-value** (optional)

  * Enter your statistical p-value (e.g., `0.87`)
  * Accepts values between 0 and 1
  * Leave blank if not applicable

  **Sample Size (n)** (optional)

  * Enter the number of subjects, samples, or observations
  * Example: `200`
  * Leave blank if not applicable

  <Note>
    Both Expected Outcome and Actual Outcome are required fields. Statistical data is optional but recommended for scientific rigor.
  </Note>

  ### Step 3: Data Attachment (Optional)

  This step allows you to link your NKA to supporting data files while keeping the files themselves off-chain.

  **How It Works**

  1. Click the upload area to select a file from your computer
  2. Any file type is supported (CSV, PDF, JSON, Excel, etc.)
  3. NullGraph computes a **SHA-256 hash** of your file using your browser's Web Crypto API
  4. Only the hash (a 64-character fingerprint) is stored on-chain
  5. The file itself remains in your possession

  **Why Use a Data Hash?**

  * Creates a tamper-proof link between your on-chain record and your dataset
  * Proves data integrity without revealing the data publicly
  * Enables future verification if you share the file privately

  <Tip>
    If you don't upload a file, a zero hash (`0x0000...0000`) will be used. You can still submit a valid NKA without data.
  </Tip>

  ### Step 4: Review & Submit

  The final step shows a summary of all your entered information.

  **Review Your Data**

  * Hypothesis
  * Methodology
  * Expected Outcome
  * Actual Outcome
  * p-value (if provided)
  * Sample Size (if provided)
  * Data Hash (if file uploaded)

  **Submit to Chain**

  1. Click the **Submit to Chain** button
  2. Your Phantom wallet will prompt you to approve the transaction
  3. Review the transaction details:
     * Program: NullGraph Anchor Program
     * Accounts: ProtocolState, NullResult PDA, System Program
     * Cost: \~0.01 SOL for account rent
  4. Click **Approve** in Phantom
  5. Wait for transaction confirmation (usually 1-2 seconds on devnet)

  <Warning>
    Once submitted, your NKA is permanent and cannot be edited or deleted. Double-check all fields before approving the transaction.
  </Warning>
</Steps>

## After Submission

Once your transaction confirms:

1. You'll be automatically redirected to your NKA detail page
2. Your NKA receives a unique specimen identifier (e.g., `NKA-0042`)
3. It becomes immediately visible on the [Dashboard](/dashboard)
4. You can now [submit it to bounties](/guides/claiming-bounties) to earn BIO tokens
5. The NKA is stored as a Program Derived Address (PDA) owned by the NullGraph program

## Understanding Your NKA

**On-Chain Data Stored**

* Researcher wallet address (your Phantom public key)
* Specimen number (auto-incrementing counter)
* All text fields (hypothesis, methodology, outcomes)
* Statistical data (p-value as fixed-point integer, sample size)
* Data hash (SHA-256 bytes)
* Status (default: Pending)
* Creation timestamp (Unix time)

**Status Values**

* **Pending** (0): Initial status for all new NKAs
* **Verified** (1): Community-verified (future feature)
* **Disputed** (2): Flagged for review (future feature)

## Common Questions

**Can I edit my NKA after submission?**

No. NKAs are immutable on-chain records. This ensures data integrity and prevents manipulation after bounty claims.

**How much does it cost to submit an NKA?**

You'll pay a small SOL transaction fee (\~0.00001 SOL) plus rent for the account storage (\~0.01 SOL). The rent is recoverable if you close the account in the future.

**Can I submit multiple NKAs?**

Yes! Each submission creates a new NKA with a unique specimen number. There's no limit to how many you can create.

**What if I don't have a p-value or sample size?**

These fields are optional. Many qualitative studies or observational results don't have traditional statistical measures—you can still submit valid NKAs.

**Who can see my NKA?**

All NKAs are public and visible on the NullGraph dashboard. The data file itself (if you uploaded one) remains private—only its hash is public.

## Next Steps

<CardGroup cols={2}>
  <Card title="Browse NKAs" icon="grid-2" href="/dashboard">
    View all submitted Null Knowledge Assets
  </Card>

  <Card title="Claim Bounties" icon="coins" href="/guides/claiming-bounties">
    Submit your NKA to open bounties
  </Card>
</CardGroup>
