- Install WSL2, using command
wsl.exe --install
inside an elevated CMD/Powershell (Source) - After restarting, Windows should open a Shell window and start downloading Ubuntu, wait until it's done
- Navigate to your user folder in the Ubuntu installation and perform a single-user installation using
curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
(Source)
- Install the cachix client from nix shell
nix-env -iA cachix -f https://cachix.org/api/v1/install
- Add IOHK caches
cachix use iohk
DON'T use the recommended settings when entering the nix shell for the first time when asked.
make shell
make build # Run build
make export # Run export
Contracts are defined in src/
. Before they can be added to transactions, they have to be transpiled into a plutus intermediate representation.
By default all contracts are stripped of the error messages, if you want them in, please set the CONTRACTS_TRACING
env variable to true.