Sway is a domain-specific language (DSL) for the Fuel Virtual Machine (FuelVM), a blockchain-optimized VM designed for the Fuel blockchain. Sway is based on Rust , and includes syntax to leverage a blockchain VM without needlessly verbose boilerplate.
This book documents how to write smart contracts in Sway, along with how to install and use the Sway toolchain.
Before starting developing smart contracts in Sway, please keep in mind the known issues and workarounds of the language and toolchain.
Was this page helpful?