Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
Counter Dapp

Icon LinkCounter React Dapp

This guide includes step-by-step instructions for how to

  • Write a counter smart contract in Sway
  • Write a test in Rust
  • Deploy to Fuel's testnet
  • Build a frontend
  • Integrate a wallet

Before we begin, it may be helpful to understand the terminology that will be used throughout the docs and how they relate to each other:

  • Fuel: the Fuel blockchain.
  • FuelVM: the virtual machine powering Fuel.
  • Sway: the domain-specific language crafted for the FuelVM; it is inspired by Rust.
  • Forc: the build system and package manager for Sway, similar to Cargo for Rust.