Skip to content
/ hello-plutarch Public template

Template project for smart-contracts in Plutarch

License

Notifications You must be signed in to change notification settings

tweag/hello-plutarch

Repository files navigation

Hello Plutarch helps you writing projects in Haskell that use Plutarch libraries.

To start a new project based on Hello Plutarch, you need either Nix or Cabal.

Compile with Nix

You must answer positively to the questions prompted by the following Nix command to avoid compiling GHC several times.

$ nix run
(program 1.0.0 (\i0 -> \i0 -> \i0 -> ()))

Compile with Cabal

Additional requirements:

  • ghc (>= 9.2)
  • pkg-config
  • libsodium
  • secp256k1
$ cabal run
(program 1.0.0 (\i0 -> \i0 -> \i0 -> ()))

Nix template

You can also use Nix to initialise a new Plutarch project with

$ nix flake init -t github:tweag/hello-plutarch/template

License

This template is licensed under the MIT license. See the LICENSE file for more information.

About

Template project for smart-contracts in Plutarch

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •