1

Hello Ethereum community,

We are building a game and struggle to figure out which token standards to use. Here is a high level overview of what "tokens" we need:

Crystal (Tradable, FT, Capped)

Essence (Untradable, FT, Uncapped)

Chest (Tradable, SFT, Soft Capped (Total Game Levels >= Total Chests))

Key (Tradable, SFT, Uncapped)

Skin Shard (Tradable, SFT, Uncapped)

Skin (Tradable, SFT, Uncapped)

Currently, we use ERC20 for the Crystal, and ERC1155 for everything else.

The question is: Should we drop the ERC20, and make the Crystal an ERC1155 as well, and have everything nicely in one contract? Our worry is that most DEXes are ERC20 capable, and we won't have liquidity for our currency token if it's ERC1155. Heck, most NFT marketplaces are ERC721 capable, but honestly ERC721 sucks for games, rarely do you need truly unique items...

So ultimately it boils down to: Stick with ERC20 and ERC721, and sacrifice some game features that are hard / impossible to implement utilizing the two standards - but be compatible with the rest of the ecosystem, or use ERC1155 which is just PERFECT for our game, and allows us to implement all the features we need with ease and without weird hacks, but also possibly cut ourselves off from the rest of the ecosystem? We are deploying on a less popular EVM L2 (won't shill), which only has ERC20 DEXes and ERC721 markets.

I've been going in circles for days and have no clue what to do. My heart tells me to just roll one ERC1155 contract and be done... Wasn't that the point of the EIP1155 anyway, 1 contract = many tokens? What are your thoughts?

Thanks!

3
  • Maybe this article is gonna help you levelup.gitconnected.com/… Commented Feb 15, 2023 at 9:40
  • What is the timeframe for this project? How much time do you have to implement all of this? And what is the size of the development team?
    – Sky
    Commented Feb 15, 2023 at 9:45
  • All of this is pretty much implemented already, we did ERC20 for the main currency, and everything else as ERC1155. The development team is quite small though Commented Feb 17, 2023 at 3:53

1 Answer 1

0

We are also building a game and I would recommend the hybrid model for flexibility. It depends on how you plan to attract new players. An ERC20 - ERC1155 hybrid model would be suitable in that players would be able to swap the ERC20 token against other currencies, and also swap the ERC20 against in-game token.

Having an ERC20 token will be good for partnerships and to attract investors and a 1155 contract will help manage all in-game assets at once.

Regarding ERC721, it seems more marketplaces are building towards more flexible standard and will likely allow 1155 in the future.

2
  • Thanks for the response! So in the end it was a good decision to do ERC20 for the token and ERC1155 for everything else (chests, skins, soulbound currency etc). ERC20 will open the door to all DEXes and CEXes, hopefully ERC1155 marketplaces pick up pace because for games ERC721 doesn't make much sense. Commented Feb 15, 2023 at 13:48
  • Glad I could help. Happy to discuss further as I'm also new to 1155. Commented Feb 15, 2023 at 22:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.