Why WAX?
Posted:
Dark Emblem is ditching ETH and Web3 and moving to WAX and WAXJS. This is a major change and was quite an overhaul of our system, but it's also a big step forward.
Why WAX
There are a few reasons to move to WAX:
- Proof of stake
- Lower gas fees
- Faster transaction times
- Lower contract overhead
WAX is a proof of stake blockchain. While ETH2.0 promises proof of stake and lower gas fees, I am not sure about the timeline and I don't want to publish an ETH contract that we have to migrate everyone from once proof of stake is released. We had a full set of contracts created, but random card mints from packs proved to be incredibly expensive due to gas. Gas constraints were starting to influence what we wanted to do with Dark Emblem and how we were going to implement it. With WAX, while we do have to worry about RAM costs, we are able to pay for this on behalf of our users via the WAXP used to purchase packs! Our contract will pay for the RAM to buy packs and mint cards!
We did do a full testnet testing round and found that transactions were incredibly slow on the Ethereum blockchain. Participants would purchase a pack and then sit there waiting to see what cards they got. With WAX, we are seeing incredible response times for transactions and are able to show purchased and opened packs quickly.
WAX also has a built in concept of assets, asset transfers, and asset ownership. Using this means that others don't have to rely on us implementing the ERC721 standard correctly. Dark Emblem can focus on building an awesome card game on WAX, rather than worrying about interface compability, future extensibility, and security around our implementation of ERC721 and ERC20 standards.
How it will work
With Dark Emblem moving over to WAX, you will need to create a WAX account and buy WAXP. The WAX ecosystem make this easy by just going to https://all-access.wax.io/.
Once you have an account, you can just visit our Dapp to start buying and opening packs.