Welcome to Inside Fuel, our monthly review on all technical-related things on the Fuel Network. Take a moment to catch up with all the latest developments.
- Tab completion for
forcCLI commands (https://github.com/FuelLabs/sway/pull/864).
- Forc lockfile (https://github.com/FuelLabs/sway/pull/825). This enables deterministic and reproducible builds, important for guaranteeing users can verify builds.
- Can initialize a new project from a template (https://github.com/FuelLabs/sway/pull/836).
if letexpressions (https://github.com/FuelLabs/sway/pull/815): this enables the long-awaited
Resulttype in the standard library.
- Abort control flow analysis on returns or reverts (https://github.com/FuelLabs/sway/pull/964): this allows handling
- Generic impl self (https://github.com/FuelLabs/sway/pull/913): this allows methods to be defined for a structure without requiring them to be part of a trait.
- Migrate core and standard libraries to the Sway repo (https://github.com/FuelLabs/sway/pull/1052). This will make it cleaner to distributed tagged versions, increasing compatibility.
What is Sway?
Sway is a domain-specific language (DSL) targeting the Fuel Virtual Machine (FuelVM), a blockchain-optimized VM designed for the Fuel blockchain. It is heavily inspired by Rust and aims to bring modern language development and performance to the blockchain ecosystem.
Fuel Core Updates
- Initial gossip implementation for the p2p stack (https://github.com/FuelLabs/fuel-core/pull/200).
- Malleable blocks (https://github.com/FuelLabs/fuel-core/pull/180, https://github.com/FuelLabs/fuel-core/pull/186): this is a large part of Fuel's secret sauce, allowing block producers to malleate block data.
- Increase the maximum number of inputs, outputs, and witnesses to 255 (https://github.com/FuelLabs/fuel-tx/pull/91), from 8 and 16.
Fuel-rs (Rust SDK) Updates
- Full UTXO validation has been enabled: transactions sent using the SDK are now validated by the Fuel Node.
- Users can now simulate simple calls (not triggering any on-chain state) with the new
simulate()API to contract-bound methods.
- Many ergonomic improvements including simpler imports for fuel-rs projects and support for Sway-native types on contract-bounds methods.
- New documentation was released as a live mdbook.
- Support for assets forwarding in contract calls was added.
- An API facilitating connection to deployed contracts was added.
Fuel-ts (Typescript SDK) Updates
- A constantly evolving and convenient coins API was added.
- Support for the HDWallet and mnemonic-based wallet was created.
callStatic()methods to contract-bond methods were added.
We were pleased to attend ETHDubai Conference where we had the opportunity to present the Fuel network and Sway language.
- Alex Hansen first participated in a panel on Layer 2s and Side Chains. He then introduced Sway in a separate talk. The slides Alex used for the talk can be found here.
- Mohammad Fawaz animated a Workshop on how to design, build, deploy and use a DApp on the Fuel Network using the Fuel toolchain. The content of the workshop can be found here.
In the news
Fuel is still one of the most active Rust-based projects according to the Rust In Blockchain monthly review. Fuel ranked 4th, right behind Parity, Solana, and Iota projects, with a total of 240 merged Pull Requests, 135 closed issues and 104 opened issues in March.
If you don’t want to miss any update of the Fuel Network, simply follow us and activate the notification bell:
Fuel is the fastest execution layer for the modular blockchain stack. Powerful and sleek, the technology enables parallel transaction execution, empowering developers with the highest flexible throughput and maximum security required to scale. Developers choose the FuelVMfor its superior developer experience and the ability to go beyond the limitations of the EVM.
If you want to join us in this journey, here are our current job openings.