sway
by
FuelLabs

Description: 🌴 Empowering everyone to build reliable and efficient smart contracts.

View on GitHub ↗

Summary Information

Updated 1 hour ago
Added to GitGenius on June 9th, 2026
Created on January 19th, 2021
Open Issues & Pull Requests: 918 (+0)
Number of forks: 5,429
Total Stargazers: 61,579 (+1)
Total Subscribers: 295 (+0)

Issue Activity (beta)

Open issues: 592
New in 7 days: 2
Closed in 7 days: 1
Avg open age: 812 days
Stale 30+ days: 586
Stale 90+ days: 540

Recent activity

Opened in 7 days: 2
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • team:compiler (1,309)
  • bug (711)
  • compiler (690)
  • compiler: frontend (576)
  • enhancement (349)
  • P: critical (236)
  • compiler: ir (153)
  • language feature (143)

Most active issues this week

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 2.3 days
90th percentile: 0.1 hours
Tracked items: 1,777

Most active contributors

Detailed Description

Sway is a domain-specific programming language developed for the Fuel blockchain, designed to enable developers to write reliable and efficient smart contracts. Built in Rust and heavily inspired by Rust's syntax and design philosophy, Sway brings modern language development practices to blockchain development. The language is specifically optimized for the FuelVM and aims to provide type safety and performance improvements over existing smart contract languages.

The repository serves as the primary home for the Sway compiler and toolchain development. The project maintains comprehensive documentation including the Sway Book for user-facing guidance, standard library documentation, and a technical reference for the language specification. Developers building smart contracts with Sway can access installation instructions and usage guides through the official documentation portal, while those contributing to the compiler itself can build from source using the Rust toolchain.

From an activity perspective, the repository demonstrates sustained and focused development effort. GitGenius tracking shows a median issue and pull request response latency of 0.0 hours with a mean of 54.1 hours across 1777 tracked items, indicating rapid community engagement and maintainer responsiveness. The most active issue labels center on compiler-related work, with team:compiler accounting for 1309 tracked events, bug reports at 711 events, and general compiler issues at 690 events. This distribution reflects the project's primary focus on compiler development and stability.

The core contributor base shows concentrated expertise, with IGI-111 leading at 2188 events, followed by mohammadfawaz with 1953 events and ironcev with 1030 events. This relatively tight group of active contributors suggests a well-coordinated development effort with clear ownership of compiler and language design decisions. The project's classification spans multiple blockchain development domains including smart contracts, domain-specific language design, FuelVM optimization, Ethereum compatibility considerations, Web3 development, contract programming, blockchain scripting, and decentralized application development.

The repository's connections to other projects through overlapping contributors include github/gh-aw, solo-io/gloo, and longhorn/longhorn, indicating cross-pollination of ideas and practices with adjacent development communities. The project explicitly welcomes contributions and maintains a dedicated contributing guide within the Sway book, providing clear pathways for new developers to participate in language and compiler development.

Building the Sway toolchain requires the Rust stable toolchain and uses the Just command runner for managing build scripts and development tasks. The project distinguishes between compiler development work, which requires building from source, and smart contract development using Sway, which relies on the published documentation and release builds. This separation ensures that users can quickly get started with contract development while providing clear instructions for those interested in contributing to the language implementation itself.

sway
by
FuelLabsFuelLabs/sway

Repository Details

Fetching additional details & charts...