Skip to content

fida-services/fida-contracts

Repository files navigation

fida-contracts

Generate purescript module

nix run -L git+ssh://git@github.com/fida-services/fida-contracts#fida-contracts:exe:fida-contracts-serialise -- -n 'Fida.RawScript'

locally

nix run -L .#fida-contracts:exe:fida-contracts-serialise -- -n 'Fida.RawScript'

Generate plutus scripts

nix run -L git+ssh://git@github.com/fida-services/fida-contracts#fida-contracts:exe:fida-contracts-serialise -- -o .

locally

nix run -L .#fida-contracts:exe:fida-contracts-serialise -- -o ~/now/fida-purs-module/

VS Code Setup

  • Install direnv
nix profile install nixpkgs#direnv

and add the following line

to the ~/.zshrc (for zsh users)

eval "$(direnv hook zsh)"

or to ~/.bashrc (for bash users)

eval "$(direnv hook bash)"
nix profile install nixpkgs#nix-direnv

and add following to the ~/.zshrc (~/.bashrc) file

source $HOME/.nix-profile/share/nix-direnv/direnvrc
  • Allow .envrc to be loaded
cd fida-contracts
direnv allow
  • Install VS Code extensions
    • direnv
    • Haskell

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published