User made web3 game experiences

RealmLink
2 min readSep 11, 2022

--

Today I’ll dive into something a bit more customizable for the user.

Firstly if you haven’t dived into my earlier articles on blockchain development & are confused by the above image please read the following:
https://medium.com/p/28a8bb064e86

Lets break it down.

Multi-Sig DAO Contract
Character ERC721 Minter
Currency/Resource ERC1155 Minter
Weapon ERC721 Minter
Weapon Effect ERC1155 Minter
Enemies Contract
A Range of Allowed Game Contracts

The Multi-Sig.

Has a tech team & community team, both must signoff before any action can be actioned.
Only this contract has the ability to add new resources/currencies/enemies/weapons/weapon effects to the ecosystem.

Character ERC721

Each token has it’s own stats (Maybe random? Could use an Oracle for RNG)
Each token can have it’s own weapon & weapon effect attached to increase it’s stats.

Currency/Resource ERC1155 Minter

This contract is the source of Gold, Silver, Bronze, Wood, Stone etc…

Weapon ERC721 Minter & Weapon Effect ERC1155 Minter

These contracts both require tokens from the Currency/Resource Minter to be burned in order to mint new tokens.
Both of these weapons & weapon effects have their own stats.

Enemies Contract

This contract will store information regarding what type of enemies are usable in the ecosystem, their stats & the rewards a user is due for defeating such an enemy.

Range of Allowed Game Contracts

These game contracts will only be added to the ecosystem after strict inspection of the contract. These contracts may only use characters/weapons/weapon effects/enemies from within the ecosystem.
A good solution for interaction between contracts would be to write a abstract contract that the game contracts could inherit to automate the lower level code & lighten the dev onboarding process.

If you found this article interesting try this one!
https://medium.com/me/stats/post/cd06bca5e541

Solidity Dev Study Group — https://discord.gg/KzbcGmrnfN

-Polygon Alliance — https://www.polygonalliance.com/

-Polygon Alliance Discord — https://discord.gg/kJKPCGQu66

Did you enjoy this article?
Feel like buying me a cup of coffee?
Polygon/Eth/Bsc — 0x4A581E0eaf6b71D05905e8E6014dc0277A1B10ad

New to trading? Try crypto trading bots or copy trading on best crypto exchanges

Join Coinmonks Telegram Channel and Youtube Channel get daily Crypto News

Also, Read

--

--