When I deploy a smart contract I get a transaction hash object in return. How do I use this to address the module afterwards i.e. to create an instance of it?
Do I use this hash to get some indexes or what exactly do I do with this information?
You might also be interested in our piggy bank tutorial, which has been expanded with parts three and four, which describe the process of deploying, initializing and interacting with the contract: The piggy bank smart contract — Concordium documentation
I’m using the SDK (C#) and I did do the piggy bank. that’s the contract that I deployed.
The SDK sample for deploying, results in a transaction hash, and I’m not sure how to use this for anything.
Just to chime in:
I find the transaction and block hash useful as reference for later. I can save it in my frontend app so that I can query the chain later about a particular transaction and which block it was written to. I can for example share the transaction hash (with link to concordium dashboard) with the user/customer so that he/she can see transaction him/herself on the chain for extra info.