You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lately at Fluid we have been working on Babel fees, and in order to allow them without validation zones it is possible for users to setup ADA utxos in a contract, allowing to be spent if that ADA is used for fees, also users can ask CNTs in exchange for them
We had already working it using Blaze, however Blaze is not plutus v3 compatible
Users able to interact with txs without having to spend ADA from their wallets
How does the set_min_fee() works?
Since the evaluation process changes dinamically the fee of the tx, set_min_fee would enforce the minimum fee, after evaluation if the fee of the tx could be lower than min fee, it's forced to be the one we set in the function
What if this function is missing?
In general is hard to pass as parameter the fee to the smart contract because the fee is not something that can be controlled or forecasted
If you need any more input let me know
The text was updated successfully, but these errors were encountered:
Thanks @elRaulito for your issue!
So you need a function to set fee value manually ? As I understood you the set_min_fee just do max(actual_tx_fee, requested_min_fee) ?
Would the next logic is valid for your use case:
tx_builder.set_fee(desired_fee)
tx_builder.add_change()
And here will have error or ok if desired_fee have enough ada to cover actual fee.
Good morning everyone,
Lately at Fluid we have been working on Babel fees, and in order to allow them without validation zones it is possible for users to setup ADA utxos in a contract, allowing to be spent if that ADA is used for fees, also users can ask CNTs in exchange for them
We had already working it using Blaze, however Blaze is not plutus v3 compatible
https://github.com/butaneprotocol/blaze-cardano/releases/tag/%40blaze-cardano%2Ftx%400.3.2
What's the result and use case?
Users able to interact with txs without having to spend ADA from their wallets
How does the set_min_fee() works?
Since the evaluation process changes dinamically the fee of the tx, set_min_fee would enforce the minimum fee, after evaluation if the fee of the tx could be lower than min fee, it's forced to be the one we set in the function
What if this function is missing?
In general is hard to pass as parameter the fee to the smart contract because the fee is not something that can be controlled or forecasted
If you need any more input let me know
The text was updated successfully, but these errors were encountered: