Sway编程语言(The Sway Programming Language)
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.
Sway 是用于 Fuel 虚拟机 (FuelVM) 的领域特定语言 (DSL),这是一种对于 Fuel 区块链优化的虚拟机。 Sway 基于 Rust,包括利用区块链虚拟机的语法,无需冗长的样板文件。
This book documents how to write smart contracts in Sway, along with how to install and use the Sway toolchain.
本书记录了如何在 Sway 中编写智能合约,以及如何安装和使用 Sway 工具链。
Before starting developing smart contracts in Sway, please keep in mind the known issues and workarounds of the language and toolchain.
在开始使用 Sway 开发智能合约之前,请牢记语言和工具链的已知问题和解决方法。
Last updated