# Introduction

anetaBTC is a wrapped Bitcoin protocol on Cardano.

## Overview

AnetaBTC is a protocol that allows Bitcoin to be directly wrapped on the Cardano and Ergo blockchains. This allows Bitcoin holders to access the full value of their assets in a secure and efficient manner, enabling them to utilize Cardano decentralized exchanges (DEXs), participate in lending protocols, and more.&#x20;

AnetaBTC serves a similar purpose to wBTC, which is a 1:1 BTC-backed token on the Ethereum blockchain. wBTC is currently the largest wrapped Bitcoin protocol, with over $4 billion of locked Bitcoin value. However, unlike wBTC, the AnetaBTC protocol will evolve to become fully decentralized through three versions.

In August 2023, we launched our [v1 mainnet ](https://app.anetabtc.io)on Cardano.&#x20;

The number of cBTC in circulation can be tracked [here](https://www.taptools.io/charts/token?pairID=0be55d262b29f564998ff81efe21bdc0022621c12f15af08d0f2ddb1.333f12dc7aed82cd3d4c057e28859fadfd677fc93e0662ab4be5942c9e194dc2) and cBTC can be traded [here](https://app.minswap.org/swap?currencySymbolA=\&tokenNameA=\&currencySymbolB=4190b2941d9be04acc69c39739bd5acc66d60ccab480d8e20bc87e37\&tokenNameB=63425443).&#x20;


# Minting cBTC

Here is a guide of minting cBTC on Cardano.

{% file src="/files/tObGpga4Uft4NjmgyVfA" %}

## Minting cBTC Guide

Wrapping Bitcoin onto Cardano utilizing the anetaBTC bridge involves sending Bitcoin to anetaBTC’s bitcoin vault.

The anetaBTC protocol currently supports [Moonshine](https://twitter.com/moonshinewallet) and [Trezor](https://trezor.io/trezor-suite) Wallet.&#x20;

**Guide**

1. Enter the quantity of Bitcoin that you would like to wrap into the anetaBTC user interface.&#x20;
2. From your Bitcoin wallet, send the exact amount of bitcoin denoted on the anetaBTC user interface, and in the **metadata (OP\_RETURN)** of this transaction add your **Cardano enterprise address** that is displayed on the anetaBTC UI.&#x20;
3. Wait for cBTC to arrive in your Cardano wallet. This may take up to 24 hours.

**Important**

**Do NOT send Bitcoin from an exchange address, or without including the provided Cardano address in the Bitcoin transaction.**&#x20;


# Redeeming cBTC

Here is a guide to redeeem cBTC on Cardano.

## Redeeming Video

{% file src="/files/sn9RPHWJ6gBRYRxenFtN" %}

## Redeeming cBTC Guide

Once you have cBTC in your wallet, you can then redeem it for BTC on the Bitcoin network.

**Guide**

1. Connect your Cardano wallet on the anetaBTC user interface.&#x20;
2. Enter the quantity of cBTC that you would like to redeem for BTC.
3. Enter your BTC address to receive the BTC.&#x20;
4. Sign the Cardano wallet transaction to burn the cBTC and wait to receive BTC in your Bitcoin wallet.&#x20;


# cNETA Staking

This documentation highlights how to stake cNETA. cNETA staking is currently scheduled to last 6 months, starting from Monday, March 25th, 2024.

We crafted cNETA staking to be as simple and secure as possible. It does not require to lock your tokens in a smart contract. \
\
To stake your cNETA tokens, simply follow the guide in the [staking portal. ](https://app.anetabtc.io)

There is a total of 0.75 cBTC and 18,000 ERG available over 6 months. This is distributed in even increments every epoch, which occurs every 5 days. This is equal to 0.028033 cBTC and 500 rsERG each epoch. Rewards are distributed proportionally to the amount of total cNETA staked. If you stake 1 million cNETA and there are 10 million cNETA staked, the user could expect to earn 10% of all rewards. \
\
**Staking Specifics**

When you first stake your cNETA, it is considered "live" stake. It takes a full epoch of being staked to be considered "active" stake and then be eligible to earn the rewards, similar to how staking ADA works. <br>

If you stake during epoch 1, your epoch will become active after being staked for the full 2nd epoch, and the first rewards will be available at the start of the 3rd epoch. This means you can expect it to take a maximum of 10 days for rewards to become active. \
\
All claims of cBTC and rsERG will occur on TosiDrop. There are 50 epochs to claim your rewards, and you can claim them each epoch, or let them accumulate over time. You must claim cBTC and rsERG within 10 months of them becoming available. We recommend claiming at least each month. \
\
While the dashboard will immediately display the amount you have staked, it will not become active until you've been staked for an entire epoch. A reliable epoch calendar can be found [here](https://azureada.com/epoch-calendar/).&#x20;

**Support and Questions**

For questions, please join us on Telegram or Discord.&#x20;


# Testnet Guide

Here is a brief overview of using our V2 protocol.

## Features

* Decentralized - 5 Guardians verifying transactions via a multi-sig scheme.
* Accessibility - mint from any Bitcoin wallet, including directly from Binance, Kraken, Coinbase, etc.
* User-friendly - seamless minting and redeeming experience.&#x20;

## Overview

* Use the preprod testnet on Cardano. We recommend Nami or Eternl.
* Setup a Bitcoin testnet wallet. Use the Bitcoin V3 testnet.&#x20;

## Minting Guide (BTC -> cBTC)

1. Input the amount of cBTC you want to mint. Make sure you have the amount available in your Bitcoin wallet.

<figure><img src="https://740598683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiMVezm43d9EIvdNexd11%2Fuploads%2F6GO90JJ6c7SVXgqzvp3f%2FScreen%20Shot%202024-08-07%20at%2012.57.17%20PM.png?alt=media&amp;token=4191ac84-2c13-49c7-854d-4bd7e8e16261" alt=""><figcaption></figcaption></figure>

2. The interface will prompt you to sign a transaction of about 50 ADA. You will get this back upon successful mint.&#x20;

<figure><img src="https://740598683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiMVezm43d9EIvdNexd11%2Fuploads%2FFKmkCL6G1NHMpnpyaQ4m%2FScreen%20Shot%202024-08-07%20at%2012.57.25%20PM.png?alt=media&amp;token=440094eb-d89b-4da5-9561-6cf0d3c7233b" alt=""><figcaption></figcaption></figure>

3. The interface will then prompt you to send the amount of BTC to the Guardians' multi sig vault.&#x20;

<figure><img src="https://740598683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiMVezm43d9EIvdNexd11%2Fuploads%2FhzHs5fU9xaSZbzJXpTEJ%2FScreen%20Shot%202024-08-07%20at%2012.57.40%20PM.png?alt=media&amp;token=93a94aab-8c98-4b6e-8546-1b43ea21176d" alt=""><figcaption></figcaption></figure>

4. Confirm you have sent the transaction.&#x20;

<figure><img src="https://740598683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiMVezm43d9EIvdNexd11%2Fuploads%2FEBfxA6SUn0VSGK9410v4%2FScreen%20Shot%202024-08-07%20at%2012.57.55%20PM.png?alt=media&amp;token=1b193d7e-ce9b-48a3-abc2-dbec0a99dad0" alt=""><figcaption></figcaption></figure>

5. This will then show up in the Transactions tab. You can use the tx ID for support if needed by creating a ticket on Discord.  Your cBTC should be sent to your wallet in about 20 minutes.&#x20;

<figure><img src="https://740598683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiMVezm43d9EIvdNexd11%2Fuploads%2F2vEYGsASKHi5NsDcycZ5%2FScreen%20Shot%202024-08-07%20at%2012.58.17%20PM.png?alt=media&amp;token=90adcd40-c491-4b89-ad2e-3de80c0e4a47" alt=""><figcaption></figcaption></figure>

## Redeeming Guide (cBTC -> BTC)

1. Redeeming is a bit simpler than minting. First, make sure you have enough cBTC to redeem for BTC. Of course, you won't be able to redeem BTC if you don't have enough cBTC. Enter the BTC destination address, which is your Bitcoin wallet address.&#x20;

<figure><img src="https://740598683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiMVezm43d9EIvdNexd11%2Fuploads%2F1bjbsJWwhvSx9dygfaMb%2FScreen%20Shot%202024-08-07%20at%2012.59.14%20PM.png?alt=media&amp;token=fa80f0e1-6a67-4a27-af93-a6dca36a1c37" alt=""><figcaption></figcaption></figure>

2. Confirm the Cardano transaction, which will send the cBTC back to the Guardians and they will send your BTC to your specified address. You can track the status of this transaction in your Transactions tab.&#x20;

<figure><img src="https://740598683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiMVezm43d9EIvdNexd11%2Fuploads%2F7wO0zSrYrgRAnNYn5sYm%2FScreen%20Shot%202024-08-07%20at%2012.59.42%20PM.png?alt=media&amp;token=87612f57-932a-435c-b50f-9a4fd705f960" alt=""><figcaption></figcaption></figure>


# Protocol Explained

This sections explains the technical architecture of all versions of our protocol.

## Open Source Foundations

We are built on the foundations of transparency, open source code, and Know Your Assumptions (KYA).

All anetaBTC code is either already open source or will be open source following proper documentation and audits.

We believe open source code is fundamental for progressing the blockchain industry and aligning the values of decentralization and transparency.

For all versions, anetaBTC is committed to writing open-source code and fostering full KYA to have transparent security assumptions for interacting with the anetaBTC protocol and ultimately protecting users.

## Version 1-3 High Level

AnetaBTC is a research-driven protocol. The birth of AnetaBTC is the combination of concepts from research papers including, but not limited to, Bitcoin, wBTC, REN, Ergo, and Interlay. The key part of our approach is writing smart contracts that send Bitcoin to a vault if a user wants to mint anetaBTC. Upon minting, users will be able to freely use anetaBTC as a Bitcoin-backed asset on the Ergo and Cardano blockchains.

**Version 1** is under our governance and is not decentralized. For v1, there is a public bitcoin address under our governance. Users send it using the wallet address when minting and our backend programmatically sends it out during redemption. V1 has a vault where BTC is sent to our BTC vault and the off-chain code programmatically verifies the BTC deposit transaction containing metadata with the user’s Cardano address. This is the most centralized version and will become fully decentralized as we transition to v3 implementation.

**Version 2** will utilize the Rosen bridge architecture and be under the governance of guardians which consists of well-known projects in the ecosystem and a multi-signature schematic. This approach is uncollateralized and the guardians have custody of the anetaBTC vaults.

**Version 3** will be most decentralized where anyone can run a vault by providing collateral. V3’s solution is inspired by the [Xclaim whitepaper](https://eprint.iacr.org/2018/643.pdf), where vault operators have a vested interest in maintaining the security of the protocol. Vault operators have the ability to act maliciously, but would lose their collateral, which is less than the amount of BTC they have in their custody. In this case, affected users receive more tokens than the amount of BTC they minted on the protocol.

## V1 Technical Architecture

Our technical architecture is designed to prioritize security while also providing an enjoyable user experience when minting and redeeming cBTC.

We believe our implementation is secure as it allows for verifiable and transparent proof of mint and redeem requests on both the Bitcoin and Cardano blockchains.

This is achieved by utilizing metadata to accurately verify the addresses that should receive cBTC or BTC.

Our implementation is based on years of research from the Interlay protocol on Polkadot, as well as research from the Rosen bridge, and our own solution, Mazi, a decentralized, cross-chain address association mechanism for Cardano and Ergo.

Our full V1 technical architecture can be found in our article [here](https://medium.com/@anetaBTC/technical-architecture-and-security-assumptions-3b24edfec871).

## V2 Technical Architecture

V2 is built using the Rosen framework, which comes with enhanced decentralization, as a group of well-known projects have custody of the vaults, as opposed to V1, which is in the custody of the anetaBTC team.

A full technical breakdown of the Rosen architecture can be found on their Github [here](https://github.com/rosen-bridge).

## V3 Technical Architecture

V3 will be most decentralized where anyone can run a vault by providing collateral. V3’s solution is inspired by the [Xclaim whitepaper](https://eprint.iacr.org/2018/643.pdf), where vault operators have a vested interest in maintaining the security of the protocol. Vault operators have the ability to act maliciously, but would lose their collateral, which is less than the amount of BTC they have in their custody. In this case, effected users receive more tokens than the amount of BTC they minted on the protocol.

After a successful V2 integration, we’ll focus on delivering the final version, V3, which thus far has been the most researched and perfected. A breakdown of the differences between V2 and V3 can be found [here](https://medium.com/@anetaBTC/rosen-bridge-vs-interlay-an-analysis-on-wrapping-bitcoin-c9ae84da0e9d).


# Multisig Vault Upgrade

This sections explains the technical architecture of the multisig vault upgrade, which was pushed to production on May 1st, 2024.

## Multisig Vault Upgrade

The multisig vault upgrade was deployed as a part of our initiative to further scale, decentralize, and secure our wrapped Bitcoin protocol. These changes were done in line with the original article [here](https://medium.com/@anetaBTC/anetabtc-decentralizes-with-multisig-vault-upgrade-bracing-for-major-bitcoin-influx-5dfce63389ae).

## Structure

The protocol works similarly as before, except now, each month we rebalance the hot and multisig vault so that 75% of all protocol BTC is in the cold storage multisig vault, which has 6 signers, and needs 4 signers to move any BTC. Three of the signers are from the core AnetaBTC team and the other 3 signers are reputable Cardano stake pool operators APEX, BBHMM, and NEXUS.&#x20;

Our [dashboard](https://app.anetabtc.io) displays the amount of BTC in the hot vault and the multisig vault. All transactions are public and verifiable on both Cardano and Bitcoin ledgers.&#x20;

At any given time, the amount of BTC freely available for redemption is the amount that is in the hot vault. In the event a user wants to redeem a larger amount than what is in the hot vault the protocol will see the failed transaction, and our multisig vault will manually process the transaction no later than 48 hours after the request. The user does not need to contact the team unless this 48-hour window passes and the redemption request still has not been processed. In that event, please create a ticket on Discord for active assistance.&#x20;

## Enhancing Security and Scalability

With any protocol changes, there are pros and cons to consider. The main con that we foresee is that this upgrade introduces a manual element when initiating large redemption requests. Previously, all transactions were processed automatically, however, in a centralized manner.&#x20;

The pros of this upgrade are enhanced security and scalability as users can have more confidence in this cold storage multisig vault to hold a majority of BTC. This can open the door for users to bring more BTC into the ecosystem as they can foreseeably have more confidence in being able to verify that 75% of all BTC is moved into the cold storage multisig each month.&#x20;

We consider this upgrade "AnetaBTC V1.5," not to be confused with AnetaBTC V2, which will introduce a 100% multisig vault operation and the ability to mint from any Bitcoin wallet with ease. More details on our V2 protocol can be found in section 6 of our [litepaper](https://medium.com/@anetaBTC/litepaper-v2-our-most-capable-wrapping-protocol-d25be35cc1a1).&#x20;

Before interacting with the protocol, please be acutely aware of all security assumptions, which can be found [here](https://medium.com/@anetaBTC/technical-architecture-and-security-assumptions-3b24edfec871). \
\
Thank you to our community for your support and feel free to message us on Telegram or Discord with any questions.&#x20;


# Litepaper

## Litepaper Introduction

The wrapped asset market remains a pivotal force within the cryptocurrency sector.

Foremost among these assets is Wrapped Bitcoin (WBTC), boasting a substantial market capitalization of $4 billion. The persistently high demand for quality wrapped Bitcoin products is apparent.

Protocols capable of efficiently providing these services on the Cardano blockchain are well-positioned to capture a considerable portion of the Wrapped Bitcoin market.

**AnetaBTC V1**

Our V1 protocol, which launched on June 16th, 2023, is currently the leading wrapped Bitcoin asset on Cardano, having successfully processed over 100 BTC in transactions, totaling well over $7 million of value safely through our protocol.

While we are excited by our V1 accomplishments, we are confident this only scratches the surface of what is possible.

Read the full Litepaper [here](https://medium.com/@anetaBTC/litepaper-v2-our-most-capable-wrapping-protocol-d25be35cc1a1).&#x20;


# Tokenomics

## AnetaBTC Tokenomics

There are a combined total of two billion (2,000,000,000) anetaBTC protocol tokens and is hard-capped at this number.

1,000,000,000 (50%) of these anetaBTC protocol tokens will be on Ergo as NETA, while another 1,000,000,000 (50%) of these anetaBTC protocol tokens will be on Cardano as cNETA.&#x20;

Combined, NETA and cNETA tokens represent a 100% governance and revenue-sharing stake for the entire anetaBTC protocol.

Each and every NETA and cNETA token has an equivalent stake in the anetaBTC protocol.

Details on our cNETA/NETA utility can be found [here](https://medium.com/@anetaBTC/tokenomics-v3-btc-fund-and-government-issued-license-879ec385b79d).

Our full tokenomics details can be found [here](https://medium.com/@anetaBTC/neta-tokenomics-55629989de2b).

cNETA and NETA can be acquired on decentralized exchanges such as [Minswap](https://minswap.org/) and [Spectrum Finance](https://spectrum.fi/).


# Social Media

## Follow us to stay in touch with our community.

[Website](https://anetabtc.io)

[Twitter](https://twitter.com/anetaBTC)

[Discord](https://discord.com/invite/S85CKeyHTc)

[Telegram](https://t.me/anetabtc)


# Sending with cBTC

### Bitcoin for Everyday Transactions[​](https://docs.anetabtc.io/docs/user-guides/neta-liquidity%20copy#bitcoin-for-everyday-transactions) <a href="#bitcoin-for-everyday-transactions" id="bitcoin-for-everyday-transactions"></a>

Utilizing cBTC on Cardano for everyday transactions offers distinct advantages of lower fees and faster transaction speeds. Unlike the Bitcoin network, which often experiences congestion and higher fees during peak times, Cardano's blockchain infrastructure is designed to handle increased transaction volumes efficiently. By using cBTC on Cardano, users can benefit from cost-effective and swift transactions, making it a practical choice for day-to-day activities, from purchases to transfers, without the drawbacks of high fees and slow confirmations commonly associated with the original Bitcoin network.


# Lending with cBTC

Learn about lending possibilities on Cardano.

### Lending with cBTC[​](https://docs.anetabtc.io/docs/user-guides/neta-liquidity%20copy#bitcoin-for-everyday-transactions) <a href="#bitcoin-for-everyday-transactions" id="bitcoin-for-everyday-transactions"></a>

Lending in the context of cryptocurrency refers to the practice of providing your digital assets to others in exchange for an interest rate. The key issue that arises when it comes to lending Bitcoin (BTC) directly is its design as a decentralized digital currency.&#x20;

BTC operates on its own blockchain and doesn't have inherent smart contract capabilities like some other blockchain platforms like Cardano and Ergo. Smart contracts are self-executing contracts with the terms of the agreement directly written into code. They enable a variety of functionalities, including lending and borrowing, which was previously not possible using the Bitcoin network.

On Caradno however, you can use cBTC collateral for lending. When you lend cBTC, it is locked up in a smart contract that ensures the borrower repays the borrowed amount plus interest. If the borrower fails to repay, the collateral cBTC can be liquidated to recover the lender's funds.

cBTC should soon be available for lending on platforms such as [Lenfi](https://lenfi.io/), [Liqwid](https://liqwid.finance/), and [CherryLend](https://cherrylend.org/).&#x20;

In summary, you can't directly lend Bitcoin on most blockchains, including the Bitcoin blockchain itself, because Bitcoin's native blockchain doesn't have built-in smart contract capabilities. However, by wrapping Bitcoin and creating a tokenized version like cBTC on a blockchain platform that supports smart contracts, you enable lending and borrowing through these smart contracts. This is why you can use cBTC on platforms like Cardano as collateral for lending, while still retaining the value and representation of the original Bitcoin assets.


# Swapping with cBTC

Use your cBTC to swap for other Cardano native tokens.

### Swapping with cBTC <a href="#bitcoin-for-everyday-transactions" id="bitcoin-for-everyday-transactions"></a>

Users can leverage their BTC by minting cBTC and using a DEX to trade with Cardano native tokens such as ADA itself or other ecosystem tokens such as cNETA, MIN, CHRY, INDY, etc.&#x20;

There are multiple Cardano DEXs, however, typically the most cBTC liquidity can be found on [Minswap](https://app.minswap.org) or [Spectrum](https://app.spectrum.fi/cardano/swap?base=token-ada).&#x20;

Using cBTC on Cardano to swap for other native tokens on a decentralized exchange (DEX) involves connecting your Cardano-compatible wallet to the DEX interface, selecting the amount of cBTC you wish to exchange, specifying the desired native token, and confirming the transaction.&#x20;

The DEXs employ smart contracts and liquidity pools to execute the swap, ensuring a secure and efficient exchange process. Upon confirmation, the smart contract processes the trade, transferring the native tokens to your wallet. This allows you to seamlessly diversify your holdings and access various native tokens using your cBTC assets within the Cardano ecosystem.

Conversely, a user could swap their ADA for cBTC, and then redeem cBTC for real BTC with a Bitcoin wallet.&#x20;


