Introducing atomic swaps in World of Warcraft

8 replies 414 views
yi3ld51Full Member
Posts: 78 · Reputation: 389
#1Jun 21, 2026, 10:24 PM
I've been exploring different ways to do atomic swaps between my World of Warcraft items and my bitcoins. Since I already know about HTLC transactions, I was searching for in-game features that would let me reveal a secret after an in-game trade is done. At the same time, the recipient (Bob) needs to confirm that the sender (Alice) is actually providing him the secret item. This setup would allow Bob to swap various in-game items for Alice's special Bitcoin item, since he'd be able to use the secret from the item to redeem the HTLC. You can check out my full post about it here. So, basically, we need an oracle (Charlie) to PGP sign a message because neither Bob nor Alice can verify that the traded in-game item actually has the correct secret before or after the exchange. The blog doesn't go into the exact details of how to create such an AddOn, but the concept is that Charlie signs messages that Bob and Alice can both trust. This means Alice can let Bob know which item (itemId+creator) is associated with what Bitcoin value, txid, receiver, etc. Bob can then use Alice’s note, check Charlie's signature, and trust that everything is accurate.
2 Reply Quote Share
luckyapeFull Member
Posts: 77 · Reputation: 599
#2Jun 22, 2026, 12:42 AM
What you're describing here is not atomic. You've reintroduced a trusted third party. "Charlie signs a note that itemId+creator maps to H/txid" is just escrow by reputation. The game client gives you no verifiable link between the traded object and a Bitcoin preimage before the trade. Blizzard can roll back trades, duplicate items, or ban accounts. An addon can't provide a binding commitment. PGP proves Charlie spoke. It does not prove the item will reveal the preimage, or that the specific item traded is the one Charlie described. True atomicity would require the game to emit a signed, publicly verifiable receipt for the exact trade (or a TEE attestation) that can be used as a Bitcoin adaptor signature or HTLC trigger.
1 Reply Quote Share
yi3ld51Full Member
Posts: 78 · Reputation: 389
#3Jun 22, 2026, 04:31 AM
It is indeed not a pure atomic implementation as it is indeed very challenging due to a lack of cryptographic primitives. There is indeed trust required on the initial setup as I failed to figure out a way for Bob to verify by himself that he is trading against the correct item, which imo is only possible if the game server would embed a pre-image visible during trade, and a secret only visible to the item holder. Therefore the best option was for Charlie to "mint" the item and create a PGP signature as proof, which indeed requires trust. So I'm left with one last question on how to make the setup work without Charlie :3
6 Reply Quote Share
Posts: 79 · Reputation: 247
#4Jun 22, 2026, 09:05 AM
Likely trying to bind bitcoin directly is just not workable. Better to simply come up with a number of the game's own currency that to you at a given moment seems worth the amount of bitcoin you want, such as by seeing the buy-offers in bitcoin on a Wow-money versus bitcoin marketplace and feeling confident that if the trade happens right now the amount of WoW money obtained for the item will still be worth about the amount of bitcoin you were looking for. In the old days WoW money was not "allowed" to be traded though, back then various "gaming/gambling laws" and such made most games have to say in their terms and conditions that players are not allowed to go trade the money or items on third party game-asset-market sites. So back then there were reasons for games to not make it easy or secure to do such things. -MarkM-
3 Reply Quote Share
yi3ld51Full Member
Posts: 78 · Reputation: 389
#5Jun 22, 2026, 10:08 AM
I am not sure if im following correctly but this article is a result of my best effort to create something that can act as a Wow-money versus Bitcoin marketplace. Due to the need of Charlie it is indeed impractical to mint and exchange these "Bitcoin items" on the daily, but it allows for some sort of bridging.
4 Reply Quote Share
Posts: 79 · Reputation: 247
#6Jun 22, 2026, 10:28 AM
I am not aware whether or not WoW-money and WoW-items/characters/accounts buying and selling is nowadays still against the game's terms, but... This kind of application seems to be a case where trust is going to be "of the essence" until/unless the WoW platform itself decides to support it directly. Basically either someday they will make their own coin or token or will launch NFT items and/or accounts or both, or they will not. To me it has for "yonks" (arbitrary unit of time) seemed that one of the usefulness of games is as a trust-building and trust-testing and trust-confirming environment. I have met some players who insist that because something is a game it is perfectly acceptable for them to screw you any way they can, but I have also seen, a lot over many decades, that one can build strong trust-relationships too. So to me it is maybe a good thing that trust is needed to trade WoW money and/or items outside of the game. Are there not still trusted / trustable game-stuff-trading venues that cater to World of Warcraft? You could also look into rapid tit-for-tat small-scale trading script/app development, maybe, especially using the Lightning network, it could suffice to trade fractions of a satoshi worth of WoW money at a time rapidly until one side or the other reneges, the tiny scale involved making a renege just a little piece of the "fees" as it were? -MarkM-
4 Reply Quote Share
yi3ld51Full Member
Posts: 78 · Reputation: 389
#7Jun 22, 2026, 12:41 PM
Yeah as pointed out in the article there are indeed markets that are selling goods/services for gold or sometimes even "real money", and the problem with these services is that a third-party is collecting the goods to then finalize the trade. For example, Charlie takes gold from Alice, and wait for Bob to complete a dungeon with Alice to make sure she gets her item. So Charlie then trades the gold with Bob after Bob shows proof to Charlie that Alice got her item. There are alternatives to this, from special mount items and what not. Which is again, a third-party holding onto all the items at once. In my proposal, there is still need for a third-party but only during the setup of the trade. Once Alice obtains her in-game item after locking up funds in a HTLC, she can trade it with Bob after passing a PGP note so Bob knows what he is trading against. This setup I found to be the best solution as indeed the game devs aren't adopting to NFT's or other types of tokenization. This is still a low interaction (using mailbox to send items) and low labour (only need to 'mint' the item, not verify proof from Bob on a Discord server guessing if the screenshots provided are manipulated or not). I hope games never embed NFT's or any currency into their game as they will turn into "for profit" games, which means "labour". And once a 'game' becomes 'work' there is no fun or joy in actually playing the game. We all seen Axie Infinity, Crypto Kitties and well, NFT's in general. MMO's like Wow (and even OSRS) are actually fun to play, and they only have "value" as other players can often help you out a lot by co-operating in the game. Anyway, this isn't some multi trillion dollar market, it just be fun to have a censorship resistant way of adding value into ones inventory, without it depending on the games economy.
6 Reply Quote Share
0xAtlasFull Member
Posts: 175 · Reputation: 722
#8Jun 22, 2026, 05:50 PM
This is not an official trade, also WoW is an online game, it won't be long before they find out what you did, online games have some kind of feedback hidden in them and I bet that this is against their rules, everything could go wrong, don't do it even if you can. When people says we don't need play to earn games I always look at them nodding my head, online games is where millions of players spend their free times and earning in game items is one of those ways to keep going even harder.
1 Reply Quote Share
yi3ld51Full Member
Posts: 78 · Reputation: 389
#9Jun 22, 2026, 09:36 PM
I don't understand this Bitcoin maxi vision on this. Yes, Wow is an online service games. Yes, your items can be reverted as they use oldschool database systems which -- unlike Bitcoin's blockchain -- is not immutable. I do not seek to trade millions of $ worth of in-game items. This is a simple system for low value amounts, and is trying to eliminate the "mediation system" where Charlie is holding assets to facilitate trading. Which imo is an even worse system as both parties would give assets to Charlie, requiring more trust as Charlie can run off with all assets. The goal here is to have minimal trust setup to be able to trade in-game items for external value. I also disagree on play to earn games. Yes, you may create in-game value as your in-game items/currency can be traded and will help other players to unlock/progress faster in-game. I have ran many botfarms on Wow. Duplicated in-game currency's and dumped it on the black market in the old hay days of WoW. These games have very little effort in enforcing game policy and absolutely fail horribly at tracking/banning in-game players for gold swaps/trades/RMT. This was a good thing, as I was much more efficient at providing in-game resources to other players so they can spend less time farming resources and spend more time playing the endgame content. I don't think a game is worth playing if there is no joy/pleasure in the actual gameplay. I mean, are games like Crypto Kitties and Axie infinity even fun playing? I would argue that Casino games are fun playing, but thats gambling rather then "play to earn" imo.
1 Reply Quote Share

Related topics