Let's image I want to create a Plutus script, which takes Value as a parameter (ADA or any other coin with specific amount), and locks this value at script's output. How can I split this value into many different UTXOs of same/different amounts sitting at a script address?
on-chain validator script just says yes or no to the transaction. No help here.
off-chain scripts just instruct on what to do and has no influence under transaction output.
So basically this can only be achieved by building/balancing a transaction? By specifying inputs and outputs, and then submitting to blockchain for validation?
If yes, are there ANY programmable wallets which can do this? Daedalus is not an option, tried Yoroi, Nami, but those doesn't seem to have this functionality. Nami can only do simple transactions with JS.