Intro
Icon ChevronDown
Sway
Icon ChevronUp
About
Introduction
Examples
Sway Program Types
Basics
Blockchain Development
Advanced
Common Collections
Testing
Frontend
LSP
Reference
Version: 0.46.1
TypeScript SDK
Icon ChevronDown
Rust SDK
Icon ChevronDown
Wallet SDK
Icon ChevronDown
GraphQL API
Icon ChevronDown
Indexer
Icon ChevronDown
Fuelup
Icon ChevronDown
Forc
Icon ChevronDown
Specs
Icon ChevronDown
Sway Std Lib
Icon Link
Sway Core
Icon Link
Example Applications
Icon Link
Sway Playground
Icon Link
Faucet
Icon Link
Sway
documentation
Documentation
documentation
Guides
Version: Beta-4
Icon ChevronDown
Search
⌘K
Version: Beta-4
Icon ChevronDown
Icon SunFilled
Icon MoonStars
Icon List
Docs
/
Sway
/
Examples
Icon Link
Example
Some basic example contracts to see how Sway and Forc work.
Counter
Subcurrency
FizzBuzz
Wallet Smart Contract