Skip to content

About

🛰️ Station wallet mobile

Topics

Resources

Stars

35 stars

Watchers

19 watching

Forks

Repository files navigation

Terra Station Mobile App

banner

Terra Station Mobile is an application to interact with Terra Core.

Terra Station Mobile allows users to:

  • Create wallets and send tokens
  • Get involved with staking, by browsing through validator information and delegating Luna tokens
  • Atomically swap currencies on the Terra network at the effective on-chain exchange rate
  • QRCode support for easy interactions when sending assets and recovering wallets

App Scheme

Send ( terrastation://send/?payload=${base64 json} )

// payload json
{
  address?: string // terra, ethereum, bsc
  amount?: string
  token: string // native token : denom, cw20 : contract address
  memo?: string
}

WalletConnect - Connect ( terrastation://walletconnect_connect/?payload=${base64 json} )

// payload json
{
  uri : string // wallet connect bridge uri
}

WalletConnect - Confirm ( terrastation://walletconnect_confirm/?payload=${base64 json} )

// tx: CreateTxOptions in terra.js
const params = {
  msgs: tx.msgs.map((msg) => msg.toJSON()),
  fee: tx.fee?.toJSON(),
  memo: tx.memo,
  gasPrices: tx.gasPrices?.toString(),
  gasAdjustment: tx.gasAdjustment?.toString(),
  account_number: tx.account_number,
  sequence: tx.sequence,
  feeDenoms: tx.feeDenoms,
}

// payload json
{
  id : string // unique value. ex) Date.now()
  handshakeTopic : string // WalletConnector handshakeTopic
  params: object // serialized CreateTxOptions
}

Prerequisites

Android

  • Android Studio 4.1.1 or later

iOS

  • XCode 12.5.1 or later
  • Cocoapods 1.10.1 or later

React Native

  • Node.js v14.15.3 or later

Instructions

  1. Install submodule
$ git submodule init
$ git submodule update
  1. Install dependencies
$ npm install
  1. Install pod (iOS)
$ cd ios && pod install && cd ..
  1. Launch app
$ npm run [ios|android]

License

This software is licensed under the Apache 2.0 license. Read more about it here.

© 2021 Terra Station Mobile

About

🛰️ Station wallet mobile

Topics

Resources

Stars

35 stars

Watchers

19 watching

Forks

Releases

Packages

Used by

Contributors

Languages