• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

terra-money/station-mobile

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

terra-money/station-mobile

开源软件地址(OpenSource Url):

https://github.com/terra-money/station-mobile

开源编程语言(OpenSource Language):

TypeScript 79.5%

开源软件介绍(OpenSource Introduction):

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap