Dread 5 years ago
parent
commit
8be271d35c
  1. 20
      App.vue
  2. 9
      components/navigation/navigation.vue
  3. 4
      pages/fingerPage/index.vue
  4. 6
      pages/menu/about/terms/index.css
  5. 2
      pages/menu/about/terms/index.vue
  6. 2
      pages/menu/backUp/transPaw/index.vue
  7. 35
      pages/menu/helpCenter/index.css
  8. 78
      pages/menu/helpCenter/index.vue
  9. 7
      pages/menu/sendToken/address/index.css
  10. 2
      pages/menu/sendToken/address/index.vue
  11. 16
      pages/menu/token/btc/index.vue
  12. 1
      pages/menu/transction/detail/index.css
  13. 9
      pages/menu/wallet/cwallet/index.css
  14. 2
      pages/menu/wallet/cwallet/index.vue
  15. 8
      pages/menu/wallet/mwallet/index.css
  16. 2
      pages/menu/wallet/mwallet/index.vue
  17. BIN
      static/tongyonh/xmark.png
  18. BIN
      unpackage/cache/apk/__UNI__1ECBEE1_cm.apk
  19. 2
      unpackage/cache/apk/apkurl
  20. 2
      unpackage/cache/apk/cmManifestCache.json
  21. 4
      unpackage/cache/wgt/__UNI__1ECBEE1/app-config-service.js
  22. 20
      unpackage/cache/wgt/__UNI__1ECBEE1/app-service.js
  23. 2
      unpackage/cache/wgt/__UNI__1ECBEE1/app-view.js
  24. BIN
      unpackage/cache/wgt/__UNI__1ECBEE1/static/tongyonh/xmark.png
  25. 4
      unpackage/dist/build/app-plus/app-config-service.js
  26. 20
      unpackage/dist/build/app-plus/app-service.js
  27. 2
      unpackage/dist/build/app-plus/app-view.js
  28. BIN
      unpackage/dist/build/app-plus/static/tongyonh/xmark.png
  29. 12527
      unpackage/dist/dev/app-plus/app-service.js
  30. 9741
      unpackage/dist/dev/app-plus/app-view.js
  31. 0
      unpackage/dist/dev/app-plus/static/img/copy_24px_outlined.8dca7e38.svg
  32. 0
      unpackage/dist/dev/app-plus/static/img/more_vert_24px_outlined.266aaa48.svg
  33. BIN
      unpackage/dist/dev/app-plus/static/tongyonh/xmark.png
  34. BIN
      unpackage/release/apk/__UNI__1ECBEE1__20211204165710.apk
  35. BIN
      unpackage/release/apk/bitcooo1.1.3.apk
  36. 55
      utils/locales/en.js
  37. 49
      utils/locales/zh-F.js
  38. 50
      utils/locales/zh.js

20
App.vue

