The Enchanted Story: An Update
Disclaimer: I, The Senpai, will be working as a spokesperson for the Enchanted Creature Team. If you have any questions whatsoever, please contact me directly through Twitter or the Team’s Discord.
Hey guys, here’s your well-deserved update regarding the Enchanted Game’s contract. We are happy to announce that the issues that caused the errors last weekend have been corrected, but instead of just leaving it there we want to delve deeper into what happened and the game’s status as of today.
Before I begin, I would like to make a big shoutout to the Nerd Dao Dev team who has been working relentlessly to solve these problems: Gazoh, Mattim0use and Ataxia.
The Update
What are we currently working on?
Right now, the dev team just finished working on the traits and compiler, which means that the Goats and Tortoises will show up right when you mint and be compiled on-chain. We had to convert all the attributes to Base64 (an image storing format), and yes, storage is expensive, but well worth it.
What else needs to be done?
Now, what remains is to make sure that the 50/50 stealing chance works. Additionally, we have to check the steal-on-mint function for $EGG-minted Gen1 turtles/goats, which should work just fine.
The biggest hurdle so far has been the trait compiling, but last we checked it’s working.
Finally, once everything works on the back end, we will run a series of last checks for any remaining small errors or issues that may come up at the last minute.
Front end is currently underway as well and they’re cruising on that side of things..
When all is done, we will connect the two, and bing bang boom, we’re ready for deployment!
It sounds easy when it’s all typed out but there’s a lot of creative problem solving that goes into it, so all we ask is that you remain patient with us while we work on ensuring the best possible re-launch experience for you, our community. It goes without saying that we are taking into account the necessary time for marketing.
After all, the wait for your egg-laying tortoises and invasive goats will be worth it.
When will things be ready?
I am not certain about this but will check with my colleagues.
Never mind, they just got back to me. We are currently planning for re-launch early next week. If all goes well, you can mark Monday or Tuesday on your calendars.
Is the whitelist going to happen?
The new contract contains a function for addition of a whitelist and we are implementing the addresses previously provided to us so the answer is… yes, there will be a whitelist!
What’s the plan for migration?
We are aware that we have stated several times that there would not be a draft until contracts have been finished. But… we have an idea now. Expect a first draft tomorrow.
Overview of Bugs
If you missed the last article or if you want a more detailed explanation of the problem and its solution, here is an overview of what happened on launch day.
Randomness
Problem:
The on-chain solution we used to prevent people from being able to predict the animal they were going to mint caused the transaction gas to spike. So, to prevent more people from being harmed by the exorbitant gas, we took the executive decision to pause the mint process.
Diagnostic:
The contract could have been improved in terms of: how it spent gas, the deployment was poor, and artwork derivation. This is a quality game, so for us standards matter. We have the speed and ability to remake it all on the contract side of things, so that’s exactly what we decided to do.
Status:
The good news is that we are almost done. The one thing we’re keeping is the artwork, which we think is pretty cool and should definitely be kept.
Basically, we managed to find a way to keep the result of the mint hidden until the transaction has been confirmed. We’re not going to go into details here for security reasons. If you’re a contract reader you can check it out after we deploy.
Staking
Problem:
Staking worked but did not allow holders to see how many $EGGs they were producing.
Diagnostic:
Players need to see how many $EGG they are churning out to know: [1] when to harvest, [2] when they are going to pay the 20% tax to the Goats, or [3] when to unstake for the 50/50 shot at keeping all the eggs or losing all of them to the Goats. If you can’t see how many you’re at, it becomes a big issue for minting the $EGG-generated Gen1s.
Status:
The new contract has been fixed. Tortoises are going to be able to see their progress, their $EGG values, and play accordingly. Goats will also be able to see their stolen/taxed $EGGs as well.
Tokenomics
Tokenomics remain unchanged in terms of what was outlined in the original whitepaper. The $ISLES and Rangers are still on hold until a future date and we can discuss those additions to the game when we get there.
Whitelist
Problem:
Despite having spent many early mornings going through all the addresses for the whitelist, we must admit that we rushed our inclusion of them to a contract which already had gas issues.
Diagnostic:
After re-checking the previous contract, we realized that there wasn’t anything whitelist-related in the code. The old dev team probably missed it completely.
This would explain some of the weird problems that we were experiencing on the day of the launch.
Status:
This has been fixed now. There’s now a working whitelist contract for all those who earned their way into it.
NFT Reveal
Problem:
This was delayed and did not occur equally for all. Some could see their NFTs on the page and others could not.
Diagnostic:
To put it simply, the attributes weren’t compiling on-chain like they were supposed to, which requires base64 attributes. Mattim0use took time to manually change attributes from PNG to base64 (which is like a string of numbers and characters that represent the graphics). It’s expensive to store stuff on-chain, so the previous devs attempted to find a work-around, but it didn’t work.
Status:
Tests have been positive so far. More work remains to be done here, but we know that we are on the right path now.
Login Button
Problem:
Some the buttons on the page weren’t working at all.
Diagnostic:
Website was done on PHP.
Status:
It’s fixed. Not doing it on PHP.
OpenSea
Problem:
As mentioned above, the traits weren’t compiling on-chain in the last contract, so there was nothing to show on OpenSea except the placeholder image.
Diagnostic:
People want to see their artwork, after mint, generated on-chain.
Status:
We fixed this. It was a pain, but we are finally testnet minting (these means we are testing on an Ethereum Simulator) the attributes successfully. We just have to fix the fact that tortoises have a Fertility Score, which could actually be Goats with an Impact score. Simple miscommunication but it’ll be a quick fix. Just mistakenly pointed the compiler towards having that trait rather than the other way around.
In conclusion, thank you dear Enchanted Creatures for sticking around and supporting us as we gear up for re-launch. We are extremely grateful to each and every one of you and are excited to finally share with you the Enchanted Game, which we believe will be well worth the wait.
Sincerely,
The Enchanted Creatures Club team.
If you find anything here unclear or confusing, please contact me directly to through Discord DM.
— The Senpai