Help
Setup Metamask
If you don't have it already, install the MetaMask browser extension (in Chrome, Firefox, Brave or Opera on your desktop machine).
Set up the extension's wallet and use the network selector to point to the preferred network in the top left of the extension's interface. Alternatively you can use the UI button to switch between networks. If you select an unsupported network, the game will notify you and bring you to the default Goerli testnet.
Once done, come back here and reload the webpage
Using the console
Most game interaction is via the browser's console: Dev Tools -> Console
. Open the console and enter the command:
help()
to see a list of objects and functions injected by the game to the console. Since most interactions are asynchronous, we recommend using Chrome v62 which enables the async/await
keywords in the console, so instead of writting:
getBalance(player)> PROMISE
and opening the promise. With await/async, you can write:
await getBalance(player) > '1.11002387'
Beyond the console
Some levels will require working outside of the browser console. That is, writing solidity code and deploying it in the network to attack the level's instance contract with another contract. This can be done in multiple ways, for example:
1) Use Remix to write the code and deploy it in the corresponding network See Remix Solidity IDE.
2) Setup a local truffle project to develop and deploy the attack contracts. See Truffle Framework.