Emergency Withdraw
Last updated
Last updated
Terra chain does not provide the tool to execute command directly from the contract yet. In case you cannot access https://terra.spec.finance or you would like to have your own version of client to operate Spectrum Protocol Web App. Here are the steps:
Install nodejs (can skip if you already installed)
Clone or download frontend project from https://github.com/spectrumprotocol/frontend. If you download zip file, then unzip to a folder.
3. Open project folder in terminal or command prompt.
For MacOS user, you can follow this website https://ladedu.com/how-to-open-a-terminal-window-at-any-folder-from-finder-in-macos/
For Windows user, https://www.thewindowsclub.com/how-to-open-command-prompt-from-right-click-menu
4. Install dependencies
npm i --force
We need to force install because rxjs
library from Angular and Wallet Provider from Terra are conflicted.
5. Run local server
npm start
6. Open your browser, go to http://localhost:4200/, now you can connect your wallet and do any operations directly to the contracts from your machine.