Welcome to MOATcoin

A Token for a decentralized drinking game

About the game

MOATcoin is an ERC20 token built in Solidity for the Ethereum blockchain. To interact with it, you can use our Telegram bot, @moatbot

The concept of the game is pretty simple. Once you register using @moatbot, you will be given 20 MOATcoins to start playing

The rules of the game are pretty simple: there are certain forbidden words that cannot be said outside of the workplace. If a player says one of these words, he/she will have to drink a shot.

Players can accuse each other, defend themselves and testify on other players drinking directly on a group chat on Telegram: @moatbot will take care to register everything on the blockchain.

How to play

setup

To play the game, start by contacting @moatbot in a private chat. It will guide you setup an account. An Ethereum wallet will be created and managed for you; 20 MOAT coins will be minted and given to you

rules

  • If someone says a forbidden word outside of the workplace, they can be accused by someone else.
  • To accuse: @moatbot @Max said the word. This action will put one of your tokens at stake.
  • The accused candidate must drink a shot to pay their game debt.
  • If the accused candidate drinks their shot, someone else must testify on that.
  • To testify: @moatbot @Max had his shot. This action will cause: the staked token to return to the accuser; the minting of an award token for the accuser, the accused and the witness.
  • If you are accused unjustly, you can start a trial.
  • To challenge an accusation, REPLY to the message that accused you: That is not true.
  • The bot will create a POLL and every participant will be allowed to cast their vote for 2 hours.
  • The votes will be saved on the blockchain.
  • The votes are weighted: your vote weighs the number of tokens you have.
  • The execution of the sentence will be automatic after 2 hours. If the trial is won, the accuser will lose their stake and the accused won't have to drink the shot.

commands

To accuse someone
@moatbot @Max said the name
To testify
@moatbot @Max had his shot
To challenge
That is not true (replying to the message that accuses you)
To vote
cast your vote clicking on the poll
To execute a sentence
execute (replying to the poll, after 2 hours, if the sentence doesn't get autoexecuted for some reason)

WARNING: Before voting on a poll, wait for the trial to be confirmed on the blockchain, otherwise your vote will be lost

BEWARE: If you say a forbidden word in the chat, you will be automatically accused by @moatbot!

P.S.: Other commands work too, is up to you to figure them out!

Details

You can find and interact with the contract on the Ropsten testnet at the following address: 0x703dbd8cCFdA00DCeDDdab21a8D93d09DB39e177

You can read the scientific paper here