@ -4,9 +4,10 @@
max-width: 828rpx; //最大宽度自己可以调整 max-width: 828rpx; //最大宽度自己可以调整
margin: auto !important; margin: auto !important;
} }
page{margin-top:50rpx}
/* #endif */ /* #endif */
@import "uview-ui/index.scss"; @import "uview-ui/index.scss";
page{margin-top:50rpx}
</style> </style>
<script> <script>
@ -30,8 +31,23 @@
onShow: function() { onShow: function() {
console.log('App Show') console.log('App Show')
if(!uni.getStorageSync('walletInfo')){
// uni.reLaunch({
// url:'/pages/register/index'
// })
return;
}
if(uni.getStorageSync('fingerPass')){
uni.reLaunch({
url:'/pages/fingerPage/index'
})
}else{
uni.reLaunch({
url:'/pages/fingerPage/password/index'
})
}
}, },
onHide: function() { onHide: function() {
console.log('App Hide') console.log('App Hide')

9
components/navigation/navigation.vue

@ -63,7 +63,8 @@
.nav-head{ .nav-head{
height: 40rpx; height: 40rpx;
background-color: #fafafa; // background-color: #fafafa;
// background-color: #fff;
text-align: center; text-align: center;
font-weight: 700; font-weight: 700;
font-size: 36rpx; font-size: 36rpx;
@ -74,9 +75,9 @@
justify-content: center; justify-content: center;
flex-direction: row-reverse; flex-direction: row-reverse;
align-items: center; align-items: center;
// margin-top: 80rpx; margin-top: 80rpx;
position: sticky; position: relative;
top: 40rpx; top: 0rpx;
width: 100%; width: 100%;
z-index: 8; z-index: 8;

4
pages/fingerPage/index.vue

@ -19,7 +19,7 @@
</view> </view>
</view> </view>
<u-mask z-index="10" :show="show"></u-mask> <!-- <u-mask z-index="10" :show="show"></u-mask> -->
<view class="hou_jia" v-if="showFinger"> <view class="hou_jia" v-if="showFinger">
<view class="Log"> <view class="Log">
@ -30,7 +30,7 @@
{{i18n.Cancel}} {{i18n.Cancel}}
</view> </view>
</view> </view>
<u-select :confirm-text="cnt" :cancel-text="can" v-model="show" :list="list3" @confirm="confirm"></u-select> <!-- <u-select :confirm-text="cnt" :cancel-text="can" v-model="show" :list="list3" @confirm="confirm"></u-select> -->
<!-- <u-select :confirm-text="cnt" :cancel-text="can" v-model="show" :list="list3" @confirm="confirm"></u-select> --> <!-- <u-select :confirm-text="cnt" :cancel-text="can" v-model="show" :list="list3" @confirm="confirm"></u-select> -->

6
pages/menu/about/terms/index.css

@ -3,6 +3,7 @@
font-size: 30rpx; font-size: 30rpx;
line-height: 50rpx; line-height: 50rpx;
padding-bottom: 50rpx; padding-bottom: 50rpx;
margin-top: 80rpx;
} }
.con{ .con{
margin-top: 30rpx; margin-top: 30rpx;
@ -20,3 +21,8 @@
font-size: 28rpx; font-size: 28rpx;
margin-top: 10rpx; margin-top: 10rpx;
} }
.navbg{
position: sticky !important;
top: 90rpx !important;
background-color: #FAFAFA !important;
}

2
pages/menu/about/terms/index.vue

@ -1,6 +1,6 @@
<template> <template>
<view class=""> <view class="">
<navigation :showBack="true"> <navigation :showBack="true" class="navbg">
{{i18n.TermsofService}} {{i18n.TermsofService}}
</navigation> </navigation>
<view class="con"> <view class="con">

2
pages/menu/backUp/transPaw/index.vue

@ -74,7 +74,7 @@
} }
}, },
finish2(e) { finish2(e) {
debugger // debugger
if (this.password != e) { if (this.password != e) {
this.info = true; this.info = true;
return; return;

35
pages/menu/helpCenter/index.css

@ -1,6 +1,14 @@
.navbg{
position: sticky !important;
top: 90rpx !important;
background-color: #FAFAFA !important;
background: #fafafa;
}
.main{ .main{
margin-top: 40rpx; margin-top: 80rpx;
padding: 0 32rpx; padding: 0 32rpx;
padding-bottom: 100rpx;
} }
/deep/ .u-collapse-head{ /deep/ .u-collapse-head{
height: 466rpx; height: 466rpx;
@ -33,5 +41,28 @@
height: 64rpx; height: 64rpx;
position: absolute; position: absolute;
right: 32rpx; right: 32rpx;
top: 160rpx; top: 140rpx;
}
.bg{
background-color: #EBEAFF;
}
.item.on .div {
height: auto;
opacity: 1;
padding-bottom: 26rpx;
font-size: 36rpx;
color: #5A5365;
line-height: 62rpx;
margin-top: 32rpx;
}
.item .div {
width: 100%;
height: 0;
opacity: 0;
overflow: hidden;
transition: all .5s;
font-size: 36rpx;
color: #5A5365;
margin-top: 32rpx;
line-height: 62rpx;
} }

78
pages/menu/helpCenter/index.vue

@ -1,8 +1,8 @@
<template> <template>
<view> <view>
<navigation :showBack="true"> <navigation :showBack="true" class="navbg">
<text class="big_title"> <text class="big_title">
FAQ {{this.$t('index').faq}}
</text> </text>
</navigation> </navigation>
<view class="main"> <view class="main">
@ -16,17 +16,26 @@
</view> </view>
</u-collapse-item> </u-collapse-item>
</u-collapse> --> </u-collapse> -->
<!-- -->
<view class="item" v-for="(item, index) in recordInfo" :key="index"> <view class="item" v-for="(item, index) in itemList" :key="index" :class="{'on': index==myIndex, 'bg': index==myIndex}">
<view class="num"> <view class="div1">
0{{index+1}} <p class="num">0{{index+1}}</p>
</view>
<view class="btx"> <view class="btx">
{{item.adTitle}} {{item.head}}
</view>
<image src="../../../static/tongyonh/plus.png" mode="aspectFit" class="teximg" v-if="index!=myIndex" @click="toClass(index)" ></image>
<image src="../../../static/tongyonh/xmark.png" mode="aspectFit" class="teximg" v-if="index==myIndex" @click.stop="noClass"></image>
<view class="div">
{{item.body}}
</view> </view>
<image src="../../../static/tongyonh/plus.png" mode="aspectFit" class="teximg"></image>
</view> </view>
</view>
@ -44,6 +53,7 @@
export default { export default {
data() { data() {
return { return {
myIndex:-1,
recordInfo:[], recordInfo:[],
form:{ form:{
pageNum:1, pageNum:1,
@ -52,19 +62,43 @@
terminalType:'user_client', terminalType:'user_client',
}, },
itemList: [{ itemList: [{
head: "赏识在于角度的转换", head: this.$t('index').t1,
body: "只要我们正确择取一个合适的参照物乃至稍降一格去看待他人,值得赏识的东西便会扑面而来", body: this.$t('index').b1,
open: true, open: true,
disabled: true disabled: true
},{ },
head: "生活中不是缺少美,而是缺少发现美的眼睛", {
body: "学会欣赏,实际是一种积极生活的态度,是生活的调味品,会在欣赏中发现生活的美", head: this.$t('index').t2,
body: this.$t('index').b2,
open: false,
},
{
head: this.$t('index').t3,
body: this.$t('index').b3,
open: false,
},
{
head: this.$t('index').t4,
body: this.$t('index').b4,
open: false, open: false,
},{ },
head: "周围一些不起眼的人、事、物,或许都隐藏着不同凡响的智慧", {
body: "但是据说雕刻大卫像所用的这块大理石,曾被多位雕刻家批评得一无是处,有些人认为这块大理石采凿得不好,有些人嫌它的纹路不够美", head: this.$t('index').t5,
open: false,
body: this.$t('index').b5,
},
{
head: this.$t('index').t6,
open: false, open: false,
}], body: this.$t('index').b6,
},
{
head: this.$t('index').t7,
open: false,
body: this.$t('index').b7,
},
],
} }
}, },
computed: { computed: {
@ -73,10 +107,18 @@
}, },
}, },
onLoad() { onLoad() {
this.getHomeSlideFunc() // this.getHomeSlideFunc()
}, },
methods: { methods: {
noClass(){
console.log(12121)
this.myIndex=-1
console.log(this.myIndex)
},
toClass(i){
this.myIndex=i
},
async getHomeSlideFunc() { async getHomeSlideFunc() {
const response = await this.$api.getAuAdList(this.form) const response = await this.$api.getAuAdList(this.form)
this.recordInfo = response.rows this.recordInfo = response.rows

7
pages/menu/sendToken/address/index.css

@ -1,3 +1,8 @@
.navbg{
position: sticky !important;
top: 90rpx !important;
background-color: #FAFAFA !important;
}
.hr{ .hr{
height: 100%; height: 100%;
} }
@ -24,7 +29,7 @@
} }
.main{ .main{
padding: 0 24rpx; padding: 0 24rpx;
margin-top: 50rpx; margin-top: 80rpx;
height: 100%; height: 100%;
position: relative; position: relative;
padding-bottom: 150rpx; padding-bottom: 150rpx;

2
pages/menu/sendToken/address/index.vue

@ -1,6 +1,6 @@
<template> <template>
<view class=""> <view class="">
<navigation :showBack="false" :bgnum="true"> <navigation :showBack="false" :bgnum="true" class="navbg">
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image> <image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image>
<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="renYou" slot="logo" <image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="renYou" slot="logo"
@click="goAddress()"></image> @click="goAddress()"></image>

16
pages/menu/token/btc/index.vue

@ -232,19 +232,31 @@
} else if (this.type === 'receive') { } else if (this.type === 'receive') {
params.toAddress = this.coin.address params.toAddress = this.coin.address
} }
console.log(params,7777777777777)
try{
const response = await this.$api.getChainDataList(params) const response = await this.$api.getChainDataList(params)
if (response.data.rows.length == 0) { if (response.data.rows.length == 0) {
this.isNoData = true; this.isNoData = true;
if (this.pageNum == 1) { if (this.pageNum == 1) {
this.showInfo = true; this.showInfo = true;
console.log(1231321321)
} }
} else { } else {
this.showInfo = false; this.showInfo = false;
} console.log(2222222222)
this.trxs = this.trxs.concat(response.data.rows); this.trxs = this.trxs.concat(response.data.rows);
console.log(this.trxs, 787878) console.log(this.trxs, 787878)
}
}catch(e){
//TODO handle the exception
console.log(e)
this.showInfo = true;
}
} }
}, },

1
pages/menu/transction/detail/index.css

@ -1,5 +1,6 @@
page{ page{
height:100%; height:100%;
overflow-y: hidden;
} }
.main{ .main{
padding: 0 30rpx; padding: 0 30rpx;

9
pages/menu/wallet/cwallet/index.css

@ -1,3 +1,10 @@
.navbg{
position: sticky !important;
top: 90rpx !important;
background-color: #FAFAFA !important;
background: #fafafa;
}
.renYou{ .renYou{
position: absolute; position: absolute;
right:35rpx; right:35rpx;
@ -18,7 +25,7 @@
.main{ .main{
padding: 0 26rpx; padding: 0 26rpx;
padding-bottom: 254rpx; padding-bottom: 254rpx;
margin-top: 54rpx; margin-top: 80rpx;
} }
.flex{ .flex{

2
pages/menu/wallet/cwallet/index.vue

@ -1,6 +1,6 @@
<template> <template>
<view class=""> <view class="">
<navigation :showBack="false" :bgnum="true"> <navigation :showBack="false" :bgnum="true" class="navbg">
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image> <image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image>
<text class="big_title"> <text class="big_title">
{{i18n.cwallet}} {{i18n.cwallet}}

8
pages/menu/wallet/mwallet/index.css

@ -1,3 +1,9 @@
.navbg{
position: sticky !important;
top: 90rpx !important;
background-color: #FAFAFA !important;
background: #fafafa;
}
.renYou{ .renYou{
position: absolute; position: absolute;
right:35rpx; right:35rpx;
@ -18,7 +24,7 @@
.main{ .main{
padding: 0 26rpx; padding: 0 26rpx;
padding-bottom: 254rpx; padding-bottom: 254rpx;
margin-top: 54rpx; margin-top: 80rpx;
} }
.flex{ .flex{

2
pages/menu/wallet/mwallet/index.vue

@ -1,6 +1,6 @@
<template> <template>
<view class=""> <view class="">
<navigation :showBack="false" :bgnum="true"> <navigation :showBack="false" :bgnum="true" class="navbg">
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image> <image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image>
<text class="big_title"> <text class="big_title">
{{i18n.mwallet}} {{i18n.mwallet}}

BIN
static/tongyonh/xmark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
unpackage/cache/apk/__UNI__1ECBEE1_cm.apk

Binary file not shown.

2
unpackage/cache/apk/apkurl

@ -1 +1 @@
https://ide.dcloud.net.cn/build/download/97d1b750-5454-11ec-8f28-872f5b0f471f https://ide.dcloud.net.cn/build/download/43607850-54e5-11ec-be40-e914ef8de4a1

2
unpackage/cache/apk/cmManifestCache.json

File diff suppressed because one or more lines are too long

4
unpackage/cache/wgt/__UNI__1ECBEE1/app-config-service.js

File diff suppressed because one or more lines are too long

20
unpackage/cache/wgt/__UNI__1ECBEE1/app-service.js

File diff suppressed because one or more lines are too long

2
unpackage/cache/wgt/__UNI__1ECBEE1/app-view.js

File diff suppressed because one or more lines are too long

BIN
unpackage/cache/wgt/__UNI__1ECBEE1/static/tongyonh/xmark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

4
unpackage/dist/build/app-plus/app-config-service.js

File diff suppressed because one or more lines are too long

20
unpackage/dist/build/app-plus/app-service.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/app-plus/app-view.js

File diff suppressed because one or more lines are too long

BIN
unpackage/dist/build/app-plus/static/tongyonh/xmark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

12527
unpackage/dist/dev/app-plus/app-service.js

File diff suppressed because one or more lines are too long

9741
unpackage/dist/dev/app-plus/app-view.js

File diff suppressed because one or more lines are too long

0
unpackage/dist/dev/app-plus/static/img/copy_24px_outlined.e8932d3c.svg → unpackage/dist/dev/app-plus/static/img/copy_24px_outlined.8dca7e38.svg

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 629 B

0
unpackage/dist/dev/app-plus/static/img/more_vert_24px_outlined.427f4df0.svg → unpackage/dist/dev/app-plus/static/img/more_vert_24px_outlined.266aaa48.svg

Before

Width:  |  Height:  |  Size: 526 B

After

Width:  |  Height:  |  Size: 526 B

BIN
unpackage/dist/dev/app-plus/static/tongyonh/xmark.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
unpackage/release/apk/__UNI__1ECBEE1__20211204165710.apk

Binary file not shown.

BIN
unpackage/release/apk/bitcooo1.1.3.apk

Binary file not shown.

55
utils/locales/en.js

@ -1,6 +1,61 @@
// en.js // en.js
export default { export default {
index: { index: {
//help
faq:'Help Center',
t1:'What Is Blockchain?',
t2:'What Is a Decentralized Wallet?',
t3:'What Is the Private key, Mnemonic and Wallet Password?',
t4:'What Is the Miner Fee?',
t5:'Why can’t I transfer my assets to the contract address?',
t6:'Why can’t transfer tokens between different chains?',
t7:'Why can’t I get my funds back when the transfer was failed?',
b1:`Blockchain is a shared, immutable ledger that facilitates the process of recording transactions and tracking assets in a business network. An asset can be tangible (a house, car, cash, land) or intangible (intellectual property, patents, copyrights, branding). Virtually anything of value can be tracked and traded on a blockchain network, reducing risk and cutting costs for all involved.
Business runs on information. The faster it’s received and the more accurate it is, the better. Blockchain is ideal for delivering that information because it provides immediate, shared and completely transparent information stored on an immutable ledger that can be accessed only by permission network members. A blockchain network can track orders, payments, accounts, production and much more. And because members share a single view of the truth, you can see all details of a transaction end to end, giving you greater confidence, as well as new efficiencies and opportunities.
Blockchain has its roots in Bitcoin. On 1 November 2008, a man calling himself Satoshi Nakamoto published an article entitled "Bitcoin: A Peer-to-Peer Electronic Cash System", in which he explained the concept of an electronic cash system based on P2P network technology, cryptography, timestamping technology and blockchain technology, which marked the birth of Bitcoin. Two months later the theory was put into practice and on 3 January 2009 the first block with the serial number 0 was created. A few days later, on 9 January 2009, a block with the number 1 appeared and was connected to the Genesis block with the number 0 to form a chain, marking the birth of the blockchain.`,
b2:`In contrast to centralized wallets (exchanges) where the private key is in the hands of a third-party service provider, the private key of a decentralized wallet is kept by the user themselves and the assets are stored on the blockchain, the user is the real holder of the digital currency, the wallet is just a tool to help the user manage the assets on the chain and read the blockchain data, so there is no way to control, steal or transfer your assets.
Therefore, decentralized wallets are difficult to be attacked by hackers centrally, and users do not have to worry about self-stealing or running away from the wallet service provider, because as long as you keep your private key safe when creating the wallet, your assets are still on the chain and can be displayed in a different wallet as well.
Note: If a decentralized wallet is lost or stolen, it cannot be recovered without a backup of your private key or seed phrase, so be sure to back up your private key securely and correctly.
`,
b3:`Private key When dealing with cryptocurrency, a user is usually given a public address and a private key to send and receive coins or tokens. The public address is where the funds are deposited and received. But even though a user has tokens deposited into their address, they won’t be able to withdraw them without the unique private key.
The private key can take a few different forms, usually depicted as a series of alphanumeric characters, which makes it hard for a hacker to crack. Most users represent their wallet keys in wallet import format, which has 51 characters. Think of a public address as a mailbox, and the private key as the key to the box.
On any wallet, by importing the private key and setting a new password you can import the assets from the previous A wallet into the B wallet. For example, if a mobile phone is lost, the assets can be recovered by simply importing the private key.
Mnemonic Because the private key is composed of 64-bit hexadecimal, which is inconvenient to record and copy. For users' convenience, mnemonic was generated. It is simplified into a mnemonic consisting of 12 words, with a space between each word. The mnemonic and private key have the same function, that is, you can import the wallet by entering the mnemonic and setting a new password. Like the private key, a wallet has one set of mnemonics and cannot be modified.
Anybody else who discovers the phrase can steal the cryptos, so it must be kept safe like jewels or cash. For example, no one should ask you for it on social networks or messenger, it must not be typed into any website.
Wallet Password When creating a wallet in BitCooo, you need to set a password of at least 8 characters. The wallet password is used to manage the wallet, e.g. to transfer funds, and must be entered when importing a wallet with a private key/keyword. Passwords can be changed or reset. If the original password is forgotten, the wallet can be imported with the private key or mnemonic words and a new password can be set.
An analogy can be drawn with bank accounts to differentiate between them. Private key = bank card number + bank card password Mnemonic = bank card number + card password Password = bank card password`,
b4:`Miner fees, commonly known as transfer fees as an incentive for miners to mine.
Miner fees are determined by the Gas Price (unit price) and the Gas Limit (amount) consumed. The calculation formula is: Transfer fee/Gas fee/Miner fee = Gas Limit * Gas Price
The amount of Gas Limit is mainly affected by the complexity of the operation based on the content of the smart contract. The more complex the operation, the higher the Gas Limit.
The Gas Price is set by the sender. The higher the Gas Price set by the sender, the faster the transaction initiated by the sender can be confirmed in the blockchain.
Notes: The gas fee for ETH is ETH; The gas fee for BSC is BNB; The gas fee for HECO is HT; The gas fee for OKExChain is OKT;
Gas can be returned if it is not used up`,
b5:`A smart contract is a self-executing contract with the terms of the agreement written into lines of code. The code and the agreements contained therein exist across a distributed, decentralized blockchain network. Taking Ethereum network as an example, issuing ERC20 Tokens on Ethereum network is essentially creating the smart contract of a Token. The code of the smart contract determines all information of the token in this address.
Since the smart contract doesn’t have a private key, once transferred tokens to the contract address, they may never be returned. In addition, Some contracts have reserved codes that can transfer Tokens, and some people believe that this is a hidden danger left by anonymous project parties.
Therefore, please be sure to confirm whether the transfer is valid and double check your transfer information before transferring;
Don't transfer tokens directly to the contract address!
Don't transfer tokens directly to the contract address!
Don't transfer tokens directly to the contract address!`,
b6:`With the development of public chains, exchanges are also launching their own public chains, such as the Binance Smart Chain (BSC) launched by Binance, the Huobi Eco Chain (HECO) launched by Huobi, and OKExChain launched by OKEx.
The same asset will appear on different public chains due to the increasing demand for cross-chain. For example, USDT can be circulated in ETH, TRX, BSC, HECO, etc., but they are not completely consistent and cannot be transferred directly to each other. Moreover, the address formats of ETH, BSC, HECO, and OKExChain are all the same, which often leads to errors in user transfers or withdrawals.
Be careful:
1. Different public chains cannot transfer the tokens to each other directly. For an example, USDT on Ethereum cannot be transferred to HECO directly.
2. When withdrawing tokens from exchanges, please pay attentions to choosing the right withdrawing channel/blockchain. For an example, if you want to withdraw from Binance to Binance Smart Chain, you must choose the BEP20 or BSC option. For another example, if you want to withdraw from Huobi to the Huobi Eco Chain, you must select the HECO option, otherwise the tokens cannot be received.
`,
b7:`When the transfer was failed on BitCooo wallet, it is usually caused by the following three reasons:
1.1.
Out of gas
2.2.
Bad instruction
3.3.
Reverted
If a transfer fails, BitCooo will not deduct your assets, and you can check your assets on the [Assets] page.
It should be noted that the miner fee generated by this transfer will not be refunded. It is not that BitCooo "stolen" your miner fee, but because this transaction has been packaged by the miner, which means that the miner fee has been collected by the miner.`,
// regis // regis
Clicktoverify:'Click to verify fingerprint', Clicktoverify:'Click to verify fingerprint',
Loginwith:'Login with wallet password', Loginwith:'Login with wallet password',

49
utils/locales/zh-F.js

@ -1,6 +1,55 @@
// zhf.js // zhf.js
export default { export default {
index: { index: {
faq:'幫助中心',
//help
t1:'什麼是區塊鏈?',
t2:'什麼是去中心化錢包?',
t3:'什麼是私鑰、助記詞和密碼?',
t4:'什麼是礦工費?',
t5:'我我往合約轉賬了怎麼辦?',
t6:'不同公鏈間不能直接轉賬',
t7:'我轉賬失敗了,為什麼不給我退幣?',
b1:`區塊鍊是一個共享數據庫,存儲於其中的數據或信息,具有不可偽造、全程留痕、可以追溯、公開透明和集體維護等特徵。可以把區塊鏈理解為一個共享的、不可更改的電子賬本,能夠在網絡中記錄交易和跟踪資產。這裡的資產可以是有形的(例如房和車),也可以是無形的(例如知識產權、專利和品牌)。幾乎任何有價值的東西都可以在區塊鍊網絡上進行跟踪和交易,從而降低各方面的風險和成本。
目前區塊鏈技術最大的應用是數字貨幣,因為支付的本質是“將賬戶A中減少的金額增加到賬戶B中”。如果人們有一本公共賬簿,記錄了所有的賬戶至今為止的所有交易,那麼對於任何一個賬戶,人們都可以計算出它當前擁有的金額數量。而區塊鏈恰恰是用於實現這個目的的公共賬簿,其保存了全部交易記錄。
區塊鏈起源於比特幣,2008年11月1日,一位自稱中本聰(Satoshi Nakamoto)的人發表了《比特幣:一種點對點的電子現金系統》一文,闡述了基於P2P網絡技術、加密技術、時間戳技術、區塊鏈技術等的電子現金系統的構架理念,這標誌著比特幣的誕生。兩個月後理論步入實踐,2009年1月3日第一個序號為0的創世區塊誕生。幾天后2009年1月9日出現序號為1的區塊,並與序號為0的創世區塊相連接形成了鏈,標誌著區塊鏈的誕生。`,
b2:`相對於私鑰掌握在第三方服務商手中的中心化錢包(交易所),去中心化錢包的私鑰則由用戶自己保存,資產存儲在區塊鏈上,用戶是真正的數字貨幣的持有者,錢包只是幫助用戶管理鏈上資產和讀取區塊鏈數據的一個工具,所以也就無法控制、竊取、轉移你的資產。
因此去中心化的錢包很難被黑客集中攻擊,用戶也不必擔心錢包服務商的自我竊取或者跑路,因為只要創建錢包的時候自己把私鑰保管好,您的資產依然在鏈上,換個錢包一樣可以顯示出來的。
注意:去中心化錢包一旦丟失、被盜,在沒有備份私鑰或助記詞的情況下是無法找回的,因此一定要安全、正確的備份您的私鑰。`,
b3:`私鑰 私鑰是由字母和數字組成的64位長度的十六進製字符串。創建錢包後,輸入密碼即可導出私鑰,一個賬戶只有一個私鑰並且不能修改。通常一個錢包中私鑰和公鑰是成對出現的,有了私鑰,可以通過一定的算法生成公鑰,再通過公鑰經過一定的算法生成地址,這個過程是不可逆的。
在任意錢包上,通過導入私鑰並設置一個新的密碼就可以把之前的A錢包的資產導入B錢包。比如手機丟失,只需導入私鑰就可以恢復資產。
助記詞 助記詞的出現是由於私鑰由64位字符串組成,不方便記錄且容易抄錯。為了方便用戶記憶和記錄,簡化成12個單詞組成的助記詞,每個單詞之間有一個空格,助記詞和私鑰具有同樣的功能,即只要輸入助記詞並設置一個新的密碼,就可以導入錢包。和私鑰一樣,一個錢包只有一套助記詞且不能修改。
錢包密碼 在BitCooo創建錢包時,需要設置一個密碼,要求不少於8個字符。錢包密碼主要用於管理錢包,例如轉賬時需要輸入密碼;用私鑰/助記詞導入錢包時,必須輸入錢包密碼。密碼可以進行修改或重置。如果原密碼忘記,可以用私鑰或是助記詞導入錢包,同時設置新的密碼。
可以以銀行賬戶進行類比以便區分: 私鑰=銀行卡號+銀行卡密碼 助記詞=銀行卡號+銀行卡密碼 密碼=銀行卡密碼`,
b4:`礦工費(Gas Fee)顧名思義就是支付給礦工的手續費,當您在區塊鏈上進行轉賬時,礦工需要把您的轉賬交易打包並放上區塊鏈,才能使交易完成,在這過程中會消耗區塊鏈的運算資源,因此產生礦工費用。
手續費是由Gas Price(單價)和消耗的 Gas Limit(數量)來確定的,其中計算公式如下: 礦工費 = Gas Limit * Gas Price
Gas Limit數量主要受根據智能合約的內容操作複雜程度影響。操作越多,Gas limit越高。 Gas Price是由發起方設置的,發起方設置的Gas Price的價格越高,其發起的交易就能越快被打包。
注: ETH的Gas費為ETH; BSC的Gas費為BNB; HECO的Gas費為HT; OKExChain的Gas費為OKT;
Gas用不完是可以退回的。`,
b5:`智能合約是由一個地址和該地址對應存儲的代碼構成的。例如在以太坊上發ERC20的Token,本質上就是創建了一個Token的智能合約,智能合約的代碼決定了這個地址裡的Token的所有內容。
由於智能合約沒有私鑰,一旦轉入合約地址,則有可能再也無法轉出。 (有些合約預留了可以轉走Token的代碼,也有坊間認為此舉為匿名項目方故意留下的“後門”,存在隱患。)
所以在轉賬或者交易所提Token時千萬不要直接轉到該Token的合約地址。`,
b6:`隨著公鏈的發展,交易所也在推出其自身的公鏈,比如幣安推出的幣安智能鏈(BSC),火幣推出的火幣生態鏈(HECO),OKEx推出的OKExChain等等。
由於跨鏈的需求不斷增加,因此不同公鏈上會出現同一種資產,比如USDT在ETH、TRX、BSC、HECO等都可流通,但是他們之間並不是完全一致,也不可以直接相互轉賬,而且ETH、BSC、HECO和OKExChain他們的地址格式都是一致的,因此經常導致用戶轉賬或提現出錯。
注意: 1.不同公鏈之間不可以直接相互轉賬,比如以太坊上的USDT無法直接轉賬到HECO上。
2.交易所提幣,要注意選擇提幣通道/公鏈。比如要從幣安提幣到幣安智能鏈,就必須選擇BEP20或者BSC通道;再比如從火幣提幣到火幣生態鏈,就必須選擇HECO通道,否則無法到賬。
如果提錯通道了,或者轉錯鏈了要怎麼處理? 1. 如果直接轉賬轉錯了,比如在錢包直接從以太坊轉USDT到BSC錢包,這種情況下BSC錢包肯定是收不到賬的,那麼你只需要將BSC錢包對應的私鑰導入到以太坊去,就可以看到USDT出現了。 (如果看不到USDT,可以手動添加一下代幣)
2. 交易所提幣提錯通道,比如你要提USDT到HECO,但是忘記選擇通道或者選錯了通道到了以太坊,那麼這個時候你只需要將你的HECO上的錢包對應的私鑰,導入到以太坊去,就可以看到USDT出現了。 (如果看不到USDT,可以手動添加一下代幣)`,
b7:`一筆轉賬交易在BitCooo上顯示轉賬失敗的時候,通常是由以下三種原因造成的:
1.
Out of gas(Gas費不足)
2.
Bad instruction(指令錯誤)
3.
Reverted(回退)
如果一筆轉賬顯示失敗時,BitCooo並不會扣除你的資產,只需返回錢包【資產】頁面進行查看即可。
需要注意的是,這筆轉賬產生的礦工費不會被退回,這裡並非BitCooo“獨吞“你的礦工費,而是由於這筆交易已經被礦工打包過了,礦工費已經被礦工收取。`,
// regis // regis
Clicktoverify:'點擊驗證指紋', Clicktoverify:'點擊驗證指紋',
Loginwith:'使用錢包密碼登錄', Loginwith:'使用錢包密碼登錄',

50
utils/locales/zh.js

@ -1,6 +1,56 @@
// zh.js // zh.js
export default { export default {
index: { index: {
//help
faq:'帮助中心',
t1:'什么是区块链?',
t2:'什么是去中心化钱包?',
t3:'什么是私钥、助记词和密码?',
t4:'什么是矿工费?',
t5:'我往合约转账了怎么办?',
t6:'不同公链间不能直接转账',
t7:'我转账失败了,为什么不给我退币?',
b1:`区块链是一个共享数据库,存储于其中的数据或信息,具有不可伪造、全程留痕、可以追溯、公开透明和集体维护等特征。可以把区块链理解为一个共享的、不可更改的电子账本,能够在网络中记录交易和跟踪资产。这里的资产可以是有形的(例如房和车),也可以是无形的(例如知识产权、专利和品牌)。几乎任何有价值的东西都可以在区块链网络上进行跟踪和交易,从而降低各方面的风险和成本。
目前区块链技术最大的应用是数字货币,因为支付的本质是“将账户A中减少的金额增加到账户B中”。如果人们有一本公共账簿,记录了所有的账户至今为止的所有交易,那么对于任何一个账户,人们都可以计算出它当前拥有的金额数量。而区块链恰恰是用于实现这个目的的公共账簿,其保存了全部交易记录。
区块链起源于比特币,2008年11月1日,一位自称中本聪(Satoshi Nakamoto)的人发表了《比特币:一种点对点的电子现金系统》一文,阐述了基于P2P网络技术、加密技术、时间戳技术、区块链技术等的电子现金系统的构架理念,这标志着比特币的诞生。两个月后理论步入实践,2009年1月3日第一个序号为0的创世区块诞生。几天后2009年1月9日出现序号为1的区块,并与序号为0的创世区块相连接形成了链,标志着区块链的诞生。`,
b2:`相对于私钥掌握在第三方服务商手中的中心化钱包(交易所),去中心化钱包的私钥则由用户自己保存,资产存储在区块链上,用户是真正的数字货币的持有者,钱包只是帮助用户管理链上资产和读取区块链数据的一个工具,所以也就无法控制、窃取、转移你的资产。
因此去中心化的钱包很难被黑客集中攻击,用户也不必担心钱包服务商的自我窃取或者跑路,因为只要创建钱包的时候自己把私钥保管好,您的资产依然在链上,换个钱包一样可以显示出来的。
注意:去中心化钱包一旦丢失、被盗,在没有备份私钥或助记词的情况下是无法找回的,因此一定要安全、正确的备份您的私钥。`,
b3:`私钥 私钥是由字母和数字组成的64位长度的十六进制字符串。创建钱包后,输入密码即可导出私钥,一个账户只有一个私钥并且不能修改。通常一个钱包中私钥和公钥是成对出现的,有了私钥,可以通过一定的算法生成公钥,再通过公钥经过一定的算法生成地址,这个过程是不可逆的。
在任意钱包上,通过导入私钥并设置一个新的密码就可以把之前的A钱包的资产导入B钱包。比如手机丢失,只需导入私钥就可以恢复资产。
助记词 助记词的出现是由于私钥由64位字符串组成,不方便记录且容易抄错。为了方便用户记忆和记录,简化成12个单词组成的助记词,每个单词之间有一个空格,助记词和私钥具有同样的功能,即只要输入助记词并设置一个新的密码,就可以导入钱包。 和私钥一样,一个钱包只有一套助记词且不能修改。
钱包密码 在BitCooo创建钱包时,需要设置一个密码,要求不少于8个字符。 钱包密码主要用于管理钱包,例如转账时需要输入密码;用私钥/助记词导入钱包时,必须输入钱包密码。 密码可以进行修改或重置。如果原密码忘记,可以用私钥或是助记词导入钱包,同时设置新的密码。
可以以银行账户进行类比以便区分: 私钥=银行卡号+银行卡密码 助记词=银行卡号+银行卡密码 密码=银行卡密码 `,
b4:`矿工费(Gas Fee)顾名思义就是支付给矿工的手续费,当您在区块链上进行转账时,矿工需要把您的转账交易打包并放上区块链,才能使交易完成,在这过程中会消耗区块链的运算资源,因此产生矿工费用。
手续费是由Gas Price(单价)和消耗的 Gas Limit(数量)来确定的,其中计算公式如下: 矿工费 = Gas Limit * Gas Price
Gas Limit数量主要受根据智能合约的内容操作复杂程度影响。操作越多,Gas limit越高。Gas Price是由发起方设置的,发起方设置的Gas Price的价格越高,其发起的交易就能越快被打包。
注: ETH的Gas费为ETH; BSC的Gas费为BNB; HECO的Gas费为HT; OKExChain的Gas费为OKT;
Gas用不完是可以退回的。`,
b5:`智能合约是由一个地址和该地址对应存储的代码构成的。例如在以太坊上发ERC20的Token,本质上就是创建了一个Token的智能合约,智能合约的代码决定了这个地址里的Token的所有内容。
由于智能合约没有私钥,一旦转入合约地址,则有可能再也无法转出。(有些合约预留了可以转走Token的代码,也有坊间认为此举为匿名项目方故意留下的“后门”,存在隐患。)
所以在转账或者交易所提Token时千万不要直接转到该Token的合约地址。`,
b6:`随着公链的发展,交易所也在推出其自身的公链,比如币安推出的币安智能链(BSC),火币推出的火币生态链(HECO),OKEx推出的OKExChain等等。
由于跨链的需求不断增加,因此不同公链上会出现同一种资产,比如USDT在ETH、TRX、BSC、HECO等都可流通,但是他们之间并不是完全一致,也不可以直接相互转账,而且ETH、BSC、HECO和OKExChain他们的地址格式都是一致的,因此经常导致用户转账或提现出错。
注意: 1.不同公链之间不可以直接相互转账,比如以太坊上的USDT无法直接转账到HECO上。
2.交易所提币,要注意选择提币通道/公链。比如要从币安提币到币安智能链,就必须选择BEP20或者BSC通道;再比如从火币提币到火币生态链,就必须选择HECO通道,否则无法到账。
如果提错通道了,或者转错链了要怎么处理? 1. 如果直接转账转错了,比如在钱包直接从以太坊转USDT到BSC钱包,这种情况下BSC钱包肯定是收不到账的,那么你只需要将BSC钱包对应的私钥导入到以太坊去,就可以看到USDT出现了。(如果看不到USDT,可以手动添加一下代币)
2. 交易所提币提错通道,比如你要提USDT到HECO,但是忘记选择通道或者选错了通道到了以太坊,那么这个时候你只需要将你的HECO上的钱包对应的私钥,导入到以太坊去,就可以看到USDT出现了。(如果看不到USDT,可以手动添加一下代币)`,
b7:`一笔转账交易在BitCooo上显示转账失败的时候,通常是由以下三种原因造成的:
1.
Out of gas(Gas费不足)
2.
Bad instruction(指令错误)
3.
Reverted(回退)
如果一笔转账显示失败时,BitCooo并不会扣除你的资产,只需返回钱包【资产】页面进行查看即可。
需要注意的是,这笔转账产生的矿工费不会被退回,这里并非BitCooo“独吞“你的矿工费,而是由于这笔交易已经被矿工打包过了,矿工费已经被矿工收取。`,
// regis // regis
Clicktoverify:'点击验证指纹', Clicktoverify:'点击验证指纹',
Loginwith:'使用钱包密码登录', Loginwith:'使用钱包密码登录',

Loading…
Cancel
Save