This is a starter project for Scalus - Scala-based DApps development platform for Cardano.
It contains a simple example of a Minting Policy script written using Scalus.
You'll need Java JDK 11+, scala-cli or sbt.
If you use Nix, you can run nix develop
to get a shell with all the dependencies.
File -> New -> Project from Existing Sources -> select the project directory -> Import project from external model -> BSP -> Scala-cli
Run scala-cli setup-ide .
to generate IDE configuration files.
Run scala-cli .
to compile and run the project.
Run scala-cli test .
to run the tests.
Run sbt
to enter the SBT shell.
Then run test
to run the tests.
Run ~testQuick
to run the tests automatically when a file changes.
Run run
to run the main method, which will print the hex encoded double CBOR of Minting Policy script.
Find more information about Scalus in the Scalus repository.
Scalus Discord: https://discord.gg/ygwtuBybsy
Twitter: @Scalus3