# Solana Hackathon

Participating in a **Solana hackathon**? Here is the fastest way to add swaps.

[Chainflip](https://chainflip.io/) is a decentralised protocol for native cross-chain swaps with low slippage, covering Bitcoin, Ethereum, Solana, Polkadot (Asset Hub), Arbitrum, Tron and BNB Smart Chain (BSC).

With Broker as a Service (**BaaS**) you can integrate Chainflip into your project in minutes.

## Features

Allow your users to swap between assets such as:

* Solana (**SOL**)
* Ethereum (**ETH**)
* Ethereum on Arbitrum (**arbETH**)
* Bitcoin (**BTC**)
* Polkadot on Asset Hub (**DOT**)
* Chainflip (**FLIP**)
* USDC on Ethereum, Arbitrum, Solana and Asset Hub
* USDT on Ethereum, Arbitrum, Solana, Asset Hub, Tron and BNB Smart Chain (BSC)
* WBTC (**WBTC**), cbBTC (**CBBTC**), TRX (**TRX**) and BNB (**BNB**)

The full, current list lives in the [`/assets` endpoint](https://docs.chainflip-broker.io/features/view-assets/).

Solana minimums, token mints, address rules and vault swaps are on the [Solana Swap API](https://docs.chainflip-broker.io/chains/solana/) page.

You can even configure a commission on each swap to implement your revenue model.

A simple HTTP API, with included Swagger documentation, is the only thing you need to call.

## Quick Start

### Register

Start by [registering on testnet](https://perseverance.chainflip-broker.io/register) to get an API key.

The registration flow consists out of a single step:

* [Create your API key](https://docs.chainflip-broker.io/register/register-account/) for Chainflip as a Broker.

### Implement the API

Once you have your API key, use the [API Documentation](https://docs.chainflip-broker.io/resources/api-documentation/) to integrate **BaaS** into your application and quickly get started with swapping. 

The main features you will need are [Asking for a Quote](https://docs.chainflip-broker.io/features/ask-quote/), [Starting a Swap](https://docs.chainflip-broker.io/features/start-swap/) and [Get Swap Status](https://docs.chainflip-broker.io/features/get-status/).

We have a [Testing](https://docs.chainflip-broker.io/environments/testing/) and [Production](https://docs.chainflip-broker.io/environments/production/) environment available.

### Deploy to Production

After integrating **BaaS**, [repeat the registration on mainnet](https://chainflip-broker.io/register) to get your final API key.

That's it, you have integrated Chainflip. Go and show off what you created!

### Get Support

If you get stuck at any point, [contact us](https://docs.chainflip-broker.io/resources/contact/) and we will work through it with you.
