Why 5 transactions when deploying Reach Application on Algorand OR Can I group them as one transaction ? #1061
-
Can someone please kindly explain why I need to sign 5 transactions when I am deploying my Reach application on Algorand ?
And below is the rsh code:
});` |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You write that you see these five signings:
I believe that you should actually be seeing these four signings:
You can remove the 4th signing by changing your code to remove the empty The separation between the 1st and 3rd signings is necessary because on Algorand, you need to fund an account (the application's) before it can do anything, but we don't know what the account is going to be until after it is created. It is theoretically possible for us to combine the 2nd and 3rd on your behalf by improving the compiler, but we don't know, because it is a little complex to reason about some of the corner cases of when it is okay to opt-in at the same time as doing work. |
Beta Was this translation helpful? Give feedback.
You write that you see these five signings:
I believe that you should actually be seeing these four signings:
You can remove the 4th signing by changing your code to remove the empty
publish
, which doesn't do anything.The separation between the 1st and 3rd signings is necessary because on Algorand, you need to fund an account (the application's) before it can do anything, but we don't know what the account is going to be until after it is created.
It is theoretically possible for us to combi…