aleeusgr / gimbalabs-dandelion-pbl

Test Driven Development of dApps on Cardano
MIT License
1 stars 1 forks source link

automate building offchain code. #5

Closed aleeusgr closed 1 year ago

aleeusgr commented 1 year ago

why?

Deploy this in a container https://github.com/SIDANWhatever/plutus-cborhex-automation

User test curl

aleeusgr commented 1 year ago

Example

aleeusgr commented 1 year ago

Now I have three ways to complete a user test in plutus-apps; The test is to run any contract: produce cborhex and run a cli request and compare it's output with a pre-defined value. Always succeds or the code from 101.

my options are:

  1. cd plutus-apps -> git-checkout -> nix-shell
  2. cd plutus-apps -> git-checkout -> nix develop
  3. nixos-rebuild

Why nix develop ? flake.nix