question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement balancing unbalanced transactions

See original GitHub issue

The Nami browser extension API implements signTx and submitTx but no balanceTx. The latter is needed because the standard way to execute smart contracts on Cardano is to fetch an unbalanced transaction from the Plutus Application Backend and have the user wallet add the missing input UTxO, the collateral, and balance the whole thing.

The Nami-demo of the Plutus repository also mentions that the function is missing and should be exposed: https://github.com/input-output-hk/plutus-apps/blob/main/plutus-pab-executables/demo/pab-nami/client/src/Cardano/Wallet/Nami.js#L71

Can we expect an implementation, or does the Nami-team disagree and does not think that this function should be exposed ?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
koslambroucommented, Jan 14, 2022

Thanks @alessandrokonrad I see it now! cardano-wallet actually DOES re-execute the scripts after the transaction changes.

2reactions
Jeyheycommented, Jan 8, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Implement balancing unbalanced transactions #183 - GitHub
The Nami browser extension API implements signTx and submitTx but no balanceTx. ... Implement balancing unbalanced transactions #183.
Read more >
What is an unbalanced transaction? How does adjusting an ...
Balancing consists of two parts: i) adding additional inputs ii) distributing excess funds to outputs. Often both parts are needed but in some ......
Read more >
How do I assess unbalanced transactions? - MindBridge Ai
MindBridge expects balanced transactions, as they are essential to providing the highest quality risk assessment possible. Any unbalanced ...
Read more >
Allowing Unbalanced Journal Entry Transactions
Allowing Unbalanced Journal Entry Transactions. This option in the GL Module Preferences window allows you to enter unbalanced transactions.
Read more >
How to Review an Unbalanced Balance Sheet
Review the list of transactions for the period, noting any that seem out of the ordinary. Check for journal entries or incorrect transaction...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found