Dread 4 years ago
parent
commit
8be271d35c
  1. 24
      App.vue
  2. 9
      components/navigation/navigation.vue
  3. 4
      pages/fingerPage/index.vue
  4. 8
      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. 84
      pages/menu/helpCenter/index.vue
  9. 7
      pages/menu/sendToken/address/index.css
  10. 2
      pages/menu/sendToken/address/index.vue
  11. 36
      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. 12837
      unpackage/dist/dev/app-plus/app-service.js
  30. 10219
      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

24
App.vue

@ -4,13 +4,14 @@
max-width: 828rpx; //
margin: auto !important;
}
page{margin-top:50rpx}
/* #endif */
@import "uview-ui/index.scss";
page{margin-top:50rpx}
</style>
<script>
export default {
export default {
computed: {
i18n() {
return this.$t('index')
@ -30,8 +31,23 @@
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() {
console.log('App Hide')

9
components/navigation/navigation.vue

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

4
pages/fingerPage/index.vue

@ -19,7 +19,7 @@
</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="Log">
@ -30,7 +30,7 @@
{{i18n.Cancel}}
</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> -->

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

@ -3,6 +3,7 @@
font-size: 30rpx;
line-height: 50rpx;
padding-bottom: 50rpx;
margin-top: 80rpx;
}
.con{
margin-top: 30rpx;
@ -15,8 +16,13 @@
text-align: center;
font-size: 28rpx;
margin-top: 10rpx;
}
}
.tit3{
font-size: 28rpx;
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>
<view class="">
<navigation :showBack="true">
<navigation :showBack="true" class="navbg">
{{i18n.TermsofService}}
</navigation>
<view class="con">

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

@ -74,7 +74,7 @@
}
},
finish2(e) {
debugger
// debugger
if (this.password != e) {
this.info = true;
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{
margin-top: 40rpx;
margin-top: 80rpx;
padding: 0 32rpx;
padding-bottom: 100rpx;
}
/deep/ .u-collapse-head{
height: 466rpx;
@ -33,5 +41,28 @@
height: 64rpx;
position: absolute;
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;
}

84
pages/menu/helpCenter/index.vue

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

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

@ -1,6 +1,6 @@
<template>
<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/IconGroup.png" mode="aspectFit" class="renYou" slot="logo"
@click="goAddress()"></image>

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

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

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

@ -1,5 +1,6 @@
page{
height:100%;
overflow-y: hidden;
}
.main{
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{
position: absolute;
right:35rpx;
@ -18,7 +25,7 @@
.main{
padding: 0 26rpx;
padding-bottom: 254rpx;
margin-top: 54rpx;
margin-top: 80rpx;
}
.flex{

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

@ -1,6 +1,6 @@
<template>
<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>
<text class="big_title">
{{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{
position: absolute;
right:35rpx;
@ -18,7 +24,7 @@
.main{
padding: 0 26rpx;
padding-bottom: 254rpx;
margin-top: 54rpx;
margin-top: 80rpx;
}
.flex{

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

@ -1,6 +1,6 @@
<template>
<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>
<text class="big_title">
{{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

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

File diff suppressed because one or more lines are too long

10219
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
export default {
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 its 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 doesnt 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
Clicktoverify:'Click to verify fingerprint',
Loginwith:'Login with wallet password',

49
utils/locales/zh-F.js

@ -1,6 +1,55 @@
// zhf.js
export default {
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在ETHTRXBSCHECO等都可流通但是他們之間並不是完全一致也不可以直接相互轉賬而且ETHBSCHECO和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 gasGas費不足
2.
Bad instruction指令錯誤
3.
Reverted回退
如果一筆轉賬顯示失敗時BitCooo並不會扣除你的資產只需返回錢包資產頁面進行查看即可
需要注意的是這筆轉賬產生的礦工費不會被退回這裡並非BitCooo獨吞你的礦工費而是由於這筆交易已經被礦工打包過了礦工費已經被礦工收取`,
// regis
Clicktoverify:'點擊驗證指紋',
Loginwith:'使用錢包密碼登錄',

50
utils/locales/zh.js

@ -1,6 +1,56 @@
// zh.js
export default {
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在ETHTRXBSCHECO等都可流通但是他们之间并不是完全一致也不可以直接相互转账而且ETHBSCHECO和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 gasGas费不足
2.
Bad instruction指令错误
3.
Reverted回退
如果一笔转账显示失败时BitCooo并不会扣除你的资产只需返回钱包资产页面进行查看即可
需要注意的是这笔转账产生的矿工费不会被退回这里并非BitCooo独吞你的矿工费而是由于这笔交易已经被矿工打包过了矿工费已经被矿工收取`,
// regis
Clicktoverify:'点击验证指纹',
Loginwith:'使用钱包密码登录',

Loading…
Cancel
Save