Skip to content

RaveenaBhasin/citrea-atomic-swaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Citrea Atomic Swaps

This projects implements trustless atomic swaps between Bitcoin and Citrea using BitcoinLightClient.

Flow

Say, user A on Citrea wants to get BTC on bitcoin.

  • User A will generate a Request on Citrea quoting the amount he desires and locking the funds.
  • User B who has funds on Bitcoin and has an opposite intent as User A can fulfill the request.
    • Post the above txn User B can claim the funds from the locking contract trustlessly.
    • The contract here will verify using LightClient and release the funds to user

Flow chart

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •