After completing these set up steps, we’ll be ready to start developing with the UMA system.
Start in the top-level directory in this repository,
Install nodejs v11.15.0 and ensure that npm is installed along with it.
We should be able to compile the smart contracts from
cd core $(npm bin)/truffle compile
If everything worked, we should see the line "> Compiled successfully using:" in the output.
Install the Ganache UI.
Run Ganache on localhost port
9545(use the above links for instructions on how to do this).
If everything was setup correctly, we should be able to run automated tests from
cd core $(npm bin)/truffle test --network test
These tests will take a while to finish, but if set up correctly, all tests should pass.
First, we’ll set up the dependencies for the UMA token builder.
Next, we’ll set up the MetaMask Chrome extension and connect it to our locally running instance of Ganache.