> For the complete documentation index, see [llms.txt](https://velora-1.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://velora-1.gitbook.io/docs/readme.md). Agents can also search and read this documentation through its [MCP server](https://velora-1.gitbook.io/docs/~gitbook/mcp).

# Velora — Token Distribution Protocol

Velora is a Solana on-chain program for distributing SPL tokens on configurable vesting schedules. A creator locks tokens into a program-controlled vault, and the protocol releases them to a recipient according to a schedule defined at creation time.

Built with [Anchor](https://www.anchor-lang.com/) 0.32.1.

* **Program ID:** `Fwboky3ufxoT43egazAymFmjyAtJVDJLVJs977oLSN4V`
* **Cluster:** Devnet (mainnet not yet deployed)
* **Source:** [github.com/ranggays/token-distribution-protocol](https://github.com/ranggays/token-distribution-protocol)

## What it does

A **stream** locks `total_amount` of one SPL token in a per-stream vault PDA and releases it to the recipient over time. The release curve is one of four schedule types:

| Schedule        | Behaviour                                                                                   |
| --------------- | ------------------------------------------------------------------------------------------- |
| **Linear**      | Tokens unlock continuously from `start_timestamp` to `end_timestamp`                        |
| **Cliff**       | All tokens unlock at a single point (`cliff_timestamp`)                                     |
| **CliffLinear** | A lump sum (`cliff_amount`) unlocks at the cliff, the remainder streams linearly to the end |
| **Milestone**   | A release authority unlocks the full amount manually                                        |

Withdrawals are **pull-based**: the recipient calls `withdraw` whenever they want to claim whatever has unlocked so far. Streams can be made cancellable, with the cancel right assigned to the creator only, either party, or neither.

## Where to start

* New here? Read [Getting Started](https://velora-1.gitbook.io/docs/getting-started.md) to build and run locally.
* Integrating? Jump to the [Integration Guide](https://velora-1.gitbook.io/docs/guides/integration.md) for a copy-pasteable stream creation flow.
* Need exact parameters and error codes? See the [Instruction Reference](https://velora-1.gitbook.io/docs/instruction-reference/instructions.md).

## Status

This is a hackathon-stage protocol (Mancer × Superteam Indonesia Career Accelerator S1, Team 5). It is deployed to devnet and covered by an integration test suite, but has **not** been independently audited. Do not use with mainnet funds.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://velora-1.gitbook.io/docs/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
