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 and more...
- Implicitly import the standard library, so it no longer needs to be manually specified (https://github.com/FuelLabs/sway/pull/1137);
- Add support for forc CLI plugins (https://github.com/FuelLabs/sway/pull/1178);
- Implementation of our first plugin “forc-gm” (https://github.com/FuelLabs/sway/pull/1373);
- Update of forc init to include a test and contract skeleton, and allow template initialization;
- "Is reference type" compiler intrinsic, which can be used for generic logic that must be different between copy and reference types (https://github.com/FuelLabs/sway/pull/1121);
- Stdlib: runtime reentrancy guard without storage (https://github.com/FuelLabs/sway/pull/1115);
- Use new IR pipeline by default (https://github.com/FuelLabs/sway/pull/1130);
- Stdlib: ec recover returns Result (https://github.com/FuelLabs/sway/pull/1171);
- New custom parser (https://github.com/FuelLabs/sway/pull/1286);
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
- JNZI opcode is now supported;
- Balances API;
- Improved transaction receipt structure;
- DevOps improvements;
- Various stabilization improvements and bug fixes.
Fuel-rs (Rust SDK) Updates
- Simplified imports: now you only need the new
fuelscrate and the
fuels-abigen-macrocrate to use the SDK;
- Support for the tuple type in input/output to/from contract calls, you can now use the
Resulttype from Sway;
- Many bug fixes and technical debt paid:
- Fixed major drift between the Sway compiler, the VM, and the SDK;
- Improved the SDK CI pipeline, now catching bugs much earlier on;
- Supporting more expressive input/output types (nested structs, enums inside structs, and vice-versa);
- And many smaller bug fixes and QoL improvements.
Fuel-ts (Typescript SDK) Updates
Versions 0.6.0 was released
- Full UTXO validation is now enabled and supported;
- New wallet manager API;
- Improved support for more complex types (structs, enums, etc.);
- New support for Fuel native types.
In the News
According to the Rust In Blockchain monthly review, Fuel is still one of the most active Rust-based projects. Fuel ranked 4th, right behind Solana, Parity, and Near projects, with 213 merged Pull Requests, 145 closed issues, and 134 opened issues in April 2022.
The Fastest Modular Execution Layer has been everywhere this month. We made public appearances and sponsored some of the most significant blockchain events of the year in Amsterdam:
The First ever Sway online Hackathon
You're a hacker that wants to make an impact with your skills? From May 27th till May 30th, 2022, be a part of the next generation of blockchain by building dapps using the Sway smart contract language on Fuel, the Fastest Modular Execution Layer, for a chance to win up to $100,000 in prizes!
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 FuelVM for 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.