Skip to main content

3 docs tagged with "smart contract integration"

View all tags

Flash Swaps

Flash swaps are an integral feature of Pegasys. In fact, under the hood, all swaps are actually flash swaps! This simply means that pair contracts send output tokens to the recipient before enforcing that enough input tokens have been received. This is slightly atypical, as one might expect a pair to ensure it's received payment before delivery. However, because Syscoin transactions are atomic, we can roll back the entire swap if it turns out that the contract hasn't received enough tokens to make itself whole by the end of the transaction.

Smart Contract Quick start

Developing smart contracts for Syscoin involves a bevy of off-chain tools used for producing and testing bytecode