Augur Sport is the Augur Sportsbook UI. Sportsbook is designed to mimmick a more traditional sportsbook experience. Unlike Augur Simplified, the available actions a user can take are limited to trading outcomes of sporting events that have liquid markets and cashing out winning shares. Illiquid Sports Markets will not appear to the user on the Sportsbook. You can not provide or remove liquidity on the Augur Sportsbook, that can only be done through Augur Simplified.
In order to work with the Augur Sport UI locally you will first need to run the build
command at the top level directory. Once the build command completes you then run the Augur Comps commands types:watch
and transpile:watch
. Please see the Augur Comps README.md for more information. Once those commands are watching files in Augur Comps you can run the following command to start a locally hosted version of the Augur Sports UI:
yarn sport start
The default port is 3000, if this is taken the script will prompt the user to try 3001. Now any changes you make to the code will be watched, rebuilt, and refreshed for you in your browser.
The Assets folder contains fonts, images, and most importantly the styles folder. The Styles folder contains the UI wide variables like theme coloring and some sizing for things such as a gutter size for the overall page. You'll note that the UI is currently designed to almost always reference these defined variables in the styles folder, which enables the quicker introduction of new themes.
These folders contain Augur Sport UI specific components that aren't shared with other Augur UIs. Things like market page view, or my bets page view, for example would exist here. For shared components, such as buttons or dropdowns, see Augur Comps.