Please try these 2 things:
Add to C:\Users\<UserName>\.wslconfig
Disable Fast Startup (aka HyberBoot). Is is known to break localhost forwarding.
Once the shell tells you this:
Serving HTTP on 0.0.0.0 port 8002 (http://0.0.0.0:8002/)
Just go to this location:
The given 0.0.0.0:8002 does not work, however these do work:
(Im using WSL too)
Hi I also have issue with port forwarding starts but playground always start when i click the created link https://localhost:xxxx/ (did xxxx for port as yours may differ).
Have you tried with that auto created link after the command npm run start is run?
I'm trying to learn this too. I could not find any further documentation other than the cardano-cli command help. This is pretty extensive and useful. Every command argument seems to have built-in help. So, for instance, to get help with building a transaction, issue the command cardano-cli transaction build. The help for this includes some info on the --tx-...
The flag --tx-out-datum-embed-file FILE allows you to embed the datum data on the transaction, not the datum hash like using that flag --tx-out-datum-hash-file FILE.
cardano-cli transaction build --tx-out-datum-embed-file DATUM.json
According to this web page, the definition is vague: The script datum to embed in the tx for this output, in the given JSON ...
The repos are these:
You can import Interval, Contexts, and Constraints like this:
In the cabal file you would add them like this: