Migrations & Disclosures
Icon ChevronDown
Intro
Icon ChevronDown
Sway
Icon ChevronUp
About
Introduction
Getting Started
Fuel Toolchain
Forc Project
Standard Library
Core Library
Sway Standards
Examples
Counter
Fizzbuzz
Wallet Smart Contract
Liquidity Pool
Sway Applications
Sway Program Types
Smart Contracts
Libraries
Scripts
Predicates
Basics
Variables
Built in Types
Commonly Used Library Types
Blockchain Types
Converting Types
Functions
Structs Tuples and Enums
Methods and Associated Functions
Constants
Comments and Logging
Control Flow
Blockchain Development
Hashing and Cryptography
Storage
Purity
Identifiers
Native Assets
Access Control
Calling Contracts
External Code
Advanced
Advanced Types
Advanced Storage
Generic Types
Traits
Associated Types
Generics and Trait Constraints
Assembly
Never Type
Common Collections
Vec
Storage Vec
Storage Map
Testing
Unit Testing
Testing With Rust
Debugging
Debugging With CLI
Debugging With IDE
LSP
Installation
Features
Troubleshooting
Reference
Sway Libs
Compiler Intrinsics
Attributes
Style Guide
Known Issues and Workarounds
Undefined Behavior
Solidity Differences
Rust Differences
Contributing to Sway
Keywords
Icon BrandGithubFilled
Version: 0.63.1
Icon Link
Sway Libraries
Icon ChevronDown
Sway Standards
Icon ChevronDown
Sway By Example
Icon ChevronDown
TypeScript SDK
Icon ChevronDown
Rust SDK
Icon ChevronDown
Wallet SDK
Icon ChevronDown
GraphQL API
Icon ChevronDown
Forc
Icon ChevronDown
Specifications
Icon ChevronDown
Integrations
Icon ChevronDown
Sway Core Lib
Icon Link
Sway Std Lib
Icon Link
Example Applications
Icon Link
Sway Playground
Icon Link
Sway By Example
Icon Link
Faucet
Icon Link
Contributing
Feedback
Sway
Icon HelpCircle
Forum
Icon Link
Version: Testnet
Icon ChevronDown
Search
⌘K
Icon HelpCircle
Forum
Icon Link
Version: Testnet
Icon ChevronDown
Icon List
Docs
/
Sway
/
Reference
Icon Link
Sway Reference
Compiler Intrinsics
Attributes
Style Guide
Known Issues and Workarounds
Differences from Rust
Differences from Solidity
Contributing to Sway
Keywords