Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

terra-money/station-legacy

Repository files navigation

Terra Station

Banner

Terra Station is a web application to interact with Terra Core.

Terra Station allows users to:

  • Create wallets and send tokens
  • Get involved with staking, with looking through validator information and delegating Luna tokens
  • A dashboard monitoring key Terra macroeconomic variables
  • Atomically swap currencies on the Terra network at the effective on-chain exchange rate.

Running Terra Station with useStation locally

This guide explains how you can set up Terra Station repositories for local development. ​

Add local.terra.money to /etc/hosts

​ This will prevent any CORS issues when using API calls. ​ Add the following entry to your /etc/hosts file: ​

127.0.0.1 local.terra.money

Build Terra Station

git clone https://github.com/terra-money/station.git
cd station
npm i
npm run start

⚠️ For Windows user, you need to change the SASS_PATH inside your .env file. The value must be SASS_PATH=./node_modules;./src/styles

Terra Station should now be running locally at https://local.terra.money:3000.

🎓 You need to change your host file to be able to access local.terra.money locally.

Building Terra Station (Electron App)

Before executing the following commands, make sure the server of Terra Station(web) is running, which provides instructions on how to run the Electron app.

git clone https://github.com/terra-money/station-electron.git
cd station-electron
npm i
npm run start

An Electron app should now be running against https://local.terra.money:3000. You can now launch the app version of Terra Station.

Available Scripts

This project was bootstrapped with Create React App.

In the project directory, you can run:

npm run start

Runs the app in the development mode.
Open https://localhost:3000 to view it in the browser.

npm run test

Launches the test runner in the interactive watch mode.