jaworek / station

Web Application to interact with Terra Core

Home Page:https://station.terra.money

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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-project/station.git
cd station
cp src/chains.sample.ts src/chains.ts
git submodule init
git submodule update
yarn
yarn 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.

Customizing useStation

You may want to modify the useStation to change how Terra Station works. ​

git clone https://github.com/terra-project/use-station.git
cd use-station
yarn
yarn build

Then, to build Terra Station:

git clone https://github.com/terra-project/station.git
cd station
yarn
yarn add ..path/to/your/use-station
yarn start

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-project/station-electron.git
cd station-electron
git checkout -t origin/local
yarn
yarn 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:

yarn start

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

yarn test

Launches the test runner in the interactive watch mode.

About

Web Application to interact with Terra Core

https://station.terra.money


Languages

Language:TypeScript 71.5%Language:SCSS 16.9%Language:HTML 7.1%Language:JavaScript 4.4%Language:CSS 0.1%Language:Shell 0.0%