How do you instantiate or interact with a Sway Script?

Hi friends, for anyone who faced the following problems, it is because we need to interact with generated types. For those working with NextJS, do ensure u checkout this thread to fix your issues.

Update: Doesn’t Work for Vanilla NextJS (I.e. didn’t run the command pnpm create fuels)

1 Like