Work in Progress
Pluton is intended to:
- Write example smart contracts using Plutarch to assess what's needed to be done at the eDSL layer.
- Benchmark (script size, cpu/mem cost) functions and smart contracts written in Haskell, Plutarch and Pluto
See Project board for planned tasks.
nix develop
should get a dev environment with Haskell Language Server support and ghcid.
If you are developing with VSCode, nix-direnv
is recommended. Using home-manager, you can install it as follows:
programs.direnv = {
enable = true;
enableBashIntegration = true;
nix-direnv.enable = true;
};
If you use ghcid, you may find bin/{ghcid,test}
handy.
In a nix-shell, run:
cabal run pluton
Note: Benchmarks are work in progress; we intend to benchmark all examples in CI.
cabal bench
This will write the benchmark report to bench.*
.
To run benchmarks on a particular commit,
nix run github:Plutonomicon/pluton/<COMMIT-GOES-HERE>#benchmark