aiken-lang / aiken

A modern smart contract platform for Cardano
https://aiken-lang.org
Apache License 2.0
470 stars 91 forks source link

Feature Request: aiken apply for multivalidators #948

Closed Quantumplation closed 1 month ago

Quantumplation commented 4 months ago

Right now, if I have a multivalidator with validator parameters, it's quite awkward to apply all of the arguments correctly for the plutus.json:

aiken apply -v a.mint ${PARAM_A} > tmp
mv tmp plutus.json

aiken apply -v a.spend ${PARAM_A} > tmp
mv tmp plutus.json

aiken apply -v a.mint ${PARAM_B} > tmp
mv tmp plutus.json

aiken apply -v a.spend ${PARAM_B} > tmp
mv tmp plutus.json

It'd be nice to improve the user experience with one or more of the following suggestions:

KtorZ commented 1 month ago

duplicate of #927