Hi!
I am currently working with the eSealing example in your tutorials, and are now stuck with “two” issues.
First is that during development I would like to “redeploy” the contract, without having to change the name in lib.rs if possible?
So far I have to change the name or it will error, with already existing module. What is the correct way to redeploy the same with some updates?
In extension to this is it possible to use string variables in the receive statements?
So far I have tried this with no success:
static CONTRACT_NAME: &str = “eSealing”;
…
#[init(contract = CONTRACT_NAME, event = “Event”)]
But errors with “expected literal”
This would be ideal for when changing names for redeploys. (If I am going around this correctly)
Second issue is that with all my redeployments, I have spend all my CCD’s and do not have enough to deploy again. How do I get more?
Thanks in advance!
Toby