We didn't want to change every single game system contract, so instead we made a Strategy ERC20 (dw, I won't enterprise fizzbuzz any further) which decides which token to use based on your account.
Here's an example of the mint ability game system use to mint:
Trade-ability and ERC20:
We plan to bring (A LOT) more players into
@PirateNationNFT
.
But without the right systems in place, that could have profound effects on the game's economy, in particular on our game currency, PGLD.
๐งต โ how we're solving for this with two ERC20s. ๐
To set the stage - Pirate Nation launched with one currency (PGLD), and every game system in our game accepts or rewards this currency.
So we needed to find a way to allow new players to join, but for them to be able to not instantly dilute the in-game economy.
Our key method for this is a technique used in many games: require players to invest a significant amount of play time before they can effect the economy.
For example in WoW, leveling to max is a requirement before you can craft and have an impact on the econ.
Our team came up with a few ideas, all with various merits, but the one we went with was to create a new token (MARKS) that is exactly the same as PGLD, but only given to those without a trade license. MARKS aren't tradeable (soulbound) but can be minted & burned by game systems.
As we approach the snapshot, unlock & airdrop on Monday, September 11, here's a brief recap ๐งต with the 3 ways trading can be unlocked in Pirate Nation, once we go free-to-play (F2P) in the days ahead.
When you activate a trade license your MARKS are automatically converted to PGLD which are fully tradeable by anyone, and all reference of MARKS in your game disappear (quests that require or award MARKS now award PGLD).
This keeps the experience simple & clear for our players.
This allowed us to just update our loot tables to use our GoldTokenStrategy instead of GoldToken (PGLD), and now all of a sudden... all systems are smart enough to use this new pattern. ๐ค
We also enabled anyone who doesn't yet have a trade license to trade from PGLD to MARKs in-game, which allows new players to purchase PGLD on the secondary market and use it.
This allows our existing elder players to sell their resources to new players.
We've had this in the wild now for a few months, we're monitoring the approach and are happy with it.
If you'd like to see more break downs of technical approaches to FOCG - drop me a follow and let me know what you'd like to hear more about next!