Skip to content

infinitybase/fuel-frontin-floripa

Repository files navigation

Front in Floripa

This repository contains the project presented at the Firechat of Front in Floripa 2024, where we demonstrated how to create a Smart Contract in Sway using the entire Fuel Ecosystem.

Project structure

  • packages/sway: Contains the smart contracts written in Sway
  • packages/app: Contains the React project that interacts with the smart contract
  • packages/chain: Contains the configurations to run the local chain

Sway Program Types

How to run

  1. Install Fuel Wallet

  2. Clone the repository

     git clone https://github.com/infinitybase/fuel-frontin-floripa.git
  3. Install the Fuel Toolchain

    curl https://install.fuel.network | sh
    fuelup self update
  4. Run the local node

    fuel-core run \
        --db-path ./packages/chain/mnt/db \
        --utxo-validation \
        --vm-backtrace \
        --poa-interval-period 1sec \
        --debug \
        --snapshot ./packages/chain
  5. Setup the wallet to connect to the local node

  6. Build and deploy the smart contract.

  7. Run the Application

Docs Links

About

Fuel Smart Contracts and application quick start

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published