Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (32 loc) · 1.22 KB

atomic-multi-swap.mdx

File metadata and controls

38 lines (32 loc) · 1.22 KB
title description sidebar_custom_props
Batched Atomic Swaps
Swap a token pair among groups of authorized users.
tutorial
level
advanced
<title>Swap a token pair among groups of authorized users.</title>

The atomic swap batching example swaps a pair of tokens between the two groups of users that authorized the swap operation from the Atomic Swap example.

This contract basically batches the multiple swaps while following some simple rules to match the swap participants.

Follow the comments in the code for more information.

Open in Gitpod