FuelLabs/sway

🌴 Empowering everyone to build reliable and efficient smart contracts.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 52 minutes ago
Added to GitGenius on June 9th, 2026
Created on January 19th, 2021
Open Issues & Pull Requests: 932 (+0)
Number of forks: 5,415
Total Stargazers: 61,486 (-1)
Total Subscribers: 296 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.8 hours
Mean response time: 32.8 days
90th percentile: 69.9 days
Tracked items: 1,543

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 66% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "compiler: ir" is answered fastest, typically in under an hour, while "enhancement" waits about 30 hours. 69% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 3% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 603
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 797 days
Stale 30+ days: 594
Stale 90+ days: 579

Recent activity

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

Top labels

  • team:compiler (1,309)
  • bug (716)
  • compiler (694)
  • compiler: frontend (577)
  • enhancement (349)
  • P: critical (236)
  • compiler: ir (156)
  • language feature (143)

Most active issues this week

No issue events were indexed in the last 7 days.

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. This distribution reflects the project's primary focus on compiler development and stability.

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 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.