Like most things bitcoin, I'm weary of a scam.
Like most things bitcoin, I'm weary of a scam.
1. Player 1 wants to trade a shovel with Player 2 in exchange for 10 mBTC, and tells this to the server by generating a bitcoin address that he wishes to receive the funds at, and sending this to the server.
2. The server generates a bitcoin transaction with an output that points to Player 1's address, and asks Player 2 to add an input to the transaction, and pay 10 mBTC from that input to the output added by the server (Player 1's address). The signed transaction is then broadcast.
3. The server keeps an eye on the blockchain, and when the signed transaction makes it into the blockchain (waiting on the number of confirmations that Player 1 and Player 2 agree on), the item is transferred from Player 1 to Player 2 inside the game.