Atlas Protocol Docs
  • Introduction
    • What is Atlas Protocol?
    • Understanding the Bitcoin Landscape
    • The Problem
    • The Solution
  • Atlas Protocol Basics
    • Multi-chain Bitcoin Liquid Staking
    • Security
    • Decentralization
    • Custody
    • How Atlas Works
    • atBTC (Atlas Bitcoin)
    • Yield Generation
    • Chain Abstraction on NEAR
  • 'The First Pillar' Testnet
    • Quest 1 - Walkthrough Guide
    • Quest 2 - Walkthrough Guide
    • Quest 3 - Walkthrough Guide
    • Quest 4 - Walkthrough Guide
    • Quest 5 - Walkthrough Guide
  • Advanced Process Flows
    • Deposit BTC Process Flow
    • Redeem atBTC Process Flow
  • Roadmap
  • Links
Powered by GitBook
On this page
  1. Advanced Process Flows

Deposit BTC Process Flow

PreviousAdvanced Process FlowsNextRedeem atBTC Process Flow

Last updated 6 months ago

The process flow of depositing BTC works as follows:

Step 1: Send BTC to Atlas-derived Address

A Bitcoin user initiates a native BTC deposit by interacting with the Atlas protocol through a NEAR smart contract.

Step 2: Retrieve Transactions

The BTC Mempool Relayer retrieves transactions with pending or confirmed status from the Bitcoin mempool.

Step 3: Send Unverified Transactions to Atlas Smart Contract:

The unverified transactions are sent to the Atlas Smart Contract on NEAR for processing.

Step 4: Validator Verification:

Validators pick up the records to verify them against the BTC mempool, ensuring that the transactions are valid and have been confirmed on the Bitcoin blockchain.

Step 5: Update Deposit Record:

The deposit record is updated with the validator count, ensuring transparent and secure tracking.

Step 6: Check for Deposit Confirmation:

The Atlas contract checks for confirmed and verified deposit BTC records to proceed.

Step 7: Send Payload:

The Atlas contract formulates a payload for the verified deposit records and sends it to the NEAR MPC for signing.

Step 8: Send Signed Payload:

The NEAR MPC sends the signed payload back to the Atlas contract.

Step 9: Send Signed Payload back to Server:

The signed payload is sent to the Atlas Protocol transactions relayer.

Step 10: Mint atBTC:

Atlas mints the corresponding atBTC at a 1:1 ratio, issuing it to the user's specified NEAR or EVM wallet.