diff --git a/.env b/.env
index 8c1a04463..edb1ee623 100644
--- a/.env
+++ b/.env
@@ -38,6 +38,7 @@ APP_RATING_MIN_VERSION=0
AUTHCORE_CREDENTIAL_KEY=authcore.like.co # Server name to distinguish Keychain/SharedPreferences entries
AUTHCORE_ROOT_URL=https://authcore.like.co
+AUTHCORE_CLIENT_ID=likecoin-app-hidesocial
COSMOS_LCD_URL=https://node.like.co/rpc/
COSMOS_CHAIN_ID=likecoin-mainnet-2
COSMOS_DENOM=LIKE
@@ -50,7 +51,10 @@ GAS_DELEGATE=160000
GAS_REDELEGATE=360000
GAS_UNDELEGATE=200000
GAS_WITHDRAW=120000
-MINTSCAN_URL=https://www.mintscan.io/likecoin
+
+BLOCK_EXPLORER_ACCOUNT_BASE_URL=https://ping.pub/likecoin/account
+BLOCK_EXPLORER_VALIDATOR_BASE_URL=https://ping.pub/likecoin/staking
+BLOCK_EXPLORER_TRANSACTION_BASE_URL=https://ping.pub/likecoin/tx
IAP_ENABLE=false
IAP_IOS_IS_SANDBOX=false
diff --git a/README.md b/README.md
index a9994e95a..00bd0c1df 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# Liker Land App
-Liker Land on iOS/Android Mobile
+# LikeCoin App
+LikeCoin on iOS/Android Mobile
![](https://github.com/likecoin/likecoin-app/workflows/Lint%20and%20build/badge.svg)
![](https://github.com/likecoin/likecoin-app/workflows/Release/badge.svg)
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
index e2f7fb6b8..aa24293ea 100644
Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
index 46ace219b..9ee903e5a 100644
Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
index 93f14042d..fdaa39c58 100644
Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
index 4b1c965f3..eee7a992a 100644
Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
index a9b08ef83..177f676f1 100644
Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
index 62c881597..0ded5fd5d 100644
Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index 39867d164..68b638060 100644
Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
index 2c87cf07b..80ffb417f 100644
Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
index cd3dce693..3c33499ea 100644
Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index 10371eca2..37642843c 100644
Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
index a2aac404e..2a64b6e17 100644
Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
index 43e802601..32c7051d9 100644
Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index 886892194..ddcf5ce2f 100644
Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
index c908c6f3f..abfcde0c6 100644
Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
index 6c52dbfc5..c8da79be5 100644
Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml
index d5c065f13..91f0d7e7b 100644
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
@@ -1,6 +1,6 @@
- Liker Land
- Liker Land
+ LikeCoin
+ LikeCoin
key_live_ioIMK0K8YS06p9Ndf7K2IpgmBzl55RxS
key_test_cmTNU7J68M39fXLig8P8UdjdtEh41PuF
diff --git a/android/fastlane/metadata/android/en-US/full_description.txt b/android/fastlane/metadata/android/en-US/full_description.txt
index 3519320e6..a8d9e0058 100644
--- a/android/fastlane/metadata/android/en-US/full_description.txt
+++ b/android/fastlane/metadata/android/en-US/full_description.txt
@@ -1,16 +1,12 @@
-Liker Land let you
+LikeCoin App let you
- own your decentralized identity
- manage your LikeCoin asset
-- participate in decentralized publishing
Decentralized Identity
-The wallet address is your identity in the Web3 world. Surf the web with the dedicated address created by Liker Land.
+The wallet address is your identity in the Web3 world. Surf the web with the dedicated address created by LikeCoin.
Manage LikeCoin Asset
-Liker Land is a crypto wallet. Use it to check LIKE balance, transfer and receive LIKE, and also delegate LIKE to get some delegation reward.
-
-Participate in Decentralized Publishing
-Browse the content of depub.space, which is the "Web3 Twitter", a decentralized social media.
+LikeCoin App is a crypto wallet. Use it to check LIKE balance, transfer and receive LIKE, and also delegate LIKE to get some delegation reward.
Civic Liker
Delegate at least 5,000 LIKE to "Civic Liker" node to become a Civic Liker, so that you can use your delegation reward to reward creators, with no need to consume the principle.
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/en-US/short_description.txt b/android/fastlane/metadata/android/en-US/short_description.txt
index 9202b6828..98e20b9fa 100644
--- a/android/fastlane/metadata/android/en-US/short_description.txt
+++ b/android/fastlane/metadata/android/en-US/short_description.txt
@@ -1 +1 @@
-Republic of Liker Land
\ No newline at end of file
+Manage your LikeCoin
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/en-US/title.txt b/android/fastlane/metadata/android/en-US/title.txt
index f1e19a652..c53dbeb99 100644
--- a/android/fastlane/metadata/android/en-US/title.txt
+++ b/android/fastlane/metadata/android/en-US/title.txt
@@ -1 +1 @@
-Liker Land
\ No newline at end of file
+LikeCoin
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/zh-CN/full_description.txt b/android/fastlane/metadata/android/zh-CN/full_description.txt
index 12de70d28..fd04a3a7a 100644
--- a/android/fastlane/metadata/android/zh-CN/full_description.txt
+++ b/android/fastlane/metadata/android/zh-CN/full_description.txt
@@ -1,16 +1,12 @@
-Liker Land 让你
+LikeCoin App 让你
- 拥有去中心化的身份
- 管理 LikeCoin 资产
-- 参与去中心出版
去中心化身份
-在 Web3 的世界,你的钱包地址代表着你的身份。使用 Liker Land 获得专属的钱包地址,以此纵横元宇宙。
+在 Web3 的世界,你的钱包地址代表着你的身份。使用 LikeCoin App 获得专属的钱包地址,以此纵横元宇宙。
管理 LikeCoin 资产
-Liker Land 是一个电子钱包,让你查看、接收和发送 LikeCoin、还可委托 LikeCoin 大获取委托回报。
-
-参与去中心出版
-用 Liker Land 浏览去中心社交媒体 depub.space 的内容
+LikeCoin App 是一个电子钱包,让你查看、接收和发送 LikeCoin、还可委托 LikeCoin 大获取委托回报。
赞赏公民
-委托最少 5,000 LIKE 到“赞赏公民”节点,即可获得赞赏公民会籍,以每天产生的“委托回报”支持创作,无需动用本金。到 Liker Land 书签,方便日后重温。
\ No newline at end of file
+委托最少 5,000 LIKE 到“赞赏公民”节点,即可获得赞赏公民会籍,以每天产生的“委托回报”支持创作,无需动用本金。到 LikeCoin App 书签,方便日后重温。
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/zh-CN/title.txt b/android/fastlane/metadata/android/zh-CN/title.txt
index f1e19a652..c53dbeb99 100644
--- a/android/fastlane/metadata/android/zh-CN/title.txt
+++ b/android/fastlane/metadata/android/zh-CN/title.txt
@@ -1 +1 @@
-Liker Land
\ No newline at end of file
+LikeCoin
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/zh-HK/full_description.txt b/android/fastlane/metadata/android/zh-HK/full_description.txt
index 163dfb2a8..ea5a91dd5 100644
--- a/android/fastlane/metadata/android/zh-HK/full_description.txt
+++ b/android/fastlane/metadata/android/zh-HK/full_description.txt
@@ -1,16 +1,12 @@
-Liker Land 讓你
+LikeCoin App 讓你
- 擁有去中心化的身份
- 管理 LikeCoin 資產
-- 參與去中心出版
去中心化身份
-在 Web3 的世界,你的錢包地址代表著你的身份。使用 Liker Land 獲得專屬的錢包地址,以此縱橫元宇宙。
+在 Web3 的世界,你的錢包地址代表著你的身份。使用 LikeCoin App 獲得專屬的錢包地址,以此縱橫元宇宙。
管理 LikeCoin 資產
-Liker Land 是一個電子錢包,讓你查看、接收和發送 LikeCoin、還可委託 LikeCoin 大獲取委託回報。
-
-參與去中心出版
-用 Liker Land 瀏覽去中心社交媒體 depub.space 的內容
+LikeCoin App 是一個電子錢包,讓你查看、接收和發送 LikeCoin、還可委託 LikeCoin 大獲取委託回報。
讚賞公民
-委託最少 5,000 LIKE 到「讚賞公民」節點,即可獲得讚賞公民會籍,以每天產生的「委託回報」支持創作,無需動用本金。到 Liker Land 書籤,方便日後重溫。
\ No newline at end of file
+委託最少 5,000 LIKE 到「讚賞公民」節點,即可獲得讚賞公民會籍,以每天產生的「委託回報」支持創作,無需動用本金。到 LikeCoin App 書籤,方便日後重溫。
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/zh-HK/title.txt b/android/fastlane/metadata/android/zh-HK/title.txt
index f1e19a652..c53dbeb99 100644
--- a/android/fastlane/metadata/android/zh-HK/title.txt
+++ b/android/fastlane/metadata/android/zh-HK/title.txt
@@ -1 +1 @@
-Liker Land
\ No newline at end of file
+LikeCoin
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/zh-TW/full_description.txt b/android/fastlane/metadata/android/zh-TW/full_description.txt
index 163dfb2a8..ea5a91dd5 100644
--- a/android/fastlane/metadata/android/zh-TW/full_description.txt
+++ b/android/fastlane/metadata/android/zh-TW/full_description.txt
@@ -1,16 +1,12 @@
-Liker Land 讓你
+LikeCoin App 讓你
- 擁有去中心化的身份
- 管理 LikeCoin 資產
-- 參與去中心出版
去中心化身份
-在 Web3 的世界,你的錢包地址代表著你的身份。使用 Liker Land 獲得專屬的錢包地址,以此縱橫元宇宙。
+在 Web3 的世界,你的錢包地址代表著你的身份。使用 LikeCoin App 獲得專屬的錢包地址,以此縱橫元宇宙。
管理 LikeCoin 資產
-Liker Land 是一個電子錢包,讓你查看、接收和發送 LikeCoin、還可委託 LikeCoin 大獲取委託回報。
-
-參與去中心出版
-用 Liker Land 瀏覽去中心社交媒體 depub.space 的內容
+LikeCoin App 是一個電子錢包,讓你查看、接收和發送 LikeCoin、還可委託 LikeCoin 大獲取委託回報。
讚賞公民
-委託最少 5,000 LIKE 到「讚賞公民」節點,即可獲得讚賞公民會籍,以每天產生的「委託回報」支持創作,無需動用本金。到 Liker Land 書籤,方便日後重溫。
\ No newline at end of file
+委託最少 5,000 LIKE 到「讚賞公民」節點,即可獲得讚賞公民會籍,以每天產生的「委託回報」支持創作,無需動用本金。到 LikeCoin App 書籤,方便日後重溫。
\ No newline at end of file
diff --git a/android/fastlane/metadata/android/zh-TW/title.txt b/android/fastlane/metadata/android/zh-TW/title.txt
index f1e19a652..c53dbeb99 100644
--- a/android/fastlane/metadata/android/zh-TW/title.txt
+++ b/android/fastlane/metadata/android/zh-TW/title.txt
@@ -1 +1 @@
-Liker Land
\ No newline at end of file
+LikeCoin
\ No newline at end of file
diff --git a/app/i18n/translations/en.json b/app/i18n/translations/en.json
index faddabc4c..beb91129d 100644
--- a/app/i18n/translations/en.json
+++ b/app/i18n/translations/en.json
@@ -9,7 +9,7 @@
"amount_input_max": "MAX",
"AppRatingPrompt": {
"DenialTitle": "Can you give us some feedback?",
- "Title": "Are you satisfied with Liker Land?"
+ "Title": "Are you satisfied with LikeCoin App?"
},
"BookmarkArchivesScreen": {
"EmptyLabel": "You can archive a content in reading list",
@@ -52,7 +52,7 @@
"undo": "Undo",
"unfollow": "Unfollow",
"unfollowSuccess": "You have unfollowed %{creator}",
- "viewOnBlockExplorer": "View on Mintscan open data browser",
+ "viewOnBlockExplorer": "View on open data browser",
"Yes": "Yes"
},
"community_links_label": "Join LikeCoin community",
@@ -83,7 +83,7 @@
"Yesterday": "Yesterday"
},
"error": {
- "DEPRECATED_APP": "Sorry, this version of Liker Land is too old. Please update in order to proceed.",
+ "DEPRECATED_APP": "Sorry, this version of LikeCoin App is too old. Please update in order to proceed.",
"IAP_PURCHASE_RECEIPT_ERROR": "Error occurred at purchase",
"LIKER_ID_FORMAT_INVALID": "The Liker ID includes invalid character",
"LIKER_ID_LENGTH_LIMIT_MAX": "The length of the Liker ID must not be more than %{count}",
@@ -102,7 +102,7 @@
"TRANSFER_INPUT_TARGET_INVALID": "The Liker ID or address is invalid",
"TRANSFER_TARGET_NO_WALLET": "Receiver does not have an address",
"TX_INSUFFICIENT_GAS_FEE": "Your wallet available balance is not enough for gas fee, need %{diff} more LIKE",
- "TX_NOT_INCLUDED_YET": "The transaction was still not included in a block. Please verify it on Mintscan open data browser",
+ "TX_NOT_INCLUDED_YET": "The transaction was still not included in a block. Please verify it on open data browser",
"UNSTAKE_AMOUNT_EXCEED_MAX": "The amount has exceeded the maximum undelegation amount",
"UNSTAKE_AMOUNT_LESS_THAN_ZERO": "The amount must not be zero",
"UNSTAKE_NOT_ENOUGH_FEE": "Not enough LikeCoin to pay for transaction fee"
@@ -143,7 +143,7 @@
"civic-like": "%{from} Liked your work. You received %{amount}.",
"daily-rewards": "%{likers} Liked your work(s) today. You received %{amount} in total.",
"receive": "You received %{amount} from %{from}.",
- "referral": "%{from} has installed Liker Land app. You both received %{amount}.",
+ "referral": "%{from} has installed LikeCoin App. You both received %{amount}.",
"send": "You sent %{amount} to %{to}.",
"super-like": "%{from} Super Liked your work. You received %{amount}."
},
@@ -194,7 +194,7 @@
"DescriptionLabel": "Call out to your fans to join as your Civic Likers and support your work now.",
"HeaderTitle": "Sponsor Link",
"OgDescription": "Follow your trusted Content Jockey. Less browsing. More reading.",
- "OgTitle": "Accept {{displayName}}'s invitation, download Liker Land",
+ "OgTitle": "Accept {{displayName}}'s invitation, download LikeCoin App",
"Title": "Your creativity are deserved to be rewarded."
},
"ReferrerFollowScreen": {
@@ -216,7 +216,7 @@
"conflict": "The link already exist",
"invalid-url": "Cannot save this link.",
"unauthorized": "Please sign-in again in the app.",
- "unknown": "Unable to save to Liker Land."
+ "unknown": "Unable to save to LikeCoin App."
}
},
"seed_words_export_screen_error_account_mismatch": "Account mismatch, please login again with the correct OAuth method",
@@ -264,7 +264,7 @@
}
},
"privacyPolicy": "Privacy Policy",
- "RateApp": "Rate Liker Land",
+ "RateApp": "Rate LikeCoin App",
"Referral": "Sponsor Link",
"subscription": "Subscription",
"termsOfUse": "Terms of Use",
@@ -282,8 +282,8 @@
"errorLikerLandWebview": "Error occurs when signing in to liker.land (%{code}): %{description}",
"heading": "Less browsing. More reading.",
"LoadingTakesLonger": "This is taking longer than usual...",
- "signIn": "Sign In",
- "signUp": "Sign Up"
+ "signIn": "Sign in to Wallet",
+ "signUp": "Create Wallet"
},
"sponsor_link_cta_button": "Share your sponsor link",
"sponsor_link_cta_description": "Build your fans network, get their monthly support.",
diff --git a/app/i18n/translations/zh-Hans-CN.json b/app/i18n/translations/zh-Hans-CN.json
index 3c3cffabb..e4223c0c3 100644
--- a/app/i18n/translations/zh-Hans-CN.json
+++ b/app/i18n/translations/zh-Hans-CN.json
@@ -9,7 +9,7 @@
"amount_input_max": "最大",
"AppRatingPrompt": {
"DenialTitle": "可否给我们一些改善建议?",
- "Title": "你满意 Liker Land 吗?"
+ "Title": "你满意 LikeCoin App 吗?"
},
"BookmarkArchivesScreen": {
"EmptyLabel": "你可從阅读列表封存內容",
@@ -52,7 +52,7 @@
"undo": "復原",
"unfollow": "取消追踪",
"unfollowSuccess": "已取消追踪 %{creator}",
- "viewOnBlockExplorer": "在 Mintscan 查看开放数据",
+ "viewOnBlockExplorer": "查看开放数据",
"Yes": "是"
},
"community_links_label": "加入 LikeCoin 社群",
@@ -82,7 +82,7 @@
"Yesterday": "昨日"
},
"error": {
- "DEPRECATED_APP": "Liker Land 版本过旧,无法兼容,请立即更新。",
+ "DEPRECATED_APP": "LikeCoin App 版本过旧,无法兼容,请立即更新。",
"IAP_PURCHASE_RECEIPT_ERROR": "购买时出现错误",
"LIKER_ID_FORMAT_INVALID": "请以英文字、数字、「-」或「_」组成你的 Liker ID",
"LIKER_ID_LENGTH_LIMIT_MAX": "Liker ID 不能多于 %{count} 个字元",
@@ -101,7 +101,7 @@
"TRANSFER_INPUT_TARGET_INVALID": "Liker ID 或钱包地址不正确",
"TRANSFER_TARGET_NO_WALLET": "收款人尚无钱包地址",
"TX_INSUFFICIENT_GAS_FEE": "钱包余额不足以支付 Gas 费用,還需要 %{diff} LIKE",
- "TX_NOT_INCLUDED_YET": "交易尚未在区块链上被确认,请于 Mintscan 查看开放数据",
+ "TX_NOT_INCLUDED_YET": "交易尚未在区块链上被确认,请查看开放数据",
"UNSTAKE_AMOUNT_EXCEED_MAX": "数目已超过可取回委託的上限",
"UNSTAKE_AMOUNT_LESS_THAN_ZERO": "数目不可小于 0",
"UNSTAKE_NOT_ENOUGH_FEE": "手续费不足"
@@ -142,7 +142,7 @@
"civic-like": "%{from} 赞赏你的作品,你获得 %{amount}。",
"daily-rewards": "今天有 %{likers} 赞赏你的作品,你共获得 %{amount}。",
"receive": "你已从 %{from} 收到 %{amount}。",
- "referral": "%{from} 已安装 Liker Land app,你们分别获得 %{amount}。",
+ "referral": "%{from} 已安装 LikeCoin App app,你们分别获得 %{amount}。",
"send": "你已转账 %{amount} 给 %{to}。",
"super-like": "%{from} Super Like 你的作品,你获得 %{amount}。"
},
@@ -192,7 +192,7 @@
"ReferralScreen": {
"DescriptionLabel": "立即呼吁你的读者加入赞赏公民计划,支持你自由地创作吧。",
"HeaderTitle": "赞助连结",
- "OgDescription": "下载 Liker Land,追踪 {{displayName}}。不是浏览,而是阅读。",
+ "OgDescription": "下载 LikeCoin App,追踪 {{displayName}}。不是浏览,而是阅读。",
"OgTitle": "接受 {{displayName}} 邀请,以文会友",
"Title": "创意无价,创作有价"
},
@@ -214,8 +214,8 @@
"Error": {
"conflict": "阅读列表内已存有此网页",
"invalid-url": "未能成功辨识链接。",
- "unauthorized": "请重新登入 Liker Land。",
- "unknown": "未能成功把网页加到 Liker Land 阅读列表。"
+ "unauthorized": "请重新登入 LikeCoin App。",
+ "unknown": "未能成功把网页加到 LikeCoin App 阅读列表。"
}
},
"seed_words_export_screen_error_account_mismatch": "帐户不符,请选择正确的第三方登入方式",
@@ -263,7 +263,7 @@
}
},
"privacyPolicy": "隐私权政策",
- "RateApp": "为 Liker Land 评分",
+ "RateApp": "为 LikeCoin App 评分",
"Referral": "赞助连结",
"subscription": "订阅",
"termsOfUse": "使用条款",
@@ -281,8 +281,8 @@
"errorLikerLandWebview": "登入 liker.land 错误 [%{code}]:%{description}",
"heading": "不是浏览,而是阅读。",
"LoadingTakesLonger": "载入需时,请稍等⋯",
- "signIn": "登入",
- "signUp": "註册"
+ "signIn": "登入钱包",
+ "signUp": "创建钱包"
},
"sponsor_link_cta_button": "分享你的赞助连结",
"sponsor_link_cta_description": "建立您的订户群,每月获取赞助收入。",
@@ -454,12 +454,12 @@
"walletConnectRequestView_button_reject": "拒绝",
"walletConnectRequestView_label_app_unknown": "未知程序",
"walletConnectRequestView_label_description_back": "请返回浏览器继续",
- "walletConnectRequestView_label_description_getAccounts": "%{name} 向 Liker Land App 发出了获取 %{chainIds} 的钱包地址请求",
- "walletConnectRequestView_label_description_login": "%{name} 向 Liker Land App 发出了登入请求",
+ "walletConnectRequestView_label_description_getAccounts": "%{name} 向 LikeCoin App App 发出了获取 %{chainIds} 的钱包地址请求",
+ "walletConnectRequestView_label_description_login": "%{name} 向 LikeCoin App App 发出了登入请求",
"walletConnectRequestView_label_description_login_back": "请返回浏览器继续",
- "walletConnectRequestView_label_description_sessionRequest": "%{name} 向 Liker Land App 发出了连接请求",
- "walletConnectRequestView_label_description_sign": "%{name} 向 Liker Land App 发出了签名请求",
- "walletConnectRequestView_label_description_unknown": "%{name} 向 Liker Land App 发出了请求",
+ "walletConnectRequestView_label_description_sessionRequest": "%{name} 向 LikeCoin App App 发出了连接请求",
+ "walletConnectRequestView_label_description_sign": "%{name} 向 LikeCoin App App 发出了签名请求",
+ "walletConnectRequestView_label_description_unknown": "%{name} 向 LikeCoin App App 发出了请求",
"walletConnectRequestView_loading_hint": "若沒有彈出確認請求,請返回瀏覽器再回來",
"walletDashboardScreen": {
"allDelegatorRewardsLabel": "未领取收益",
diff --git a/app/i18n/translations/zh-Hant-HK.json b/app/i18n/translations/zh-Hant-HK.json
index 96521e9c3..aeba485fc 100644
--- a/app/i18n/translations/zh-Hant-HK.json
+++ b/app/i18n/translations/zh-Hant-HK.json
@@ -9,7 +9,7 @@
"amount_input_max": "最大",
"AppRatingPrompt": {
"DenialTitle": "可否給我們一些改善建議?",
- "Title": "你滿意 Liker Land 嗎?"
+ "Title": "你滿意 LikeCoin App 嗎?"
},
"BookmarkArchivesScreen": {
"EmptyLabel": "你可從閱讀列表封存內容",
@@ -52,7 +52,7 @@
"undo": "復原",
"unfollow": "取消追蹤",
"unfollowSuccess": "已取消追蹤 %{creator}",
- "viewOnBlockExplorer": "在 Mintscan 查看開放數據",
+ "viewOnBlockExplorer": "查看開放數據",
"Yes": "是"
},
"community_links_label": "加入 LikeCoin 社群",
@@ -82,7 +82,7 @@
"Yesterday": "昨日"
},
"error": {
- "DEPRECATED_APP": "Liker Land 版本過舊,無法兼容,請立即更新。",
+ "DEPRECATED_APP": "LikeCoin App 版本過舊,無法兼容,請立即更新。",
"IAP_PURCHASE_RECEIPT_ERROR": "購買時出現錯誤",
"LIKER_ID_FORMAT_INVALID": "請以英文字、數字、「-」或「_」組成你的 Liker ID",
"LIKER_ID_LENGTH_LIMIT_MAX": "Liker ID 不能多於 %{count} 個字元",
@@ -101,7 +101,7 @@
"TRANSFER_INPUT_TARGET_INVALID": "Liker ID 或錢包地址不正確",
"TRANSFER_TARGET_NO_WALLET": "收款人尚無錢包地址",
"TX_INSUFFICIENT_GAS_FEE": "錢包餘額不足以支付 Gas 費用,還需要 %{diff} LIKE",
- "TX_NOT_INCLUDED_YET": "交易尚未在區塊鏈上被確認,請於 Mintscan 查看開放數據",
+ "TX_NOT_INCLUDED_YET": "交易尚未在區塊鏈上被確認,請查看開放數據",
"UNSTAKE_AMOUNT_EXCEED_MAX": "數目已超過可取回委託的上限",
"UNSTAKE_AMOUNT_LESS_THAN_ZERO": "數目不可小於 0",
"UNSTAKE_NOT_ENOUGH_FEE": "手續費不足"
@@ -142,7 +142,7 @@
"civic-like": "%{from} 讚賞你的作品,你獲得 %{amount}。",
"daily-rewards": "今天有 %{likers} 讚賞你的作品,你共獲得 %{amount}。",
"receive": "你已從 %{from} 收到 %{amount}。",
- "referral": "%{from} 已安裝 Liker Land app,你們分別獲得 %{amount}。",
+ "referral": "%{from} 已安裝 LikeCoin App,你們分別獲得 %{amount}。",
"send": "你已轉賬 %{amount} 給 %{to}。",
"super-like": "%{from} Super Like 你的作品,你獲得 %{amount}。"
},
@@ -192,7 +192,7 @@
"ReferralScreen": {
"DescriptionLabel": "立即呼籲你的讀者加入讚賞公民計劃,支持你自由地創作吧。",
"HeaderTitle": "贊助連結",
- "OgDescription": "下載 Liker Land,追蹤 {{displayName}}。不是瀏覽,而是閱讀。",
+ "OgDescription": "下載 LikeCoin App,追蹤 {{displayName}}。不是瀏覽,而是閱讀。",
"OgTitle": "接受 {{displayName}} 邀請,以文會友",
"Title": "創意無價,創作有價。"
},
@@ -214,8 +214,8 @@
"Error": {
"conflict": "閱讀列表內已存有此網頁",
"invalid-url": "未能成功辨識鏈接。",
- "unauthorized": "請重新登入 Liker Land。",
- "unknown": "未能成功把網頁加到 Liker Land 閱讀列表。"
+ "unauthorized": "請重新登入 LikeCoin App。",
+ "unknown": "未能成功把網頁加到 LikeCoin App 閱讀列表。"
}
},
"seed_words_export_screen_error_account_mismatch": "帳戶不符,請選擇正確的第三方登入方式",
@@ -263,7 +263,7 @@
}
},
"privacyPolicy": "隱私權政策",
- "RateApp": "為 Liker Land 評分",
+ "RateApp": "為 LikeCoin App 評分",
"Referral": "贊助連結",
"subscription": "訂閱",
"termsOfUse": "使用條款",
@@ -281,8 +281,8 @@
"errorLikerLandWebview": "登入 liker.land 錯誤 [%{code}]:%{description}",
"heading": "不是瀏覽,而是閱讀。",
"LoadingTakesLonger": "載入需時,請稍等⋯",
- "signIn": "登入",
- "signUp": "註冊"
+ "signIn": "登入錢包",
+ "signUp": "創建錢包"
},
"sponsor_link_cta_button": "分享你的贊助連結",
"sponsor_link_cta_description": "建立您的訂戶群,每月獲取贊助收入。",
@@ -454,12 +454,12 @@
"walletConnectRequestView_button_reject": "拒絕",
"walletConnectRequestView_label_app_unknown": "未知 App",
"walletConnectRequestView_label_description_back": "請返回瀏覽器繼續",
- "walletConnectRequestView_label_description_getAccounts": "%{name} 向 Liker Land App 發出了存取 %{chainIds} 的錢包地址請求",
- "walletConnectRequestView_label_description_login": "%{name} 向 Liker Land App 發出了登入請求",
+ "walletConnectRequestView_label_description_getAccounts": "%{name} 向 LikeCoin App 發出了存取 %{chainIds} 的錢包地址請求",
+ "walletConnectRequestView_label_description_login": "%{name} 向 LikeCoin App 發出了登入請求",
"walletConnectRequestView_label_description_login_back": "請返回瀏覽器繼續",
- "walletConnectRequestView_label_description_sessionRequest": "%{name} 向 Liker Land App 發出了連接請求",
- "walletConnectRequestView_label_description_sign": "%{name} 向 Liker Land App 發出了簽名請求",
- "walletConnectRequestView_label_description_unknown": "%{name} 向 Liker Land App 發出了請求",
+ "walletConnectRequestView_label_description_sessionRequest": "%{name} 向 LikeCoin App 發出了連接請求",
+ "walletConnectRequestView_label_description_sign": "%{name} 向 LikeCoin App 發出了簽名請求",
+ "walletConnectRequestView_label_description_unknown": "%{name} 向 LikeCoin App 發出了請求",
"walletConnectRequestView_loading_hint": "若沒有彈出確認請求,請返回瀏覽器再回來",
"walletDashboardScreen": {
"allDelegatorRewardsLabel": "未領取收益",
diff --git a/app/i18n/translations/zh-Hant-TW.json b/app/i18n/translations/zh-Hant-TW.json
index 21112d632..88141c2c1 100644
--- a/app/i18n/translations/zh-Hant-TW.json
+++ b/app/i18n/translations/zh-Hant-TW.json
@@ -9,7 +9,7 @@
"amount_input_max": "最大",
"AppRatingPrompt": {
"DenialTitle": "是否願意給予我們一些改善建議?",
- "Title": "您是否滿意 Liker Land?"
+ "Title": "您是否滿意 LikeCoin app?"
},
"BookmarkArchivesScreen": {
"EmptyLabel": "您可以從閱讀列表中封存文章",
@@ -52,7 +52,7 @@
"undo": "復原",
"unfollow": "取消追蹤",
"unfollowSuccess": "已取消追蹤 %{creator}",
- "viewOnBlockExplorer": "在 Mintscan 檢視開放數據",
+ "viewOnBlockExplorer": "檢視開放數據",
"Yes": "是"
},
"community_links_label": "加入 LikeCoin 社群",
@@ -82,7 +82,7 @@
"Yesterday": "昨天"
},
"error": {
- "DEPRECATED_APP": "Liker Land 版本過舊,無法相容,請立即更新。",
+ "DEPRECATED_APP": "LikeCoin App 版本過舊,無法相容,請立即更新。",
"IAP_PURCHASE_RECEIPT_ERROR": "購買時出現錯誤",
"LIKER_ID_FORMAT_INVALID": "請以英文字、數字、「-」或「_」組成您的 Liker ID",
"LIKER_ID_LENGTH_LIMIT_MAX": "Liker ID 不能多於 %{count} 個字元",
@@ -101,7 +101,7 @@
"TRANSFER_INPUT_TARGET_INVALID": "Liker ID 或錢包地址不正確",
"TRANSFER_TARGET_NO_WALLET": "收款人尚無錢包地址",
"TX_INSUFFICIENT_GAS_FEE": "錢包餘額不足以支付 Gas 費用,還需要 %{diff} LIKE",
- "TX_NOT_INCLUDED_YET": "交易尚未在區塊鏈上被確認,請於 Mintscan 查看開放數據",
+ "TX_NOT_INCLUDED_YET": "交易尚未在區塊鏈上被確認,請查看開放數據",
"UNSTAKE_AMOUNT_EXCEED_MAX": "數目已超過可取回委託的上限",
"UNSTAKE_AMOUNT_LESS_THAN_ZERO": "數目不可小於 0",
"UNSTAKE_NOT_ENOUGH_FEE": "手續費不足"
@@ -142,7 +142,7 @@
"civic-like": "%{from} 已讚賞了您的作品,您獲得 %{amount}。",
"daily-rewards": "今天已有 %{likers} 讚賞了您的作品,您共獲得 %{amount}。",
"receive": "您已從 %{from} 收到 %{amount}。",
- "referral": "%{from} 已安裝 Liker Land app,您們分別獲得 %{amount}。",
+ "referral": "%{from} 已安裝 LikeCoin App,您們分別獲得 %{amount}。",
"send": "您已轉帳 %{amount} 給 %{to}。",
"super-like": "%{from} Super Liked 您的作品,您獲得 %{amount}。"
},
@@ -192,7 +192,7 @@
"ReferralScreen": {
"DescriptionLabel": "立即呼籲你的讀者加入讚賞公民計劃,支持你自由地創作吧。",
"HeaderTitle": "贊助連結",
- "OgDescription": "下載 Liker Land,追蹤 {{displayName}}。不是瀏覽,而是閱讀。",
+ "OgDescription": "下載 LikeCoin App,追蹤 {{displayName}}。不是瀏覽,而是閱讀。",
"OgTitle": "接受 {{displayName}} 邀請,以文會友",
"Title": "創意無價,創作有價。"
},
@@ -214,8 +214,8 @@
"Error": {
"conflict": "閱讀列表內已存有此網頁",
"invalid-url": "辨識連結失敗。",
- "unauthorized": "請重新登入 Liker Land。",
- "unknown": "無法將網頁加到 Liker Land 閱讀列表。"
+ "unauthorized": "請重新登入 LikeCoin App。",
+ "unknown": "無法將網頁加到 LikeCoin App 閱讀列表。"
}
},
"seed_words_export_screen_error_account_mismatch": "帳戶不符,請選擇正確的第三方登入方式",
@@ -263,7 +263,7 @@
}
},
"privacyPolicy": "隱私權政策",
- "RateApp": "為 Liker Land 評分",
+ "RateApp": "為 LikeCoin App 評分",
"Referral": "贊助連結",
"subscription": "訂閱",
"termsOfUse": "使用條款",
@@ -281,8 +281,8 @@
"errorLikerLandWebview": "登入 liker.land 錯誤 [%{code}]:%{description}",
"heading": "不是瀏覽,而是閱讀。",
"LoadingTakesLonger": "正在載入中,請稍後⋯",
- "signIn": "登入",
- "signUp": "註冊"
+ "signIn": "登入錢包",
+ "signUp": "創建錢包"
},
"sponsor_link_cta_button": "分享你的贊助連結",
"sponsor_link_cta_description": "建立您的訂戶群,每月獲取贊助收入。",
@@ -454,12 +454,12 @@
"walletConnectRequestView_button_reject": "拒絕",
"walletConnectRequestView_label_app_unknown": "未知 App",
"walletConnectRequestView_label_description_back": "請返回瀏覽器繼續",
- "walletConnectRequestView_label_description_getAccounts": "%{name} 向 Liker Land App 發出了獲取 %{chainIds} 的錢包地址請求",
- "walletConnectRequestView_label_description_login": "%{name} 向 Liker Land App 發出了登入請求",
+ "walletConnectRequestView_label_description_getAccounts": "%{name} 向 LikeCoin App 發出了獲取 %{chainIds} 的錢包地址請求",
+ "walletConnectRequestView_label_description_login": "%{name} 向 LikeCoin App 發出了登入請求",
"walletConnectRequestView_label_description_login_back": "請返回瀏覽器繼續",
- "walletConnectRequestView_label_description_sessionRequest": "%{name} 向 Liker Land App 發出了連接請求",
- "walletConnectRequestView_label_description_sign": "%{name} 向 Liker Land App 發出了簽名請求",
- "walletConnectRequestView_label_description_unknown": "%{name} 向 Liker Land App 發出了請求",
+ "walletConnectRequestView_label_description_sessionRequest": "%{name} 向 LikeCoin App 發出了連接請求",
+ "walletConnectRequestView_label_description_sign": "%{name} 向 LikeCoin App 發出了簽名請求",
+ "walletConnectRequestView_label_description_unknown": "%{name} 向 LikeCoin App 發出了請求",
"walletConnectRequestView_loading_hint": "若沒有彈出確認請求,請返回瀏覽器再回來",
"walletDashboardScreen": {
"allDelegatorRewardsLabel": "未領取收益",
diff --git a/app/models/environment.ts b/app/models/environment.ts
index 456b8f33b..6469a5160 100644
--- a/app/models/environment.ts
+++ b/app/models/environment.ts
@@ -1,7 +1,7 @@
import { AppConfig } from "../services/app-config"
import { AuthCoreAPI } from "../services/authcore"
import { CosmosAPI } from "../services/cosmos"
-import { Mintscan } from "../services/mintscan"
+import { BlockExplorer } from "../services/block-explorer"
import { Reactotron } from "../services/reactotron"
import {
LikeCoAPI,
@@ -27,7 +27,7 @@ export class Environment {
this.likeCoinChainAPI = new LikeCoinChainAPI()
this.likerLandAPI = new LikerLandAPI()
this.cosmosAPI = new CosmosAPI()
- this.mintscan = new Mintscan()
+ this.blockExplorer = new BlockExplorer()
this.branchIO = new BranchIO()
}
@@ -38,6 +38,10 @@ export class Environment {
await this.branchIO.setup()
const {
AUTHCORE_ROOT_URL,
+ AUTHCORE_CLIENT_ID,
+ BLOCK_EXPLORER_ACCOUNT_BASE_URL,
+ BLOCK_EXPLORER_VALIDATOR_BASE_URL,
+ BLOCK_EXPLORER_TRANSACTION_BASE_URL,
COSMOS_LCD_URL,
COSMOS_CHAIN_ID,
COSMOS_ADDRESS_PREFIX,
@@ -45,20 +49,28 @@ export class Environment {
LIKECOIN_API_URL,
LIKECOIN_CHAIN_API_URL,
LIKERLAND_URL,
- MINTSCAN_URL,
SENTRY_DSN,
SENTRY_ENV,
} = this.appConfig.getAllParams()
if (SENTRY_DSN) {
initSentry(SENTRY_DSN, SENTRY_ENV)
}
- this.authCoreAPI.setup(AUTHCORE_ROOT_URL, COSMOS_CHAIN_ID, COSMOS_ADDRESS_PREFIX)
+ this.authCoreAPI.setup({
+ baseURL: AUTHCORE_ROOT_URL,
+ clientId: AUTHCORE_CLIENT_ID,
+ cosmosChainId: COSMOS_CHAIN_ID,
+ cosmosAddressPrefix: COSMOS_ADDRESS_PREFIX,
+ })
this.likeCoAPI.setup(LIKECO_API_URL)
this.likeCoinAPI.setup(LIKECOIN_API_URL)
this.likeCoinChainAPI.setup(LIKECOIN_CHAIN_API_URL)
this.likerLandAPI.setup(LIKERLAND_URL)
this.cosmosAPI.setup(COSMOS_LCD_URL, this.appConfig.getGasLimits())
- this.mintscan.setup(MINTSCAN_URL)
+ this.blockExplorer.setup({
+ accountBaseURL: BLOCK_EXPLORER_ACCOUNT_BASE_URL,
+ validatorBaseURL: BLOCK_EXPLORER_VALIDATOR_BASE_URL,
+ transactionBaseURL: BLOCK_EXPLORER_TRANSACTION_BASE_URL,
+ })
}
/**
@@ -107,7 +119,7 @@ export class Environment {
cosmosAPI: CosmosAPI
/**
- * Mintscan helper
+ * Block explorer helper
*/
- mintscan: Mintscan
+ blockExplorer: BlockExplorer
}
diff --git a/app/models/notification/notification.ts b/app/models/notification/notification.ts
index 6e22177c5..647294884 100644
--- a/app/models/notification/notification.ts
+++ b/app/models/notification/notification.ts
@@ -25,7 +25,7 @@ export const NotificationModel = types
.extend(withEnvironment)
.views(self => ({
get txURL() {
- return self.txHash ? self.env.mintscan.getTransactionURL(self.txHash) : undefined
+ return self.txHash ? self.env.blockExplorer.getTransactionURL(self.txHash) : undefined
},
}))
.actions(self => ({
diff --git a/app/models/tx-store/tx-store.ts b/app/models/tx-store/tx-store.ts
index a66066607..104c21ef3 100644
--- a/app/models/tx-store/tx-store.ts
+++ b/app/models/tx-store/tx-store.ts
@@ -51,7 +51,7 @@ export const TxStoreModel = types
return new BigNumber(self.inputAmount).shiftedBy(self.fractionDigits)
},
get blockExplorerURL() {
- return self.env.mintscan.getTransactionURL(self.txHash)
+ return self.env.blockExplorer.getTransactionURL(self.txHash)
},
get signingState() {
if (self.isSuccess) return "success"
diff --git a/app/models/validator/validator.ts b/app/models/validator/validator.ts
index d4108d19b..14dae0860 100644
--- a/app/models/validator/validator.ts
+++ b/app/models/validator/validator.ts
@@ -94,7 +94,7 @@ export const ValidatorModel = types
return self.avatorURL || `https://ui-avatars.com/api/?size=360&name=${encodeURIComponent(self.moniker)}&color=fff&background=aaa`
},
get blockExplorerURL() {
- return self.env.mintscan.getValidatorURL(self.operatorAddress)
+ return self.env.blockExplorer.getValidatorURL(self.operatorAddress)
},
get isLoading() {
return (
diff --git a/app/models/wallet-connect-client/wallet-connect-client.ts b/app/models/wallet-connect-client/wallet-connect-client.ts
index 10739a475..0a8ce0daf 100644
--- a/app/models/wallet-connect-client/wallet-connect-client.ts
+++ b/app/models/wallet-connect-client/wallet-connect-client.ts
@@ -89,8 +89,8 @@ export const WalletConnectClientModel = types
self.connector = new WalletConnect({
uri,
clientMeta: {
- name: "LikerLand",
- description: "Liker Land App",
+ name: "LikeCoin App",
+ description: "LikeCoin App",
url: "https://like.co",
icons: ["https://like.co/logo.png"],
},
diff --git a/app/models/wallet-connect-v2-client/wallet-connect-v2-client.ts b/app/models/wallet-connect-v2-client/wallet-connect-v2-client.ts
index 0611d5ab5..2eacb57a3 100644
--- a/app/models/wallet-connect-v2-client/wallet-connect-v2-client.ts
+++ b/app/models/wallet-connect-v2-client/wallet-connect-v2-client.ts
@@ -295,10 +295,10 @@ export const WalletConnectV2ClientModel = types
const client = yield SignClient.init({
projectId: self.getConfig('WALLET_CONNECT_PROJECT_ID', 'd36730c770de6ccc7db8591473e97f6f'),
metadata: {
- name: 'LikerLand',
- description: 'Liker Land App',
+ name: 'LikeCoin App',
+ description: 'LikeCoin App',
url: 'https://like.co',
- icons: ['https://liker.land/logo.png'],
+ icons: ['https://like.co/logo.png'],
redirect: {
native: 'com.oice://wc',
universal: '',
diff --git a/app/models/wallet/wallet.ts b/app/models/wallet/wallet.ts
index 04a80c223..78c982f4d 100644
--- a/app/models/wallet/wallet.ts
+++ b/app/models/wallet/wallet.ts
@@ -40,7 +40,7 @@ export const WalletModel = types
* The URL of the account page in block explorer
*/
get blockExplorerURL() {
- return self.env.mintscan.getAccountURL(self.address)
+ return self.env.blockExplorer.getAccountURL(self.address)
},
}))
.views(self => ({
diff --git a/app/navigation/app-navigator.tsx b/app/navigation/app-navigator.tsx
index 83f414547..51e74ec16 100644
--- a/app/navigation/app-navigator.tsx
+++ b/app/navigation/app-navigator.tsx
@@ -16,9 +16,6 @@ import { MainTabBarIcon } from "../components/main-tab-bar"
import { ContentViewScreen } from "../screens/content-view-screen"
import { CrispSupportScreen } from "../screens/crisp-support-screen"
-import { NFTReaderScreen } from "../screens/nft-reader-screen/nft-reader-screen"
-import { NFTNotificationScreen } from "../screens/nft-notification-screen/nft-notification-screen"
-// import { NotificationScreen } from "../screens/notification-screen"
import { ReferrerFollowScreen } from "../screens/referrer-follow-screen"
import { QrcodeScannerScreen } from "../screens/qrcode-scanner-screen"
import { ReceiveScreen } from "../screens/receive-screen"
@@ -29,8 +26,6 @@ import { color } from "../theme"
const MainTabs = createBottomTabNavigator({
Dashboard: DashboardNavigator,
- NFT: NFTReaderScreen,
- Notification: NFTNotificationScreen,
Settings: SettingsNavigator,
}, {
initialRouteName: "Dashboard",
diff --git a/app/screens/save-to-bookmark-screen/save-to-bookmark-screen.tsx b/app/screens/save-to-bookmark-screen/save-to-bookmark-screen.tsx
index 051142696..5a63174cc 100644
--- a/app/screens/save-to-bookmark-screen/save-to-bookmark-screen.tsx
+++ b/app/screens/save-to-bookmark-screen/save-to-bookmark-screen.tsx
@@ -117,7 +117,7 @@ export class SaveToBookmarkScreen extends React.Component {
/>
) : (
-
{isLoading &&
+
diff --git a/app/screens/sign-in-screen/slogan-en.png b/app/screens/sign-in-screen/slogan-en.png
deleted file mode 100644
index 60dea57a7..000000000
Binary files a/app/screens/sign-in-screen/slogan-en.png and /dev/null differ
diff --git a/app/screens/sign-in-screen/slogan-zh.png b/app/screens/sign-in-screen/slogan-zh.png
deleted file mode 100644
index edbf4af46..000000000
Binary files a/app/screens/sign-in-screen/slogan-zh.png and /dev/null differ
diff --git a/app/screens/sign-in-screen/slogan.png b/app/screens/sign-in-screen/slogan.png
new file mode 100644
index 000000000..3176b7641
Binary files /dev/null and b/app/screens/sign-in-screen/slogan.png differ
diff --git a/app/services/app-config/app-config.keys.ts b/app/services/app-config/app-config.keys.ts
index 36ec63b6e..81a2cc052 100644
--- a/app/services/app-config/app-config.keys.ts
+++ b/app/services/app-config/app-config.keys.ts
@@ -6,6 +6,10 @@ import {
APP_VERSION,
AUTHCORE_CREDENTIAL_KEY,
AUTHCORE_ROOT_URL,
+ AUTHCORE_CLIENT_ID,
+ BLOCK_EXPLORER_ACCOUNT_BASE_URL,
+ BLOCK_EXPLORER_VALIDATOR_BASE_URL,
+ BLOCK_EXPLORER_TRANSACTION_BASE_URL,
COSMOS_CHAIN_ID,
COSMOS_LCD_URL,
COSMOS_DENOM,
@@ -33,7 +37,6 @@ import {
SUPERLIKE_BASE_URL,
MIN_VERSION,
MIN_VERSION_FOR_WALLET,
- MINTSCAN_URL,
SENTRY_DSN,
SENTRY_ENV,
SIGNIN_SCREEN_BGIMAGE_URL,
@@ -56,6 +59,10 @@ export default {
APP_VERSION,
AUTHCORE_CREDENTIAL_KEY,
AUTHCORE_ROOT_URL,
+ AUTHCORE_CLIENT_ID,
+ BLOCK_EXPLORER_ACCOUNT_BASE_URL,
+ BLOCK_EXPLORER_VALIDATOR_BASE_URL,
+ BLOCK_EXPLORER_TRANSACTION_BASE_URL,
COSMOS_CHAIN_ID,
COSMOS_LCD_URL,
COSMOS_DENOM,
@@ -83,7 +90,6 @@ export default {
SUPERLIKE_BASE_URL,
MIN_VERSION,
MIN_VERSION_FOR_WALLET,
- MINTSCAN_URL,
SENTRY_DSN,
SENTRY_ENV,
SIGNIN_SCREEN_BGIMAGE_URL,
diff --git a/app/services/authcore/authcore.ts b/app/services/authcore/authcore.ts
index 100dc5f6c..cf9ed4c39 100644
--- a/app/services/authcore/authcore.ts
+++ b/app/services/authcore/authcore.ts
@@ -95,13 +95,24 @@ export class AuthCoreAPI {
*/
callbacks: AuthCoreCallback = {}
- setup(baseURL: string, cosmosChainId: string, cosmosAddressPrefix: string) {
+ setup({
+ baseURL,
+ clientId,
+ cosmosChainId,
+ cosmosAddressPrefix,
+ }: {
+ baseURL: string
+ clientId: string
+ cosmosChainId: string
+ cosmosAddressPrefix: string
+ }) {
this.baseURL = baseURL
this.client = new AuthCore({
+ clientId,
baseUrl: baseURL,
- socialLoginPaneStyle: "top",
+ socialLoginPaneStyle: "bottom",
language: findBestAvailableLanguage(),
- company: "Liker Land",
+ company: "LikeCoin",
initialScreen: "register",
primaryColour: color.primary,
successColour: color.primary,
diff --git a/app/services/block-explorer/block-explorer.ts b/app/services/block-explorer/block-explorer.ts
new file mode 100644
index 000000000..c10ceecf4
--- /dev/null
+++ b/app/services/block-explorer/block-explorer.ts
@@ -0,0 +1,47 @@
+/**
+ * A block explorer helper
+ */
+export class BlockExplorer {
+ /**
+ * The account URL of the block explorer
+ */
+ accountBaseURL = ""
+
+ /**
+ * The validator URL of the block explorer
+ */
+ validatorBaseURL = ""
+
+ /**
+ * The tx URL of the block explorer
+ */
+ transactionBaseURL = ""
+
+ setup({
+ accountBaseURL,
+ validatorBaseURL,
+ transactionBaseURL,
+ }) {
+ this.accountBaseURL = accountBaseURL
+ this.validatorBaseURL = validatorBaseURL
+ this.transactionBaseURL = transactionBaseURL
+ }
+
+ /**
+ * Get the URL to account page of block explorer by address
+ *
+ * @param address The Cosmos address
+ */
+ getAccountURL(address: string) {
+ return `${this.accountBaseURL}/${address}`
+ }
+
+ getValidatorURL(address: string) {
+ return `${this.validatorBaseURL}/${address}`
+ }
+
+ getTransactionURL(hash: string) {
+ if (!hash) return ""
+ return `${this.transactionBaseURL}/${hash}`
+ }
+}
diff --git a/app/services/block-explorer/index.ts b/app/services/block-explorer/index.ts
new file mode 100644
index 000000000..8e19a1af2
--- /dev/null
+++ b/app/services/block-explorer/index.ts
@@ -0,0 +1 @@
+export * from "./block-explorer"
diff --git a/app/services/mintscan/index.ts b/app/services/mintscan/index.ts
deleted file mode 100644
index 4d1e76f3b..000000000
--- a/app/services/mintscan/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./mintscan"
diff --git a/app/services/mintscan/mintscan.ts b/app/services/mintscan/mintscan.ts
deleted file mode 100644
index b8455c941..000000000
--- a/app/services/mintscan/mintscan.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * A Mintscan helper
- */
-export class Mintscan {
- /**
- * The base URL of the Mintscan
- */
- baseURL = ""
-
- setup(baseURL = "") {
- this.baseURL = baseURL
- }
-
- /**
- * Get the URL to account page of Mintscan by address
- *
- * @param address The Cosmos address
- */
- getAccountURL(address: string) {
- return `${this.baseURL}/account/${address}`
- }
-
- getValidatorURL(address: string) {
- return `${this.baseURL}/validators/${address}`
- }
-
- getTransactionURL(hash: string) {
- if (!hash) return ""
- return `${this.baseURL}/txs/${hash}`
- }
-}
diff --git a/ios/LikeCoinApp.xcodeproj/project.pbxproj b/ios/LikeCoinApp.xcodeproj/project.pbxproj
index c7836554f..1467a619f 100644
--- a/ios/LikeCoinApp.xcodeproj/project.pbxproj
+++ b/ios/LikeCoinApp.xcodeproj/project.pbxproj
@@ -660,7 +660,7 @@
"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = com.oice;
- PRODUCT_NAME = LikeCoinApp;
+ PRODUCT_NAME = "LikeCoin App";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
@@ -751,7 +751,7 @@
"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = com.oice;
- PRODUCT_NAME = LikeCoinApp;
+ PRODUCT_NAME = "LikeCoin App";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -912,7 +912,7 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.oice.share-extension";
- PRODUCT_NAME = "Liker Land";
+ PRODUCT_NAME = "LikeCoin App";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -941,7 +941,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.oice.share-extension";
- PRODUCT_NAME = "Liker Land";
+ PRODUCT_NAME = "LikeCoin App";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
diff --git a/ios/LikeCoinApp.xcodeproj/xcshareddata/xcschemes/LikeCoinApp.xcscheme b/ios/LikeCoinApp.xcodeproj/xcshareddata/xcschemes/LikeCoinApp.xcscheme
index 86b797a98..414fddf71 100644
--- a/ios/LikeCoinApp.xcodeproj/xcshareddata/xcschemes/LikeCoinApp.xcscheme
+++ b/ios/LikeCoinApp.xcodeproj/xcshareddata/xcschemes/LikeCoinApp.xcscheme
@@ -15,7 +15,7 @@
@@ -31,11 +31,13 @@
+
+
@@ -69,7 +71,7 @@
diff --git a/ios/LikeCoinApp.xcodeproj/xcshareddata/xcschemes/LikerLandShare.xcscheme b/ios/LikeCoinApp.xcodeproj/xcshareddata/xcschemes/LikerLandShare.xcscheme
index 46afa53c4..ec7f41fa7 100644
--- a/ios/LikeCoinApp.xcodeproj/xcshareddata/xcschemes/LikerLandShare.xcscheme
+++ b/ios/LikeCoinApp.xcodeproj/xcshareddata/xcschemes/LikerLandShare.xcscheme
@@ -16,7 +16,7 @@
@@ -30,7 +30,7 @@
@@ -66,7 +66,7 @@
@@ -78,13 +78,14 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
+ askForAppToLaunch = "Yes"
launchAutomaticallySubstyle = "2">
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/1024x1024@1x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/1024x1024@1x.png
index abd27bb49..c60fc5c43 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/1024x1024@1x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/1024x1024@1x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@1x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@1x.png
index d4f988c21..3f50cbee3 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@1x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@1x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@2x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@2x.png
index 6b5ace858..6f65e171b 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@2x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@2x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@3x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@3x.png
index 7fb9472a0..7224f32b8 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@3x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/20x20@3x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@1x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@1x.png
index c41e78d1f..f7204220b 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@1x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@1x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@2x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@2x.png
index 0633ef639..605ad2433 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@2x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@2x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@3x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@3x.png
index 8edd65933..7543f814c 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@3x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/29x29@3x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@1x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@1x.png
index 6b5ace858..6f65e171b 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@1x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@1x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@2x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@2x.png
index 4d7ef2c77..a413dc4ba 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@2x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@2x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@3x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@3x.png
index 7c3d1eaa2..59f000d78 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@3x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/40x40@3x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/60x60@2x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/60x60@2x.png
index 7c3d1eaa2..59f000d78 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/60x60@2x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/60x60@2x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/60x60@3x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/60x60@3x.png
index c7e89ddee..64babd1d4 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/60x60@3x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/60x60@3x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/76x76@1x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/76x76@1x.png
index 63b7882fb..d25dcb4a8 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/76x76@1x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/76x76@1x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/76x76@2x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/76x76@2x.png
index 5c120dbb1..61a477500 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/76x76@2x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/76x76@2x.png differ
diff --git a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/83.5x83.5@2x.png b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/83.5x83.5@2x.png
index 912d8169a..07a5ca571 100644
Binary files a/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/83.5x83.5@2x.png and b/ios/LikeCoinApp/Images.xcassets/AppIcon.appiconset/83.5x83.5@2x.png differ
diff --git a/ios/LikeCoinApp/Info.plist b/ios/LikeCoinApp/Info.plist
index 7978ad77b..97710da87 100644
--- a/ios/LikeCoinApp/Info.plist
+++ b/ios/LikeCoinApp/Info.plist
@@ -5,7 +5,7 @@
CFBundleDevelopmentRegion
en
CFBundleDisplayName
- Liker Land
+ LikeCoin
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
@@ -71,7 +71,7 @@
NSUserTrackingUsageDescription
We will collect your data and use it to provide personalized product suggestions from our trusted publishers and partners
NSCrossWebsiteTrackingUsageDescription
- Allow Liker Land to use cross-site cookie to check your login status. This allows you to use like button in webpage without the need of popups
+ Allow LikeCoin App to use cross-site cookie to check your login status. This allows you to use like button in webpage without the need of popups
UILaunchStoryboardName
LaunchScreen
UIRequiredDeviceCapabilities
diff --git a/ios/en.lproj/InfoPlist.strings b/ios/en.lproj/InfoPlist.strings
index 2f109ee70..4aa5abb18 100644
--- a/ios/en.lproj/InfoPlist.strings
+++ b/ios/en.lproj/InfoPlist.strings
@@ -8,4 +8,4 @@
"NSCameraUsageDescription" = "To scan the QR code, the app needs access to your camera.";
"NSPhotoLibraryUsageDescription" = "To update your avatar, the app needs your permission to access your photos.";
"NSUserTrackingUsageDescription" = "We will collect your data and use it to provide personalized product suggestions from our trusted publishers and partners";
-"NSCrossWebsiteTrackingUsageDescription" = "Allow Liker Land to use cross-site cookie to check your login status. This allows you to use like button in webpage without the need of popups";
+"NSCrossWebsiteTrackingUsageDescription" = "Allow LikeCoin App to use cross-site cookie to check your login status. This allows you to use like button in webpage without the need of popups";
diff --git a/ios/zh-Hant.lproj/InfoPlist.strings b/ios/zh-Hant.lproj/InfoPlist.strings
index 77171240c..539ff4e4e 100644
--- a/ios/zh-Hant.lproj/InfoPlist.strings
+++ b/ios/zh-Hant.lproj/InfoPlist.strings
@@ -10,4 +10,4 @@
"NSCameraUsageDescription" = "此應用程式需要開啟相機來掃描二維碼";
"NSPhotoLibraryUsageDescription" = "此應用程式需要開啟相片庫來更新個人頭像";
"NSUserTrackingUsageDescription" = "我們將收集你的資料讓我們信任的出版社和合作伙伴提供個人化產品給你";
-"NSCrossWebsiteTrackingUsageDescription" = "允許 Liker Land 使用誇站 Cookie 來讀取你的登入狀態,讓你能直接在網頁使用讚賞鍵。";
+"NSCrossWebsiteTrackingUsageDescription" = "允許 LikeCoin App 使用誇站 Cookie 來讀取你的登入狀態,讓你能直接在網頁使用讚賞鍵。";