noble-atomic-swap

Crates.ionoble-atomic-swap
lib.rsnoble-atomic-swap
version2.0.1
sourcesrc
created_at2021-04-04 05:45:12.8962
updated_at2021-04-04 05:45:12.8962
descriptionFABRIC atomic swap noble
homepagehttps://core.tetcoin.org
repositoryhttps://github.com/tetcoin/tetcore
max_upload_size
id378646
size18,776
Marlon Hanks (marlonhanks)

documentation

https://docs.rs/noble-atomic-swap

README

Atomic Swap

A module for atomically sending funds.

Overview

A module for atomically sending funds from an origin to a target. A proof is used to allow the target to approve (claim) the swap. If the swap is not claimed within a specified duration of time, the sender may cancel it.

Interface

Dispatchable Functions

  • create_swap - called by a sender to register a new atomic swap
  • claim_swap - called by the target to approve a swap
  • cancel_swap - may be called by a sender after a specified duration

License: Apache-2.0

Commit count: 5279

cargo fmt