t4sk / hello-sway

learning sway
7 stars 2 forks source link

Playground

https://sway-playground.org/

Browser wallet

https://wallet.fuel.network/docs/install/

Install

https://github.com/FuelLabs/fuelup

rustup install stable
rustup update
rustup default stable

fuelup toolchain install latest

fuelup toolchain install beta-3
fuelup default beta-3

fuelup show
# switch
fuelup default latest

Update

fuelup self update

# generate test
cargo generate --init fuellabs/sway templates/sway-test-rs --name counter

New project

forc new counter_contract

# compile
forc build
# format
forc fmt

# node
fuel-core run --db-type in-memory
# deploy
forc deploy --unsigned

Topics

Apps

TODO: