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 -> Sbt
Run sbt
to enter the sbt shell.
Run compile
to compile the project.
Run test
to run the tests.
Run integration/test
to run the integration tests.
Run scalafmtAll
to format the code.
Follow instructions from the Yaci Devkit to setup the devkit.
Create and run a local Cardano node with the devkit:
devkit
> create-node
> start
If you need to reset the local Cardano node, you can run:
reset
in the devkit shell.
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.
Scalus official website: https://scalus.org
Find more information about Scalus in the Scalus repository.
Scalus Discord: https://discord.gg/ygwtuBybsy
Twitter: @Scalus3