Developer

Getting started with Horizon as a developer is really simple. All you need to is follow the QuickStart instructions for Haskell.

QuickStart

Applications

These application templates are simple examples of how you might consume a horizon-package set in a nix project, but you are free to roll your own.

Haskell

For a basic Haskell template using horizon-platform at GHC 9.4.

mkdir horizon-haskell-template
cd horizon-haskell-template
nix flake init -t 'git+https://gitlab.horizon-haskell.net/templates/horizon-templates'

For a more involved example using polysemy and several other dependencies.

mkdir horizon-haskell-template
cd horizon-haskell-template
nix flake init -t 'git+https://gitlab.horizon-haskell.net/templates/horizon-templates#danstack'

Plutus

For plutus-apps using horizon-plutus-apps at GHC 8.10.

mkdir horizon-plutus-apps-template
cd horizon-plutus-apps-template
nix flake init -t 'git+https://gitlab.horizon-haskell.net/templates/horizon-templates#plutus-apps'