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.
This guide explains how you can set up Terra Station repositories for local development.
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
git clone https://github.com/terra-project/station.git
cd station
cp src/Chains.sample.ts src/Chains.ts
yarn
yarn start
Terra Station should now be running locally at https://local.terra.money:3000.
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
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.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open https://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode.