To install the Fuel toolchain, you can use the fuelup-init script.
This will install forc, forc-client, forc-fmt, forc-lsp, forc-wallet as well as fuel-core in ~/.fuelup/bin.
Start with a new empty folder and name it multisig-predicate.
mkdir multisig-predicate
Go into the multisig-predicate folder:
cd multisig-predicate
Within your terminal start by creating a new sway project called predicate:
forc new --predicate predicate
Icon InfoCircle
Tip: Notice the --predicate flag, which tells forc that you want to create a project based on a predicate, rather than the default contract program type.
Your project structure generated from the forc command should like this:
In VSCode, navigate to the src folder within the predicate folder, where you will find a file named main.sw. This is the file where your Sway predicate will be written.