From 14e228a46dd5fbfbd58e05e4cbcd4b728897594d Mon Sep 17 00:00:00 2001 From: benbaley Date: Mon, 23 Jun 2025 10:39:16 +0800 Subject: [PATCH] =?UTF-8?q?2025-06-23=20=E5=90=88=E8=A7=84=E6=80=A7?= =?UTF-8?q?=E8=A6=81=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/ATON-user-manual.md | 561 ------------------ "docs/LAT\344\273\213\347\273\215.md" | 96 --- docs/PlatON Wallet Plugin SDK.md | 255 -------- docs/PlatON Wallet Plugin.md | 59 -- docs/Samurai_user_manual.md | 219 ------- docs/community.md | 173 ------ docs/contributing.md | 8 - docs/index.md | 4 - ...11\346\226\271\351\222\261\345\214\205.md" | 16 - ...0\346\212\274&\345\247\224\346\211\230.md" | 62 -- .../current/ATON-user-manual.md | 554 ----------------- .../current/LAT\344\273\213\347\273\215.md" | 100 ---- .../current/PlatON Wallet Plugin SDK.md | 260 -------- .../current/PlatON Wallet Plugin.md | 61 -- .../current/Samurai_user_manual.md | 202 ------- .../current/community.md | 171 ------ .../current/contributing.md | 13 - .../current/index.md | 4 - ...11\346\226\271\351\222\261\345\214\205.md" | 13 - ...0\346\212\274&\345\247\224\346\211\230.md" | 65 -- website/sidebars.js | 11 +- website/sidebars.json | 21 +- 22 files changed, 3 insertions(+), 2925 deletions(-) delete mode 100644 docs/ATON-user-manual.md delete mode 100644 "docs/LAT\344\273\213\347\273\215.md" delete mode 100644 docs/PlatON Wallet Plugin SDK.md delete mode 100644 docs/PlatON Wallet Plugin.md delete mode 100644 docs/Samurai_user_manual.md delete mode 100644 docs/community.md delete mode 100644 "docs/\347\254\254\344\270\211\346\226\271\351\222\261\345\214\205.md" delete mode 100644 "docs/\350\264\250\346\212\274&\345\247\224\346\211\230.md" delete mode 100644 website/i18n/zh-CN/docusaurus-plugin-content-docs/current/ATON-user-manual.md delete mode 100644 "website/i18n/zh-CN/docusaurus-plugin-content-docs/current/LAT\344\273\213\347\273\215.md" delete mode 100644 website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON Wallet Plugin SDK.md delete mode 100644 website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON Wallet Plugin.md delete mode 100644 website/i18n/zh-CN/docusaurus-plugin-content-docs/current/Samurai_user_manual.md delete mode 100644 website/i18n/zh-CN/docusaurus-plugin-content-docs/current/community.md delete mode 100644 "website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\254\254\344\270\211\346\226\271\351\222\261\345\214\205.md" delete mode 100644 "website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\350\264\250\346\212\274&\345\247\224\346\211\230.md" diff --git a/docs/ATON-user-manual.md b/docs/ATON-user-manual.md deleted file mode 100644 index b0432c90a2..0000000000 --- a/docs/ATON-user-manual.md +++ /dev/null @@ -1,561 +0,0 @@ ---- -id: ATON-user-manual -title: ATON Wallet User Manual ---- - - - -# ATON Wallet - - - -ATON is a secure and user-friendly mobile wallet for PlatON Network and Alaya Network. The ATON Mobile Wallet allows you to easily transfer LAT/ATP tokens to others, view your transaction history and account balance. At the same time, it provides convenient delegation service for you. - -
-
Click it to download the latest version of ATON -
-
-
- -*All images in this manual are sample images on PlatON Network.* - -## Start - -### Create Wallet - -
-
-
-
1. Click [Create Wallet]. -
2. Select "Normal" or "HD". Set the wallet name, and password. -
3. Click the [Create] button to create a wallet. -
4. After the wallet is successfully created, you can click [Start to Backup] to start the backup, or click [Skip] to do it later. -
-
Note -
1. Password is your credentials to use and manage the wallet. Servers of ATON does not store your password,Please make sure you keep it in mind. -
2. We strongly recommend you to back up your wallet after it is created. -
3. Click on the network name in the upper left corner of the page to switch networks. -
4. Amount of wallets cannot be larger than 200(including all normal wallets and all sub-wallets generated from HD). -
-
-
- - - -### Wallet Backup - -
-
-
-
1. After creating the wallet, click [Backup] button for wallet backup. Or you can find it in [My]-[Wallet Management]. -
2. Wallet password is reeuqired for backup. After the password verification is passed, the system will display 12 English words as the mnemonic words. -
3. Copy the mnemonic and keep them in a safe place. Click [Next] to verify the mnemonic. If the verification succeeds, the wallet backup is completed.
-
Note -
1. You can restore and manage your wallet with mnemonics words, keep them in a safe place. -
-
-
- - -### Import Wallet - -#### Import Using Keystore - -
-
-
-
1. Click the [...] button at the top right coner of the main interface, and select [Import Wallet]. Then move to [Keystore]. -
2. Paster Input the keystore content, or scan the QR code to get the keystore file. -
3. Set the wallet name and password for this wallet. -
4. Click the [Start to Import] button. After the password verification is passed, the wallet is successfully imported. -
-
Note -
1. Password is required when import ing wallet Keystore. -
2. Your wallet password is not stored in the server. If you forget the password, please use mnemonic and private key to import it. -
3. You can also click the "[...]" button on the top right corner to import wallet. -
-
-
- -#### Import Using Mnemonics - -
-
-
-
1. Click the [...] button at the top right coner of the main interface, and select [Import Wallet]. Then move to [Mnemonic]. -
2. Fill in the mnemonics in the correct order. -
3. Select type "Normal" or "HD". Set the wallet name and password. -
4. Click the [Start to Import] button. After the mnemonic verification is passed, the wallet is successfully imported. -
-
Note -
1. Password is your credentials to use and manage the wallet.Servers of ATON does not store your password, make sure you keep it in mind. -
2. Store your mnemonics in a safe place. -
3. You can also click the "[...]" button on the top right corner to import wallet. -
-
-
- -#### Import Using Private Key - -
-
-
-
1.Click the [...] button at the top right coner of the main interface, and select [Import Wallet]. Then move to [Private Key]. -
2. Input your private key, or scan the QR code to get the private key. -
3. Set the wallet name and password. -
4. Click the [Start to Import] button. After the verification is passed, the wallet is successfully imported. -
-
Note -
1. Password is your credentials to use and manage the wallet. Servers of ATON does not store your password, make sure you keep it in mind. -
2. Store your private key in a safe place. -
3. You can also click the "[...]" button on the top right corner to import wallet. -
-
-
- -#### Import observed wallet - -For details about importing observed wallets, please refer to the instructions of “Set observed wallet and cold wallet”. - -
- -#### Address Book - -
-
-
-
1. Select [My-Settings],and you can see the list of wallet addresses stored in the address book. -
2. Click any of the address information to copy the selected address. -
3. Slide any of the address information to delete and edit it. -
4. Click the [+] button on the right side of the top navigation bar to manually add address information to the address book. -
5. At the same time, you can also check the [Deposit Address] button above the [Start Import] button on the [Create Wallet] and [Import Wallet] pages to enable the wallet to be stored in the address book automatically, and this option is checked by default. -
-
-
-
-
- -### Select Wallet - -
-
-
-
1. Click the [...] button at the top right coner of the main interface, then click [Select Wallet]. -
2. All your wallets can be classified and filtered as "All", "HD", "Normal", and you can also use fuzzy search with your wallet name or precise search with your wallet address. -
3. Select the wallet you need. -
4. Then you will be guide to the wallet page you selected. -
-
-
- - -## Wallet Assets - -
-
-
-
1. When you successfully created a wallet, you can find the valid wallet and asset info at the Wallet Asset page. -
2. ①The upper part shows the brief information of the current wallet. -
3. ②The brief wallet information includes the wallet name and wallet address,and [Switch Wallet] button. -
4. ③Click the [Copy] button to copy the wallet address. -
5. ④Click the [Wallet Management] button to manage the wallet. -
6. ⑤Click the [QR Code] button to enter the receiving page to receive the transfer. -
7. ⑥The network information of the current wallet is displayed at the top left corner, click to switch networks. -
8. ⑦By Click [...],you can create, import and select wallets, and click "Scan" to scan the QR code. -
9. The lower part of the page is [assets List]. -
10. ⑧The first item is the LAT/ATP data, you can see the unit and balance, click it to enter the LAT/ATP assets details page. -
11. ⑨The PRC20/ARC20 assets, you can see the unit and balance, click it to enter the PRC20/ARC20 assets details page. -
12. ⑩The "Collectibles" tab is for PRC721/ARC721 assets, click on it to go to the PRC721/ARC721 assets list page. -
13. Click the [eye] button, it will show/hide the number of assets. -
-
-
- - - - -### LAT/ATP Assets Detail - -
-
-
-
1. The upper part is the current wallet information. -
2. The wallet information includes the balance, unit and locked-up balance, as well as the [Send] button and [Receive] button. -
3. Click the [Send] button to jump to the sending page for transfer. -
4. Click the [Receive] button to enter the receiving page to receive the transfer. -
5. The lower part of the page is [Transactions]. -
6. The lower part of the page is the transaction records, click on a transaction record, you can get more transaction details. -
-
-
- -### Collectibles(PRC721) - -#### Collectible Set List - -
-
-
-
Click a Collectible Set to the page of Collectible Set Detail. -
-
-
- -#### Collectible Set Detail - -
-
-
-
1. At the top is the introduction about current shown Collectible Set. -
2. The rest part are Collectibles belong to current wallet. Click a picture of Collectible to the page of Collectible Detail. -
-
-
- -#### Collectible Detail - -
-
-
-
1. Top of this page is current collectible's name and ID. -
2. Middle part contains the detail and tradings of this collectible. -
3. At the bottom is the button for sending this collectible. To send this collectible to another address on sending page by clicking this button. -
-
-
- -#### Collectible Tradings' Record - -
-
-
-
1. After clicking Recent Trading tag, you can see the list of tradings of current collectible. -
2. Click one of these records to see trading detail. -
-
-
- - - -## Receive - -
-
-
-
1. Select the asset at the Assets parts on the main interface for more details, and click the [Receive] button to check the wallet address and QR code. -
2. You can copy your wallet address with the copy button. -
3. Click [Save image and Share] to save the picture to the local album. -
4. Your friends can transfer LAT/ATP to you through your wallet address or scanning the QR code. -
-
Note -
1. This LAT/ATP address and QR code only accept LAT/ATP and assets on PlatON/Alaya, do not transfer assets on other networks to this wallet. -
2. Please make sure that you transfer assets to correct network. -
-
-
- - - -## Sending - -### Send LAT/ATP - -
-
-
-
1. Click the [Send] button at the asset details page you selected. -
2. Enter a valid wallet address, or scan the QR code by clicking the scan button at the upper right corner of the interface, or select one wallet you stored. -
3. Enter the LAT/ATP amount you want to send. -
4. Set Select the transaction fee rate, you can move the slide bar to set the service fee. -
5. Click [Next] to confirm the transaction information,click [Send] to proceed the transaction. -
-
-
- - -### Send Collectible - -
-
-
-
1. On the page of Collectible Detail, click the [Send] button. -
2. Type in valid wallet address, or scan the QR code of the wallet to automatically fill in the address, or select a locally saved wallet address through the address book. -
3. Choose the transaction fee, and you can click to adjust it to be lower or higher. -
4. Click the [Next] button to confirm the transaction information, and click the [Send] button and enter the correct wallet password to send the transaction to the blockchain network. -
-
-
- - -### Choose Transaction Fee - -
-
-
-
1. The functions of sending, entrusting, redeeming and receiving rewards all incur transaction fees. -
2. Take the sending function as an example, click [Transaction Fee] to enter the transaction fee setting page. -
3. There are 5 choices for transaction fees (Fastest, Fast, Recommended, Cheap, Customize). -
4. [Recommended] configuration item is selected by default. -
5. The user can select the corresponding option according to actual needs. -
6. In the [Customize] column, users can enter Gas Price and Gas Limit independently to achieve flexible cost configuration. -
-
-
- -## Validators - -### Validators List - -
-
-
-
1. Move to the [Delegate] tab at the main interface, and then opt for [Validators], you can view all validators. -
2. Usually, the nodes are sorted by rank. They can also be sorted by Delegated amount/Delegators/Expected delegation annualized yield. -
3. Active node: validators participating in the consensus election in the current settlement interval. -
4. Candidate node: validators do not participate in consensus election in the current settlement interval. -
-
-
-
- -### Validator Details - -
-
-
-
1. Select a validator, you can check the related profit informaiton, like expected delegation annualized yield, reward ratio and total reward. -
2. Also you can check the basic information of validators, such as delegators, blocks info, etc. -
3. If you want to delegate your LAT/ATP to this validator, you can click the [Delegate] button to start it. -
-
Note: -
1. The validators funded by Foundation do not accept delegations. -
2. The "locked validators" not accept delegation. -
-
-
- - -## Delegate - -### **Participate in** **Delegation** - -
-
-
-
1. Select a validator to delegate. If you’ve delegated, then you can check your delegation details via: [Delegate] - [My Delegations]-[Delegation Rec], and then select one validator to continue delegation. -
2. Select the wallet you want to delegrate. -
3. You can select locked-up balance to delegate if there is, or select delegated freeze balance to delegate if there is. -
4. Enter the amount, and it must not be less than 10LAT/1ATP. -
5. Enter the correct password. -
6. You can delegate to the nodes you’ve delegated, no limit to the delegation times. -
-
Note -
1. Delegators delegates LAT/ATP to validtaors, when the delegated validators get profit, delegators will win the profits according to the delegation ratio set by validators. -
2. The wallet address connected to profit validators can’t be used to delegate. -
3. The delegated LAT/ATP will be valid at the next settlement interval. -
-
-
- - -### My Delegations - -
-
-
-
1. Click [My Delegation] to check your uncalmied reward, total reward and delegated amount. -
2. Select a specific wallet to check the details including total delegated amount, total rewards and unclaimed rewards. You can also delegate and withdraw your delegation. -
3. Click the [Claim] button to get all unclaimed rewards, and input your wallet. After that, you can see your rewards. -
-
-
- -### Undelegation - -
-
-
-
1. Click You can withdraw your delegation via: [My Delegations]-[Delegation Rec]-[Withdraw]. -
2. Enter the number,it should be greater than or equal to 10 LAT/1 ATP. Enter your password to proceed the process. -
-
Note -
1.When undelegate the delegation, the delegation will return to the original way during the hesitation period, and the delegation within the validity period will be returned to the delegation frozen account, which will be frozen for a certain period. -
2.When withdrawing all delegations, the delegation rewards will be claimed automatically. -
-
-
- -### Freeze Details -
-
There is a certain settlement period as a freezing period after Undelegate, and each settlement cycle is 10750 blocks.Delegation within the freeze period can be viewed on the Freeze Details. -
[Delegate node Details] Click [Delegated Freeze] to enter the Freeze details. -
-
- - -### Withdraw -
-
After the freeze period ends, the user needs to manually perform the extraction operation,all delegations to be withdrawn will be withdrawn and returned to the user's wallet balance or locked account according to the source of the asset. -
1. [Freeze Details] Click the [Withdraw] button to enter the withdrawal; -
2. Click the [Withdraw] button to withdraw all the withdrawable delegations. -
-
- - - -## Observed Wallet and Cold Wallet - -### Set the Observed Wallet and Cold Wallet - -Preparation: - -1. Prepare two mobile phones and install the latest ATON. -2. Make sure that one phone is never connected to the Internet. It is recommended to turn on the airplane mode and turn off WiFi to set it as a cold wallet device. The other one is connected to the network as an observed wallet device. - -
-
-
-
1. Create a wallet as a cold wallet in offline environment, click [ Receive] to find the QR code. -
2. Click [...] at the upper right corner of the main interface, and then select [Import Wallet] -[Observe Wallet] with the mobile phone connected to the network, scan the wallet QR code or enter the wallet address on the mobile phone not connected to the Internet, and click [Finish]. Then the wallet is set successfully. -
-
Note -
1. Oberseved wallet: a wallet connected to network, and is used for observation only. If you need to conduct transactions,the observed wallet need to work with the cold wallet. -
2. Cold wallet:a wallet that is not connected to the Internet but has a private key, which needs to be kept in a safe place. -
-
-
- -### Transaction with Cold Wallet - -If you have set up observed wallets and cold wallets, you can initiate transfers, delegations, delegation withdrawals, etc. with the observed wallets, and have it worked with the cold wallets cooperate for sign. The following Below is an example.
- -**1. Observed wallet** - -
-
-
-
(1) Select an observed wallet, then move to the send page, enter the required trasfer details, and then click Finish. -
(2) Click the [Next] button, then you will find the QR code that would be scanned by the cold wallet. -
-
-
- -**2. Cold wallet** - -
-
-
-
(1) Click the scan button at the upper right corner, or click the [Offline Signature] button of the specified wallet to scan the QR code displayed on the wallet page. -
(2) The page displays the detailed transaction information. If there is no problems with the transaction, you can click [OK, Sign] and enter the password. -
(3) After you can see the QR code of the signed transactions for the observed wallet to scan. -
-
-
- -**3. Observed wallet** - -
-
-
-
(1) The offline signature is requied when you use observed wallet to send, delegate and withdraw. -
(2) Click [Already Scaned, Next], then you will arrive at the reading signature data page. -
(3) Click [Send] to send the transaction to the blockchain network. -
-
Note -
1. Jointly use observed wallet and cold wallet to do transactions. -
2. Please do not deposit assets to the observed wallet address that you cannot control. -
-
-
- - -## Others - -### Settings / Help and Feedback - -
-
-
-
1. Move to [Me] - [Settings], you can make -
- Network Settings: Select the network to be connected. -
- Reminder Threshold:Send notification when the amount of transfer exceeds the transaction threshold you set. -
- Resend Reminder:Send notification when repeated transaction occurred within 2 housrs. -
- Fingerprint / Face Unlocking: If you enable it, fingerprint or face unlock is required every time you launch the app. -
- Language: Chinese and English are available. -
2. Move to [Me] - [Support and feedback], You can find the user guide and Q &A. If you can’t find what you want, you can submit it and we will respond as soon as possible. -
-
-
- -### Change Password - -
-
-
-
1. Move to [Me] - [Wallet Management] - [Change Password]. -
2. Input the original password and click Confirm. -
3. Set new password and click Confirm. -
4. Click the [Confirm] button,then the wallet's password is successfully changed. -
-
Note -
1. Password is your credentials to use and manage the wallet. Servers of ATON does not store your password, make sure you keep it in mind. -
-
- - -### Reset Password - -When you forget the password of a wallet, you could reimport the wallet using mnemonic/private key/keyStore and set the password again. - -
- -Path for HD wallet: [Me] - [Wallet Management] - [HD Wallet Detail] - [HD Settings] - [Reimport Wallet] - -Path for Normal wallet: [Wallet] - [Wallet Icon] - [Reimport Wallet], or [Me] - [Wallet Management] - [Wallet Detail] - [Reimport Wallet] - -After successfully reimport a wallet, the old information of this wallet would be deleted. - -If you reimport a wallet by PrivateKey or KeyStore, the Mnemonic of this wallet would not be saved in ATON. - - -### Cold wallet signature chain ID -
-
-
1. Observing the wallet and cold wallet signatures need to keep the chain ID consistent; -
2. ATON 1.1.5 and above are compatible with PlatON Mainnet's new chain ID:210425; the cold wallet has not been upgraded to ATON 1.1.5 and above, and the signature defaults to chain ID:100; if the hot wallet is changed to the latest chain ID:210425, Please upgrade the cold wallet and set a new chain ID at the same time to sign successfully; -
-
- - -### ATON 1.1.0 supports WalletConnect! -
-
Support WalletConnect, you can easily complete the connection with the desktop DApp. -
-
WalletConnect is a service that supports connecting with desktop DApps through code scanning authorization. It is like an inter-city express train that narrows the distance between desktop applications and mobile wallets. -
-
ATON officially supports the WalletConnect standard [observation of wallets and cold wallets are not currently supported]. Not only can you realize the interaction between mobile DApps and ATON, you can also use ATON scan codes to authorize any desktop DApps that support this standard, and you don’t need to worry about asset security. The connection method is also very simple: -
1. The desktop DApp chooses to use WalletConnect to connect; -
2. Click [Scan] in the upper right corner of the ATON homepage, and select the wallet to complete the authorization; -
3. To confirm the operation, perform [Confirm] in ATON; -
-
Demo video: -
https://www.youtube.com/watch?v=hnHRR7D0Rak -
-
ATON’s WalletConnect Dapp demo on GitHub. -
https://github.com/PlatONnetwork/WalletConnect-Example -
- -### HashKey DID - -
-
HashKey DID is a multi-chain decentralized identity data aggregator, powered by smart contract, NFT and privacy protection decentralised protocol, to provide identity services to Web3 users. -
HashKey Website: www.hashkey.id -
-
1.Use ATON to quickly register HashKey DID: Click the [HashKey DID Register] button below the wallet address on the ATON home page to register. -
-
-
2.Support input DID as the receiving address for transfer, for example, input the registered DID Name: abc123.key. -
-
-
- diff --git "a/docs/LAT\344\273\213\347\273\215.md" "b/docs/LAT\344\273\213\347\273\215.md" deleted file mode 100644 index a99c713195..0000000000 --- "a/docs/LAT\344\273\213\347\273\215.md" +++ /dev/null @@ -1,96 +0,0 @@ ---- -id: lat_introduced -title: Intro to LAT -sidebar_label: Intro to LAT ---- - -## What is LAT ? How to get LAT? - -LAT is the native token of PlatON Network. It is a digital currency. You can transfer it through the PlatON network or use applications built on PlatON with LATs. - -Currently, you can obtain LAT by participating in the [Grants Program](https://latticex.foundation/grants) supported by the LatticeX Foundation, Or you can follow up other community development programs to obtain LAT. - - - -## What's unique about LAT? - -**LAT fuels and secures PlatON** - -When you transfer LAT or use a PlatON application, you need to pay a small LAT as fee. The fee is used to incentivizes the node to process and verify your transaction. - -In the PPOS mechanism, LAT is of great importance to the network. With LAT, one can delegate to validators or become a validator by staking themselves, which help maintain PlatON network security. Both the validators and delegators can get LAT rewards. [More about PlatON validators](/docs/en/PlatON_Validation_Introduce). - -If you want to know more about the economic mechanism of LAT, [click for more inforamtion](/docs/en/Economic_Model#platons-economic-solution). - - - -**LAT acts as medium of data trading market** - -As a payment medium, LATs are used to settle trades in the PlatON market for data and computing power. Participants in the PlatON computation network earn LATs by providing data usage, computing power, and algorithms. - - - -**LAT supports the development of PlatON DApp ecology** - -PlatON will further support the development of DApps and DeFi and introduce economic coupling designs for DApps and DeFi. For example, DApps can issue their own tokens which must be backed by LAT reserves. -PlatON will also support the development of stable coins collateralized by LAT. - - - -## How to manage LAT? - -PlatON Wallet is an application for users to manage LAT asstes and interact with PlatON DApps. Users can easily hold or transfer LAT through the wallet. - -**Get a PlatON wallet** - -- [ATON](https://www.platon.network/en/developer/#aton) - Mobile app wallet designed for iOS and Android platforms - -- [Samurai](https://github.com/AlayaNetwork/Samurai) - Web browser plugin wallet - -- [Cobo](https://cobo.com/) - Mobile app wallet supporting multiple public chains - -*Note: The above information is only a summary of resources and it does not mean that we are responsible for the security of the wallet*.。 - - - -**keeping your LAT safe** - -PlatON and LAT aren't controlled by any organizatio - they are decentralized. Therefore,LAT is open to everyone to use, which also means that you need to take the security of your funds seriously. - -- Responsible for your own funds - -Centralized exchanges will link your wallet to a username and password that you can recover in a traditional way. You need to choose a trustworthy and safe exchange. If that exchange is attacked or folds, down, your funds are at risk. - - - -- Backup mnemonic & private key - -Wallets will often give you a seed phrase or private key that you must write down somewhere safe. This is the only way you’ll be able to recover your wallet. - -Examples of mnemonic words: - -> enlist goriia raw juice disagree toy kite tube behave video unusual may - -*Don’t store it on a computer. Write it down and keep it safe.* - - - -- Check everything carefully - -Please keep in mind that once a transaction is done, it cannot be reversed. a lost wallet cannot be easily retrieved. You cannot be too cautious. - - - -Want to learn more about wallet security? - -- [Protecting Yourself and Your Funds](https://support.mycrypto.com/staying-safe/protecting-yourself-and-your-funds) *Updated often - MyCrypto* -- [The keys to keeping your crypto safe](https://blog.coinbase.com/the-keys-to-keeping-your-crypto-safe-96d497cce6cf) *Jan 16, 2019 - Coinbase blog* - - - -## Where to browse LAT transactions? - -With the growth of network utilization, there will be more and more valuable information in the data on the chain. The block explorer can provide you with real-time data of browsing blocks, transactions, accounts, nodes and other activities on the chain. - -- [PlatScan](https://scan.platon.network/) - PlatON blockchain explorer and analysis platform, available in English and Chinese. - diff --git a/docs/PlatON Wallet Plugin SDK.md b/docs/PlatON Wallet Plugin SDK.md deleted file mode 100644 index d9926d7b7e..0000000000 --- a/docs/PlatON Wallet Plugin SDK.md +++ /dev/null @@ -1,255 +0,0 @@ ---- -id: PlatON_wallet_plugin_sdk -title: PlatON-Wallet-Plugin-SDK - Access Manual -sidebar_label: PlatON wallet plugin SDK ---- - -# INTEGRATE PlatON Wallet Plugin SDK - -## Install PlatON Wallet Plugin SDK - -> Integrate our SDK to your dApp/Wallet/swap UI. - -## Installation - -We recommend installing the SDK via npm、yarn or pnpm. - -``` -npm install '@platonnetwork/platon-wallet-sdk' -``` - -or - -``` -yarn add '@platonnetwork/platon-wallet-sdk' -``` - -or - -``` -pnpm add '@platonnetwork/platon-wallet-sdk' -``` - - -## Set up the SDK - -> After you have installed the SDK, you first need to set it up. - -To get started, you have to instantiate and configure the Platon-Wallet SDK: - -``` -import PlatOWallet from '@platonnetwork/platon-wallet-sdk'; - -// Definition PlatONWallet SDK -const walletSDK = new PlatONWallet(config); -``` - -The optional config parameter can be used to pass custom configuration to the SDK: - -``` -type ConfigUpdate = { - env: 'PROD', // 'TEST' or 'PROD' - // This parameter is optional. 'light' or 'dark', default to 'light' - theme: 'light' -}; -``` - -The `env` defines which environment should be access, and can be selected as `TEST` or `PROD`. This requires that -the corresponding environment be determined at initialization time. - -- `TEST` Corresponding test environment, which corresponds to PlatON's development network; -- `PROD` Corresponds to the production environment, which corresponds to the main network of PlatON; - -> Note: After the user connects the wallet and switches the wallet each time, the parameter needs to be set in the following ways: - -``` -walletSDK.setWalletOption({ - walletType: '', - walletProvider: -}) -``` - -### Initialize and use PlatON-Wallet - -Once the PlatON-Wallet definition is complete, the 'init()' function needs to be called to complete the initialization: - -> Example is the MetaMask wallet plug-in usage. - -``` -// Initialize PlatONWallet SDK -walletSDK.init({ - walletType: 'METAMASK', // eg:'METAMASK', 'PARTICLE', 'WALLETCONNECT' - walletProvider: window.ethereum // `window.ethereum` 为 MetaMask is eip1193 ethereum provider -}) -``` - -walletType value: - -* `METAMASK`:MetaMask wallet plugin; -* `PARTICLE`:Particle wallet; -* `WALLETCONNECT`:WalletConnect V2; - -After initialization, need to call the 'setWalletOption()' function to set the wallet type of the current connection: - -``` -// Setup wallet plugin -walletSDK.setWalletOption({ - walletType: 'METAMASK', - walletProvider: window.ethereum, -}) -``` - -After setting the wallet type, call 'show()' to display the PlatON-Wallet page: - -``` -// Show wallet -walletSDK.show(); -``` - - -### Switch To Particle Wallet - -Method of obtaining EIP1193 standard provider in Particle: - -``` -// particle example, @particle-network/connect-react-ui, @wagmi/core and @particle-network/connect -// packages expose the provider in a different way, refer their docs for details -const pn = new ParticleNetwork({ - projectId: 'your project id', - clientKey: 'your client key', - appId: 'your app id', - wallet: { - displayWalletEntry: false, - }, -}) - -// import { ParticleNetwork } from '@particle-network/auth' -// import { ParticleProvider } from '@particle-network/provider' -const particleProvider = new ParticleProvider(pn.auth) -``` - -Setting wallet to Particle in PlatON-Wallet: - -``` -walletSDK.setWalletOption({ - walletType: 'PARTICLE', - walletProvider: particleProvider, -}) -``` - - -### Switch To WalletConnect v2 - -Method of obtaining EIP1193 standard provider in WalletConnect v2: - -``` -// walletconnect example, @wagmi/core and @web3modal/ethereum packages expose the provider in a different way, refer their docs for details -const supportedRpcMap = await wallet.getSupportedChainsMap() // walletconnect required - -const wcProvider = await EthereumProvider.init({ - // import { EthereumProvider } from '@walletconnect/ethereum-provider' - projectId: 'your project id', - chains: [ - ...Object.keys(supportedRpcMap).map((item) => +item), - // your own chains - ], - rpcMap: { - ...supportedRpcMap, - // your own rpc map - }, - showQrModal: true, - qrModalOptions: { - themeVariables: { - '--wcm-z-index': '9999', - }, - }, -}) -``` - -Setting wallet to WalletConnect v2 in PlatON-Wallet: - -``` -walletSDK.setWalletOption({ - walletType: 'WALLETCONNECT', - walletProvider: wcProvider, -}) -``` - -## Disconnect or Exit - - -``` -walletSDK.setWalletOption({ - walletType: '', - walletProvider: null, -}) -``` - -or - -``` -walletSDK.destroy() -``` - - -## Example usage - -When the project is rendered for the client, use the following import methods: - -```js -import PlatOWallet from '@platonnetwork/platon-wallet-sdk'; - -// Definition PlatONWallet SDK -const walletSDK = new PlatONWallet({ - env: 'PROD', // 'TEST' or 'PROD' - theme: 'light' -}); - -// Initialization PlatONWallet SDK -walletSDK.init({ - walletType: 'METAMASK', - walletProvider: window.ethereum -}); - -// Set wallet type -walletSDK.setWalletOption({ - walletType: 'METAMASK', - walletProvider: window.ethereum -}) - -// Hide Platon-Wallet. -walletSDK.hide(); - -// Show Platon-Wallet. -walletSDK.show(); - -// Destroy Platon-Wallet -walletSDK.destroy(); -``` - -When the project is rendered for the server (e.g. using next.js, etc.), use the following import method: - -```next.js -let walletSDK = null - -import('@platonnetwork/platon-wallet-sdk').then(module => { -  walletSDK = new module.default({ env: 'PROD' }) -}) -``` - -## Token Contract - -### PlatON Testnet - -| name | symbol | address | -|:---|:---|:---| -| Tether USD | USDT | 0x1e6E4b48F6F57Aa7cefd8239e8515694D110386B | -| USD Coin | USDC | 0x229b68722bF16CCc7186Dc8760b3D8C5980fe609 | - - -### PlatON Mainnet - -| name | symbol | address | -|:---|:---|:---| -| Tether USD | USDT | 0xeac734fb7581D8eB2CE4949B0896FC4E76769509 | -| USD Coin | USDC | 0xdA396A3C7FC762643f658B47228CD51De6cE936d | diff --git a/docs/PlatON Wallet Plugin.md b/docs/PlatON Wallet Plugin.md deleted file mode 100644 index 562a26b4a4..0000000000 --- a/docs/PlatON Wallet Plugin.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -id: PlatON_wallet_plugin -title: PlatON-Wallet - Operation_Manual -sidebar_label: PlatON wallet plugin ---- - -# PlatON Wallet Plugin - -## What is PlatON Wallet Plugin - -The PlatON Wallet plugin integrates basic wallet functions, cross-chain, fiat channels, Swap and other functions. In the future, it will realize more functions such as cross-currency exchange, transaction authentication based on confidential payment, prepaid card sales, virtual VISA cards, etc. - -The PlatON Wallet plugin is compatible with various decentralized wallets. After integrating the PlatON Wallet plugin, the project party can enable its users to easily conduct cross-chain recharge, fiat purchase and other operations. - -In order to meet the various integration needs of the project parties, we will provide SDKs for a series of languages and frameworks, so that application developers can quickly complete integration according to different business scenarios. - -## How to integrate -- [PlatON wallet plugin SDK](/docs/en/PlatON_Wallet_Plugin_Sdk): Provides complete wallet functions and pages. Through simple one-point integration, you can quickly use all the functions in the wallet. - -We will also provide more integration methods to meet the integration needs of applications in different scenarios. - -## How to use - -> **Note:** Since the PlatON Wallet plugin itself does not generate account addresses and relies on third-party wallets with accounts, such as Metamask, etc., all transactions will be completed through third-party wallets. - -**1. Connect Wallet** - -After the application integrates the PlatON Wallet plugin, the PlatON wallet will also synchronize and connect to Metamask after the application connects to Metamask. After connecting to Metamask, the PlatON Wallet plugin will display the asset status of the account on the PlatON network. - -connect - -**2. Send and Receive** - -The wallet plugin supports sending and receiving Tokens on the PlatON network. - -send-receive - -**3. Recharge** - -Currently there are two ways to recharge assets on the PlatON network: - -- Method 1: Transfer assets from other networks to the PlatON network through cross-chain bridges -- Method 2: Purchase assets on the PlatON network by paying in fiat currency through integration with Alchemy Pay and FaTPay. We will support more convenient recharge methods in the future. -- Method 3: Deposit through Interchain Transfer. After depositing assets to the specified address, the asset deposit on the PlatON network can be completed. - -deposit - -**4. Withdraw** - -Currently we have two ways to withdraw assets from PlatON: -- Method 1: Withdraw PlatON network assets to other networks through cross-chain bridges. -- Method 2: Purchase shopping cards through [txnhub.io](https://txnhub.io) - -withdraw - -**5. More Functions** - -We will subsequently support more networks, more cross-chain of currencies, Swap between different currencies, transaction authentication based on confidential payment, virtual VISA cards and more functions. - diff --git a/docs/Samurai_user_manual.md b/docs/Samurai_user_manual.md deleted file mode 100644 index 035241807e..0000000000 --- a/docs/Samurai_user_manual.md +++ /dev/null @@ -1,219 +0,0 @@ ---- -id: Samurai_user_manual -title: Samurai -sidebar_label: Samurai ---- - - - -Samurai is an open source browser plug-in wallet tool that supports the Alaya and PlatON networks, supporting wallet creation, sending and receiving ATP and LAT, and allowing web DApps to interact with the Alaya and PlatON networks. - -Samurai only generates wallet keys on your device, so only you can access your wallet account and data. You therefore need to keep your wallet key (private key, mnemonic) and wallet password safe. Samurai currently only supports Chrome. - - - -## Note - -Samurai is a browser plug-in wallet modified based on MetaMask's open source code version 8.0.10, which is mainly adapted to the Alaya network and PlatON network. Due to some bugs in the official MetaMask itself. Please pay attention when using Samurai: - -* **Do not click the edit button to edit transaction related information on the transaction confirmation page**. -* **On the transaction confirmation page, please make sure that the receiving address is correct before clicking the confirm button**. - - - -## Installation - -+ Download Samurai plug-in package from [Release address](https://github.com/AlayaNetwork/Samurai/releases). -+ Unzip Samurai plug-in package. -+ Open chrome browser,input `chrome://extensions/` in the address bar and Enter,enter the management page of chrome extension program. - -``` -chrome://extensions/ -``` - -+ Open the switch of **developer mode**, select to **load the unzipped extension program**, import the unzipped catalogue of the 2nd step. - - - -## Initial Use - -1. Click the Samurai icon on the right side of browser address bar, when you use it for the first time, there will be a prompt as shown below: - - - -2. Click “**Get Started**”,there is two options - **Create wallet** and **iImport wallet**. - - - -+ Import wallet: - -Click “**import wallet**”,enter the guide page, click “**I agree**” and enter the next step. Then input the **Seed phrase** and **password** of this wallet, and click “**import**”->Once all steps is completed, you can enter the mainpage. - -*Note: The current Samurai mnemonic phrase generation path has problems, and the import of mnemonic phrases generated by external wallet applications is not supported. It is recommended to import it through the private key after the initial creation.* - - - - - - - - - -+ Create wallet: - -Click “**create wallet**”, enter the boot page, click “**I agree**” and enter the next step. Then input the **password** of new wallet, and click “**create**”. - - - -Go to the mnemonic backup page, click "CLICK HERE TO REVEAL SECRET WORDS" to show the mnemonic words of the new account (mnemonic words need to be prevented from being seen by others, Samurai uses the password you provided to encrypt this information locally and will never send it to the server), click “**Reminder me later**” to go directly to the Samurai mainpage of the new account(Skip not recommended). - - - -Click “**ext step**”, re-input the mnemonic words with the right sequence, click “**confirm**”->Once all steps is completed, you can enter the mainpage. - - - - - -## Transaction Operation - -### Send LAT - -+ In the PlatON main network, click "**send**" on the mainpage, and you can see the **Add Recipient** page. - - - -+ Enter or select the address for **transfer between my accounts**, and go to the transaction form page. - - - -+ The transaction form must fill in the number of transaction LAT, and the system will give you the default transaction fee. You can also make appropriate adjustments to this value. After completing the form, click “**next**” to enter the page to be confirmed, which will show the total number of LAT spent (including the handling fee). - - - -+ Click “**Confirm**” to complete the sending of LAT, and you can view the transaction status in the **Activity** on the mainpage. - - - -### Add and send Token - -#### Add Token - -+ Enter the mainpage, click **Assets** -> **Add Token**. - - - -+ Pop-up the “Add Tokens” page, add the existed **Token Contract Address** of connected network, Samurai will automatically to get token’s symbol and exact decimal point, click “**Next**” when you completed all the steps. - - - -+ Enter the confirm page of Add Tokens, there will show the balance of this token under this account, click “**Add Tokens**”to add successfully. - - - -+ After the account is successfully added, go to the token display screen, which displays the balance of tokens, or you can click “**send**” to enter the token transfer page. At the same time, the asset list of the mainpage will display the token assets. - - - -#### Token Transfer - -+ You can click "**send**" in the account token display page to initiate the token transfer, or you can click "**send**" of the corresponding token in the asset list inof the mainpage. - - - -+ Enter the **add recipient** page, enter or select the address for **transfer between my accounts** as you would for sending LAT, and enter the transaction form page. - - - -+ The transaction form must enter the number of tokens for the transaction. Click “**Next**” to enter the transaction confirmation page. - - - -+ Click “**Confirm**” to complete the sending of tokens, you can view the transaction status in the transaction list on the mainpage. - - - - - -## Create and manage an account - -### Create Account - -- Click on the wallet avatar at the top right of the Samurai homepage and click on **Create Account** in the drop down menu that appears. - - - -+ Go to create account form page, enter **account name** (example below is wallet 2), click **create** button. - - - - - -+ Successful creation will bring you to the mainpage of the newly created wallet, click on the wallet avatar at the top right to see a list of all wallet accounts. - - - - - -### Import Account - -+ Click on the wallet avatar at the top right of the Samurai page and in the drop down menu that appears click on **import account**. - - - - - -+ enter import account form page, you can choose two import modes (private key/keystore json file), choose private key mode, paste private key into the form, then click **import** button. - - - - - -- Choose import keystore file mode, select **JSON file** type, click select file, select keystore file from local directory, then enter keystore file passphrase, finally click **import** button. - - - - - -+ If the import is successful you will enter the main page of the newly imported wallet, click on the wallet avatar at the top right to see a list of all wallet accounts. - - - - - - - -## Network Management - -By default, Samurai connects to the PlatON network, or it can connect to other networks. - -### Choose networks -Samurai have added PlatON Main Network, PlatON dev network, PlatON Network, PlatON dev Network as default, you can choose a network to connect. Click **“Networks”** and choose a network from the four networks to connect. - - -### Add Custom Network -- Click **“Networks”**-> **Custom RPC**. - - -- Enter the new network configuration page, and click **“Save”** after configuring the form. - - -- Samurai will try to connect to the node, and if the node fails to connect, it will pop up a corresponding dialog prompt. - - -- If the connection is successful, a network list option will be added to the network list. - - - - -## Switch language - -- Click on the wallet avatar at the top right of the Samurai homepage and click on **Settings** in the drop down menu that appears. - - - - - -- Go to main settings page, then click **General** -> Go to **Current Language** drop down box to select (multiple languages supported). - - diff --git a/docs/community.md b/docs/community.md deleted file mode 100644 index c8878c7b40..0000000000 --- a/docs/community.md +++ /dev/null @@ -1,173 +0,0 @@ ---- -id: community -title: Community Projects -sidebar_label: Community Projects ---- - -Below is a categorized list of projects that use the PlatON blockchain,meet your related development and use tool needs. We welcome more community members to participate and continue to expand the PlatON ecosystem. - -The LatticeX Foundation has now opened the [Grants program](https://latticex.foundation/grants), and you can contribute your value through Grants. - -## Wallets - - - - - - -
-

ATON

- ATON is the first secure and user-friendly mobile wallet for PlatON Network. -
- -## Block Explorers - - - - - - -
-

PlatScan

- PlatScan is a Block Explorer and Analytics Platform for PlatON. -
- -## Node Tools - - - - - - -
-

PlatON MTool

- PlatON's Node Management Tool. -
- -## Developer Forums - - - - - - -
-

LatticeX Forum

- PlatON Developer Forums. Need help implementing a solution on PlatON? Want to provide feedback? Check out PlatON’s developer forums. -
- -## Cooperation projects - - - - - - -
-

Biteye

- Gateway to Web3 Investing. -
- - - - - -
-

Band

- Band Protocol is a cross-chain data oracle platform that aggregates and connects real-world data and APIs to smart contracts. -
- - - - - -
-

BOXTradEx

- BOXTradEx is a one-stop crypto platform for GameFi, game players, and guilds, providing the Gamefi portal for web3. - We support NFT API service, crypto exchange, NFT marketplace, wallet, and Guild DAO tool. -
- - - - - -
-

StoneAeon

- Stone Aeon is a game that happens in the world of Stone Age. The primitive men gather here. - All the items and creatures exist based on the NFT of blockchain that is used for digitizing the unique contents. - The P2E feature of Stone Aeon will maximize players’ yield while they're having fun in the game. - Decentralized game plans guarantee a fair game. - Visual effects and features of Stone Aeon are absolutely original. -
- - - - - -
-

Celer

- Celer is a blockchain interoperability protocol enabling a one-click user experience - accessing tokens, DeFi, GameFi, NFTs, governance, and more across multiple chains. -
- - - - - -
-

Gitcoin

- Gitcoin is a community for developers to collaborate and monetize their skills - while working on Open Source projects through bounties and grants. -
- - - - - -
-

Coin98

- All In One DeFi Platform. -
- - - - - -
-

TofuNFT

- tofuNFT.com is an NFT marketplace focused on GameFi and collectibles, rebranded from SCV’s NFT market. -
- - - - - - - - - -
-

UBOX

- The first NFT copyright certification marketplace and MEX(CEX+DEX) in the meta-universe world. -
-

WinKrypto

- The first post-investment services firm for crypto players in the APAC region. -
- - - - - -
-

NFTScan

- NFTScan is a multi-chain NFT explorer and NFT data infrastructure. -
- - - - - -
-

Double Protocol

- Rental Protocol for Utility NFTs. -
diff --git a/docs/contributing.md b/docs/contributing.md index ebe5b3d372..9e1c5116c0 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -28,14 +28,6 @@ Join the PlatON validator network to help maintain our security and further dece [More About Running Validators](https://devdocs.platon.network/docs/en/PlatON_Validation_Introduce/) - -## Stake Your LAT -You can delegate your LAT to a PlatON validator to earn rewards and help protect PlatON. - -[More About Staking LAT](https://www.platon.network/stakeLat) - - - ## Code Programming PlatON is an open financial infrastructure with privacy-preserving computation at its core. Our vast project requires more than just a few core developers. We look forward to having more community developers help us write and maintain our code. Diving straight into development can be overwhelming; therefore, we introduced the “Help Wanted” tag for functionalities or bug fixes where you can help us. This is the best way for you to start contributing code. diff --git a/docs/index.md b/docs/index.md index 005f25d804..234714eff0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -13,9 +13,6 @@ PlatON was initiated and promoted by the LatticeX Foundation. Based on the basic ## Basics -- [What is LAT](/docs/en/lat_introduced)-Here you can get a comprehensive understanding of what LAT is, what it does, and how it is used, etc. -- [Staking&Delegation](/docs/en/staking_and_delegation) -- [ATON wallet](/docs/en/ATON-user-manual)-You can find all kinds of operations about ATON wallet here. - Blockchain Browser - [PlatScan](https://scan.platon.network/) - [PlatEye](/docs/en/PlatEye) @@ -61,7 +58,6 @@ If you want to join the PlatON network as a node, the following documents can gi ### General users - [Ambassador Program](https://forum.latticex.foundation/t/topic/4246) -- [Staking&Delegation](/docs/en/staking_and_delegation) - Community Resources Resources. - [Facebook](https://www.facebook.com/PlatONNetwork/) - [Twitter](https://twitter.com/PlatON_Network) diff --git "a/docs/\347\254\254\344\270\211\346\226\271\351\222\261\345\214\205.md" "b/docs/\347\254\254\344\270\211\346\226\271\351\222\261\345\214\205.md" deleted file mode 100644 index d98585e52d..0000000000 --- "a/docs/\347\254\254\344\270\211\346\226\271\351\222\261\345\214\205.md" +++ /dev/null @@ -1,16 +0,0 @@ ---- -id: Third_Party_Walle -title: Third-party wallets -sidebar_label: Third-party wallets ---- - - -As the wallet specific for PlatON and Alaya, ATON does not support multi-chain and functions are relatively simple. Therefore, we hope the community can provide more third-party wallets with rich features and user-friendly experience that support PlatON and Alaya network. - -Following are third party wallets maintain and support by the community which able to transfer and store LAT on PlatON network, please research the security of them yourself before use, we listing the following information only for the convenience of downloading, it does not mean we responsible for the security of the wallet. - -- [COBO Wallet](https://cobo.com/)-Cobo - Cobo wallet is a professional digital currency management wallet, it supports cloud wallet and HD wallet, it can store digital currencies of 40+ public chain including PlatON. - -- [Math Plug-in Wallet](https://blog.mathwallet.org/?p=2957) - Math plug-in wallet supports PlatON main network and dev network, not only can support asset management, but also can be used as a development tool, and is also the Dapp application portal. - -- [HashKey Me Wallet](https://me.hashkey.com/) - HashKey Me wallet is a decentralized identity wallet that uses MPC, threshold signature and other technologies to provide users with a simple and secure experience of using a senseless private key, and currently supports a number of mainstream public chain digital assets including PlatON. diff --git "a/docs/\350\264\250\346\212\274&\345\247\224\346\211\230.md" "b/docs/\350\264\250\346\212\274&\345\247\224\346\211\230.md" deleted file mode 100644 index 4328510d2b..0000000000 --- "a/docs/\350\264\250\346\212\274&\345\247\224\346\211\230.md" +++ /dev/null @@ -1,62 +0,0 @@ ---- -id: staking_and_delegation -title: Staking&Delegation -sidebar_label: Staking&Delegation ---- - -## What is staking? -In PlatON's network, pledge is the act of nodes joining to PlatON network by locking a certain amount of LAT. PlatON uses [PPoS consensus mechanism](/docs/en/Economic_Model#ppos-consensus) to select validation nodes, and the nodes joining to PlatON network will be ranked according to the pledged The number of LATs will be ranked, and each round of consensus will randomly select 43 nodes from the top 225 nodes in the ranking to pack out blocks as validation nodes. - -## What is a delegation? - -Delegation is the act of LAT holders delegating LAT to nodes to indirectly participate in the network co-build. Delegation can not only improve the security of the network, but also bring revenue to the delegator. - -## How to staking? - -You can quickly initiate a staking operation using the [Mtool tool](/docs/en/OnLine_MTool_Manual), please refer to [here](/docs/en/Become_PlatON_Main_Verification#initiate-a-staking-operation). - -## How to delegate? - -Delegation can be done simply by using [ATON wallet](/docs/en/ATON-user-manual), please refer to [here](/docs/en/ATON-user-manual#delegate) for details. - -## Why become a delegator? - -Staking is the core feature of the PlatON network. The larger the percentage of LAT involved in staking and delegating, the higher the security of PlatON network. - -Whether a validator can be selected as an active validator mainly depends on the amount of total staking, which is composed of the staking of LAT of the validator itself and the LAT delegated to it. Alternative Validator Candidates ranking top 225 can become alternative validators. - -The delegating is similar to an election in that we exercise our voting right by delegating, so as to fulfill our common expectation of electing the candidate contributing the most to the development of the network to become the validator. The participation of more delegators can prevent validators from misconduct and promote the healthy and sustainable development of PlatON ecosystem and the continuous increase of PlatON value. - -## How to choose a validator worth delegating? - -Based on the information provided by the ATON Wallet, you can examine a validator from the following aspects: - -- **Ranking**: the higher the ranking of a validator, the higher the chance of it becoming a validator producing blocks in the consensus round. -- **Expected annualized rate of yield**: the yield of delegation can be estimated with the expected annualized rate of yield, which can be calculated by the yield per share of the delegation in the recent 4 Epochs. -- **Delegating reward ratio**: the ratio of the rewards allocated to the delegators. The higher the ratio, the higher the total rewards earned by all delegators. -- **Delegation received**: the total amount of delegated LAT received by the current validator. The higher percentage of the delegated LAT, the higher the rewards allocated to individuals from the total rewards received by all delegators. -- **Penalty count**: validators with low block producing rate or malicious dual-signing will be penalized, and the more validators are penalized, the less trustworthy they are. -- **Community reputation**: validators with good reputations and prestige in the community can be trusted and delegated. - -## When does the delegation take effect and when can I get rewards after delegation? - -Delegated LAT does not become effective (i.e., being locked) until the next Epoch. - -When the effective delegation is fully locked for an Epoch and the delegated validator is rewarded in the [Epoch](/docs/en/Economic_Model#the-business-cycle-in-platon), the delegating reward is available in that settlement block. - -If the delegated validator is revoked, all delegating under that validator will be invalidated and there will be no delegating rewards for this Epoch and subsequent Epochs. - -## How are delegating rewards calculated? - -Rewards can be received when a validator becomes an active validator and participates in block production. The rewards are composed of staking rewards and block-producing rewards and are allocated to delegators in accordance with the delegating reward ratio. - -> If a validator has a delegating reward ratio of 10% and receives a block-producing reward of 1000LAT and a staking reward of 2000 LAT for a certain period of time, rewards participating in allocation would be 3000 LAT. -> ->Total reward for all delegators: 1000 \* 10%+2000\*10% = 300 LAT -> ->Each delegator gets a reward based on the ratio of its valid delegation to the total valid delegation of the validator. -> ->Suppose a delegator has a total delegation of 1000 LAT and there are a total of 5000 LAT delegation on the validator, -> ->then the reward that the delegator can get is 1000/5000\*300=60 LAT. - diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/ATON-user-manual.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/ATON-user-manual.md deleted file mode 100644 index 9b2589bd3d..0000000000 --- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/ATON-user-manual.md +++ /dev/null @@ -1,554 +0,0 @@ ---- -id: ATON-user-manual -title: ATON操作指南 ---- - - - -ATON是一个支持PlatON Network及Alaya Network的安全易用的移动钱包。通过ATON钱包,用户可以轻松的发送LAT/ATP,查看交易记录和账户余额。同时为用户提供了便捷的委托服务。 - -
-
点击下载ATON最新版本 -
-
- -*本文中的所有图片都是在PlatON网络下的样例图片。* - -## 开始 - -### 创建钱包 - -
-
-
-
1. 点击【创建钱包】。 -
2. 选择钱包类型(普通或HD),设置符合规则的钱包名称和钱包密码。 -
3. 点击【创建钱包】按钮即可创建钱包。 -
4. 钱包创建成功后可以点击【钱包备份】开始备份,或者点击【跳过】后续进行备份。 -
-
注意 -
1. 钱包密码是您操作此钱包的凭证,服务器不会存储您的钱包密码,请务必牢记。 -
2. 强烈建议您在创建钱包时即时备份。 -
3. 点击页面左上角的网络名称切换网络。 -
4. 钱包总数不得超过200(包括所有普通钱包的数量与HD创建的所有子钱包数量)。 -
-
-
- -### 钱包备份 - -
-
-
-
1. 在创建钱包后,可点击【开始备份】按钮进行钱包备份。也可在创建钱包后,在【钱包】或【我的-钱包管理】模块点击具体钱包的【备份】按钮进行备份。 -
2. 备份需要输入正确的钱包密码,密码校验通过后,系统会展示12个英文单词作为助记词。 -
3. 抄写助记词并保存在安全地方。点击【下一步】验证助记词,验证通过则完成了钱包备份。 -
-
注意 -
1. 拥有助记词可恢复您的钱包并控制您的资产,请务必将其备份存储至安全地方。 -
-
-
- - -### 导入钱包 - -#### 使用钱包文件导入 - -
-
-
-
1. 点击【导入钱包-钱包文件】。 -
2. 输入文件内容,或者通过扫一扫扫描获取钱包文件。 -
3. 设置钱包名称,输入此钱包文件的密码。
4. 点击【开始导入】按钮,密码验证通过后钱包则导入成功。 -
-
注意 -
1. 导入钱包文件,需要输入原钱包的加密密码。 -
2. 服务器未存储您的钱包密码,忘记密码时,请使用助记词和私钥进行导入。 -
3. 支持在钱包首页,点击右上角“...”按钮继续导入钱包。 -
-
-
- -#### 使用助记词导入 - -
-
-
-
1. 点击【导入钱包-助记词】。 -
2. 正确填写助记词且顺序正确。 -
3. 选择钱包类型,设置钱包名称和钱包密码。 -
4. 点击【开始导入】按钮,助记词验证通过后钱包则导入成功。 -
-
注意 -
1. 钱包密码是您操作此钱包的凭证,服务器不会存储您的钱包密码,请务必牢记。 -
2. 拥有助记词即可恢复您的钱包并控制您的资产,请务必将其备份存储至安全地方。 -
3. 支持在钱包首页,点击右上角“...”按钮继续导入钱包。 -
-
-
- -#### 使用私钥导入 - -
-
-
-
1. 点击【导入钱包-私钥】。 -
2. 输入私钥内容,或者通过扫一扫扫描获取私钥。 -
3. 设置钱包名称和钱包密码。 -
4. 点击【开始导入】按钮,验证通过后钱包则导入成功。 -
-
注意 -
1. 钱包密码是您操作此钱包的凭证,服务器不会存储您的钱包密码,请务必牢记。 -
2. 拥有私钥即可恢复您的钱包并控制您的资产,请务必将其备份存储至安全地方。 -
3. 支持在钱包首页,点击右上角“...”按钮继续导入钱包。 -
-
-
- -#### 导入观察钱包 - -详见“设置观察钱包和冷钱包”说明。 -
- -#### 地址簿 - -
-
-
-
1. 选择【我的-设置】,可以看见地址簿中存储的钱包地址列表。 -
2. 点击其中任意一条地址信息,可以复制选中的地址。 -
3. 侧滑其中任意一条地址信息,可以对其进行删除和编辑。 -
4. 点击顶部导航栏右边的【+】按钮可以实现手动新增地址信息到地址簿。 -
5. 同时,还可以在【创建钱包】和【导入钱包】页面(包含助记词导入、钱包文件导入、私钥导入、观察钱包导入)的【开始导入】按钮的上方勾选【存入地址簿】选项实现钱包自动存入地址簿,该选项默认勾选。 -
-
-
- -详见“设置观察钱包和冷钱包”说明。 -
- -### 选择钱包 - -
-
-
-
1. 点击钱包首页的钱包名称右侧的“切换钱包”图标,即可选择钱包。 -
2. 可按“全部”、“HD”、“普通”进行分类筛选,也可通过钱包名称模糊搜索或钱包地址进行精确搜索。 -
3. 找到需选择的钱包,点击钱包框。 -
4. 钱包首页自动切换到刚选择的钱包。 -
-
-
- -## 钱包资产 - -
-
-
-
1. 在存在钱包的情况下,钱包资产主页会显示一个有效的钱包及其资产信息。 -
2. ①本部分是当前钱包简要信息。 -
3. ②钱包简要信息包含钱包名和钱包地址,以及【切换钱包】按钮。 -
4. ③点击钱包地址可以复制当前钱包的地址。 -
5. ④点击【钱包管理】按钮可以对钱包进行管理。 -
6. ⑤点击【二维码】按钮可以进入钱包地址二维码界面。 -
7. ⑥顶部左上角显示当前钱包所在网络信息,点击可以切换网络。 -
8. ⑦点击【...】可创建和导入钱包,点击【扫一扫】可扫描二维码。 -
9. 页面下半部分是【资产列表】。 -
10. ⑧第一条是LAT/ATP数据,可以看到单位和余额,点击可以进入LAT/ATP资产详情页面。 -
11. ⑨PRC20资产,可以看到单位和余额,点击可以进入PRC20资产详情页面。 -
12. ⑩“收藏”页签为PRC721资产,点击可以进入PRC721资产列表页面。 -
13. 点击【眼睛】图标能够显示/隐藏资产数量。 -
-
-
- - - -### LAT/ATP资产详情 - -
-
-
-
1. 顶部部分是当前钱包信息。 -
2. 钱包信息包含余额、单位和锁仓余额,以及【发送】按钮和【接收】按钮。 -
3. 点击【发送】按钮可以跳转到发送页面进行转账。 -
4. 点击【接收】按钮进入接收页面进行接收转账。 -
5. 页面下半部分是【交易记录】。 -
6. 页面下半部分是交易记录,点击单条交易记录可以进入交易记录详情页面。 -
-
-
- -### 收藏集(PRC721) - -#### 收藏集资产列表 - -
-
-
-
点击其中一个收藏集资产,可以进入该收藏集详情页面。 -
-
-
- -#### 收藏集详情 - -
-
-
-
1. 顶部部分是当前收藏集资产信息。 -
2. 页面下半部分是当前钱包拥有的收藏品资产列表,点击单条资产图片可以进入收藏品详情。 -
-
-
- -#### 收藏品详情 - -
-
-
-
1. 顶部部分是当前收藏品名称和ID。 -
2. 页面下半部分是当前收藏的详情、最近交易记录。 -
3. 底部是发送该收藏品的按钮,点击后,进入发送页面,可以将该收藏品发送给其他地址。 -
-
-
- -#### 收藏品交易记录 - -
-
-
-
1. 点击“最近交易”可以查看到该收藏品的交易记录列表。 -
2. 点击某一条交易记录,可以查看到交易的详情。 -
-
-
- - - -## 接收 - -
-
-
-
1. 在钱包首页点击二维码图标,或者在某个钱包的资产详情页点击【接收】按钮,则可展示钱包地址和二维码。 -
2. 点击钱包地址复制按钮则可复制地址。 -
3. 点击【保存图片并分享】则可将图片保存至本地相册,并分享给他人。 -
4. 其他方可通过此地址或者扫描此二维码进行LAT/ATP转账。 -
-
注意 -
1. 转账时,请确认网络的正确性。 -
-
-
- - - - -## 发送 - -### 发送LAT/ATP - -
-
-
-
1. 在LAT/ATP钱包资产详情页,点击【发送】按钮。 -
2. 输入有效的钱包地址,或者扫描钱包二维码进行地址的自动填充,或者通过地址簿选择本地已保存的钱包地址。 -
3. 输入发送的LAT/ATP数量。 -
4. 选择交易手续费,可自行选择不同数量的手续费。 -
5. 点击【下一步】,确认交易信息,点击【发送】按钮后,输入正确的钱包密码,即可发送交易至区块链网络。 -
-
-
- - - -### 发送收藏品 - -
-
-
-
1. 在收藏品详情页,点击【发送】按钮。 -
2. 输入有效的钱包地址,或者扫描钱包二维码进行地址的自动填充,或者通过地址簿选择本地已保存的钱包地址。 -
3. 选择交易手续费,可自行选择不同数量的手续费。 -
4. 点击【下一步】,确认交易信息,点击【发送】按钮后,输入正确的钱包密码,即可发送交易至区块链网络。 -
-
-
- - -### 选择交易手续费 - -
-
-
-
1. 发送、委托、赎回和领取奖励功能都会产生交易手续费。 -
2. 以发送功能为例,点击【交易手续费】,可以进入交易手续费设置页面。 -
3. 交易手续费有5种选择(最快、快速、推荐、便宜、自定义)。 -
4. 默认选中【推荐】配置项。 -
5. 用户可以根据实际需要选择相应的选项。 -
6. 其中【自定义】一栏用户可以自主输入Gas Price和Gas Limit来实现灵活化的费用配置。 -
-
-
- -## 节点 - -### 查看验证节点列表 - -
-
-
-
1. 点击【委托-验证节点】,可查看PlatON网络中的验证节点。 -
2. 节点默认是按照排名进行排序,可支持接受委托量、委托者数、预计委托年化收益率排名。 -
3. 活跃中节点:指当前结算周期参与共识选举并有机会生产区块获得出块奖励的验证节点。 -
4. 候选中节点:指当前结算周期不参与共识选举的验证节点。 -
-
-
- -### 查看验证节点详情 - -
-
-
-
1. 点击某个具体节点,可查看节点的收益相关信息: -
- 预计委托收益率:近4个结算周期每份额委托净收益折合成的年化收益率,基于该值可预估委托收益情况; -
- 委托奖励比例:节点所获奖励分配给委托者的比例,比例越大,委托奖励越多; -
- 累计奖励:节点累计分配的委托奖励数。 -
2. 同时可查看节点的基本信息,如委托者信息、出块信息等。 -
3. 如果您想将LAT/ATP质押给此节点,可点击下方【委托】按钮进行操作。 -
-
注意 -
1. 基金会资助的节点,不接受委托。 -
2. 如果当前节点状态为“锁定中”,则不能接受委托。 -
-
-
- - -## 委托 - -### 参与委托 - -
-
-
-
1. 可点击【委托-验证节点】,选择某个节点进行委托。如果已委托过,可点击【委托-我的委托-委托节点详情】,选择某个节点继续进行委托。 -
2. 进入页面,选择需要委托的钱包。 -
3. 如果钱包有锁仓金额,可点击委托钱包余额选项栏进行切换,使用锁仓金额进行委托;如果钱包有委托冻结金额,可点击委托钱包余额选项栏进行切换,使用委托冻结金额进行委托(注意钱包余额需足够支付委托交易手续费)。 -
4. 输入委托的金额,每次委托不得小于10LAT/1ATP。 -
5. 输入正确的密码即可完成委托。 -
6. 已委托过的节点,可再次进行委托,无次数限制。 -
-
注意 -
1. 委托人将LAT/ATP委托给节点,当委托的节点产生收益时,委托人将会获得基于节点配置的委托奖励比例分配的收益。 -
2. 收益节点关联的钱包地址,不可参与委托。 -
3. 委托的LAT/ATP在下个结算周期才开始生效。 -
-
-
- - -### 查看我的委托 - -
-
-
-
1. 点击【委托-我的委托】可查看当前客户端钱包总的委托金额、待领取奖励和累计奖励。 -
2. 可点击某个钱包查看总委托金额、累计奖励金额和待领取奖励,也可进行委托和赎回委托操作。 -
3. 点击【领取】可领取该钱包的所有待领取奖励,输入正确的钱包密码,交易完成奖励即可到账。 -
-
-
- -### 赎回委托 - -
-
-
-
1. 点击【委托-我的委托-详情-赎回委托】可进行赎回。 -
2. 输入想要赎回的数量,数量需大于等于10LAT/ATP,输入正确的密码即可完成赎回委托操作。 -
-
注意: -
1.赎回委托时,犹豫期内委托将原路返回,有效期内的委托将回到委托冻结账户,将冻结一定的结算周期; -
2.操作全部赎回时,将自动领取委托奖励。 -
-
-
- - -### 委托冻结详情 -
-
赎回有效的委托将会有一定的冻结周期,冻结期内的委托可以在委托冻结详情页面进行查看。 -
【委托节点详情】点击【委托冻结】进入委托冻结的详情页面; -
-
- - -### 提取委托 -
-
委托冻结周期结束后,需要用户手动进行提取操作,将提取所有待提取的委托,会根据资产来源返还到用户钱包余额或者锁仓账户中。 -
1.【委托冻结详情】点击【提取】按钮,进入提取页面; -
2、提取页面点击【提取】按钮,提取所有待提取的委托; -
-
- - -## 观察钱包与冷钱包 - -### 设置观察钱包与冷钱包 - -准备工作: - -1. 准备 2 台手机,安装最新版的 ATON 钱包。 -2. 确保一台手机永不联网,建议开启飞行模式,关闭 WiFi,作为冷钱包设备;另一台手机联网作为观察钱包设备。 - -
-
-
-
1. 不联网手机创建一个钱包,此钱包则为冷钱包。点击“接收”打开钱包二维码。 -
2. 如图所示,联网手机点击【导入钱包-观察钱包】,扫描不联网手机的二维码或者输入钱包地址,点击【完成】,观察钱包设置成功。 -
-
注意 -
1. 观察钱包:联网但不存有私钥的钱包,仅做观察使用。如需进行交易,需要配合冷钱包操作。 -
2. 冷钱包:不联网但存有私钥的钱包,需做安全隔离保管。 -
-
-
- -### 使用冷钱包进行交易 - -如果您已设置过观察钱包和冷钱包,可在观察钱包上发起转账、委托、赎回等操作,冷钱包配合进行签名。下面以转账交易为例进行说明。
- -**1. 观察钱包操作** - -
-
-
-
(1)选择某一观察钱包,进入发送页面,输入转账信息,页面出现弹框,确认要发送的交易信息。 -
(2)点击【下一步】按钮,页面显示待冷钱包扫描的二维码信息。 -
-
-
-**2. 冷钱包操作** - -
-
-
-
(1)点击钱包首页右上角的扫一扫,或者点击指定钱包的【离线签名】按钮,扫描观察钱包页面展示的二维码。 -
(2)页面展示交易的详细信息,如确认无误则可以点击【确认无误,签名】,输入钱包密码。 -
(3)钱包密码输入正确后,页面会展示已签名的交易二维码信息,供观察钱包扫描。 -
-
-
- -**3. 观察钱包操作** - -
-
-
-
(1)使用观察钱包进行发送、委托和赎回操作时,需要离线签名。 -
(2)点击【已扫码,下一步】按钮,到达读取签名数据页面。 -
(3)点击扫一扫图标,扫描步骤2冷钱包页面的二维码,则可获取签名数据。 -
(4)点击【发送交易】,即可将交易发送至区块链网络。 -
-
注意 -
1. 观察钱包需配合冷钱包进行操作,否则无法转账。 -
2. 请不要将资产充值至您无法掌控的观察钱包地址上。 -
-
-
- - -## 其他 - -### 设置/帮助与反馈 - -
-
-
-
1. 选择【我的-设置】,可进行相关设置: -
- 网络设置:选择需要连接的网络; -
- 大额提醒:转账数量超过设置的金额时进行提醒; -
- 重复交易提醒:最近2小时同样的交易进行提醒; -
- 指纹/面纹解锁:开启后,则每次进入APP需要指纹或者面部解锁; -
- 语言:可选择中文、英文进行切换。 -
2. 选择【我的-帮助与反馈】,可查看APP使用帮助和常见问题。如果找不到您的问题,您可提交反馈,我们将尽快予以回复。 -
-
-
- -### 修改密码 -
-
-
-
1. 点击【我的-钱包管理-修改密码】。 -
2. 输入原密码进行确认。 -
3. 设置新的钱包密码、确认钱包密码。 -
4. 点击【确认】按钮,修改密码成功。 -
-
注意 -
1. 钱包密码是您操作此钱包的凭证,服务器不会存储您的钱包密码,请务必牢记。 -
-
- - -### 重置密码 - -当你忘记钱包密码的时候,可以选择使用助记词/私钥/钱包文件重新导入钱包,重新设置密码。 - -
- -HD钱包路径:【我的 - 钱包管理 - HD钱包详情 - HD设置 - 重新导入钱包】 - -普通钱包路径:【钱包 - 钱包图标 - 重新导入钱包】,或者 【我的 - 钱包管理 - 钱包详情 - 重新导入钱包】 - -重新导入钱包成功后,原有的钱包信息将被清除。 - -如果使用私钥/钱包文件重新导入,ATON中将不再存储助记词。 - -### 冷钱包签名链ID设置 -
-
-
1.观察钱包与冷钱包签名需要保持链ID的一致; -
2.ATON1.1.5及以上版本,已经兼容 PlatON Mainnet 新的链ID:210425;冷钱包没有升级ATON1.1.5及以上版本,签名默认为链ID:100;热钱包如果修改为最新链ID:210425,请将冷钱包升级,并同时设置新的链ID才能签名成功; -
-
- -### ATON 1.1.0支持 WalletConnect! -
-
支持 WalletConnect ,你可以轻松完成与桌面端 DApp 的连接。 -
-
WalletConnect 是一项支持通过扫码授权与桌面端 DApp 进行连接的服务,它就像一辆城际快速列车,拉近了桌面端应用和移动端钱包之间的距离。 -
-
ATON 正式支持 WalletConnect 标准【观察钱包与冷钱包暂不支持】,你不仅可以实现移动端 DApp 与 ATON 的交互,还能使用 ATON 扫码授权任何支持该标准的桌面端 DApp,且无需担心资产安全问题。连接方式也很简单: -
1.桌面端 DApp 选择使用 WalletConnect 连接; -
2.点击 ATON 首页右上角【扫一扫】,选择钱包完成授权; -
3.确认操作,在 ATON 中进行【确认】; -
-
操作演示视频: -
https://www.youtube.com/watch?v=hnHRR7D0Rak -
-
-
GitHub上ATON 的WalletConnect Dapp演示demo -
https://github.com/PlatONnetwork/WalletConnect-Example -
- - -### HashKey DID - -
-
HashKey DID 是一个多链结构的去中心化身份数据聚合器,基于智能合约,NFT,隐私计算的去中心化协议,为Web3用户提供身份服务。 -
HashKey官网: www.hashkey.id -
-
1.使用ATON进行快速注册HashKey DID:ATON首页的钱包地址下方点击[注册]按钮进行注册。 -
-
-
2.支持输入DID作为接收地址进行转账,如输入已注册的DID Name:abc123.key。 -
-
-
- diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/LAT\344\273\213\347\273\215.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/LAT\344\273\213\347\273\215.md" deleted file mode 100644 index c9744a254d..0000000000 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/LAT\344\273\213\347\273\215.md" +++ /dev/null @@ -1,100 +0,0 @@ ---- -id: lat_introduced -title: 什么是LAT -sidebar_label: 什么是LAT ---- - - - -## 什么是LAT,以及如何获得? - -LAT是PlatON的原生Token,它是一种“数字货币” ,您可以在PlatON网络上进行发送,也可以在PlatON应用程序中使用。 - -目前您可以通过参与LatticeX基金会的[Grants计划](https://latticex.foundation/grants)以及后续其他的社区发展计划来获取LAT。 - - - -## LAT有什么用? - -**LAT提供燃料并保障PlatON网络安全** - -当您发送LAT或使用PlatON应用程序时,您需支付一小笔LAT费用,这笔费用用于激励节点处理和验证您的交易。 - -在PPOS机制中,LAT对网络非常重要。LAT用来委托节点,或者自己质押成为验证节点,以此维护PlatON网络安全并获得LAT奖励。[更多关于PlatON验证节点信息](/docs/zh-CN/PlatON_Validation_Introduce)。 - -如果您想了解关于LAT的经济机制,[点击查看更多介绍](/docs/zh-CN/Economic_Model#platon的经济方案)。 - - - -**LAT作为数据交易市场的媒介** - -LAT作为支付媒介承担PlatON未来的数据和算力流通市场的清结算工具的重任。PlatON网络的参与者通过提供数据使用、计算能力和算法来赚取LAT。 - - - -**LAT支撑DApp生态发展** - -PlatON将支持DApps和DeFi的发展,引入DApps和DeFi的经济耦合设计。例如,DApps可以发行自己的Token,而DApp的Token必须以LAT储备金作为支持。 -PlatON还将支持开发以LAT为抵押的稳定币。 - - - -## LAT如何管理? - -钱包是您存储LAT以及与DApp进行交互的应用程序,通过钱包可以轻松的持有或发送LAT。 - -**安装一个钱包** - -- [ATON](https://platon.network/developer/?lang=zh#aton) - 为iOS和Android平台设计的手机移动端钱包 - -- [Samurai插件钱包](https://github.com/AlayaNetwork/Samurai) - 网页浏览器插件钱包 - -- [Cobo](https://cobo.com/) - 支持多公链的手机移动端钱包 -- [麦子插件钱包](https://blog.mathwallet.xyz/?p=5008) - -*注:上述信息仅为资源汇总,并不代表我们对钱包使用的安全性负责*。 - - - -**保护您的LAT安全** - -区块链的去中心化使PlatON和LAT不受任何组织控制。因此LAT是开放的,每个人都可以使用,这也意味着您需要认真对待资金的安全性。 - -- 对自己的资金负责 - -中心化交易所会将您的钱包与用户名及密码关联起来,支持使用传统方式恢复钱包。您需要选择值得信任和安全的交易所。如果该交易所被攻击或倒闭,您的资金可能就有风险。 - - - -- 备份助记词、私钥 - -钱包通常会给您一个助记短语或私钥,您必须在安全的地方记录下来。这是您能够恢复钱包的唯一方法。 - -助记词例子: - -> enlist goriia raw juice disagree toy kite tube behave video unusual may - -*建议不要把它存储在电脑上,把它写下来并保管好。* - - - -- 仔细核对一切 - -请记住交易一旦发送是无法撤销的,钱包丢失也是不能轻易找回的,请保持谨慎小心。 - - - -想要了解更多关于钱包安全信息? - -- [Protecting Yourself and Your Funds](https://support.mycrypto.com/staying-safe/protecting-yourself-and-your-funds) *Updated often - MyCrypto* -- [The keys to keeping your crypto safe](https://blog.coinbase.com/the-keys-to-keeping-your-crypto-safe-96d497cce6cf) *Jan 16, 2019 - Coinbase blog* - - - -## 浏览LAT交易 - -随着网络利用率的增长,链上数据将存在越来越多有价值的信息,通过区块浏览器可以为您提供浏览区块、交易、账户、节点和其他链上活动的实时数据。 - -- [PlatScan](https://scan.platon.network/) - PlatON区块链资源管理和分析平台,支持中文、英文。 -- [PlatEye](https://www.plateye.com/) - diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON Wallet Plugin SDK.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON Wallet Plugin SDK.md deleted file mode 100644 index bd419015e4..0000000000 --- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON Wallet Plugin SDK.md +++ /dev/null @@ -1,260 +0,0 @@ ---- -id: PlatON_wallet_plugin_sdk -title: PlatON-Wallet-Plugin-SDK接入手册 -sidebar_label: PlatON-Wallet-Plugin-SDK接入手册 ---- - -# PlatON-Wallet-Plugin-SDK接入手册 - -## 安装 PlatON Wallet Plugin SDK - -> 集成 `SDK` 到您的 `dApp/Wallet/swap` 页面中. - - -## 安装 - -我们推荐使用 `npm/yarn/pnpm` 等方式安装 SDK。 - -``` -npm install '@platonnetwork/platon-wallet-sdk' -``` - -or - -``` -yarn add '@platonnetwork/platon-wallet-sdk' -``` - -or - -``` -pnpm add '@platonnetwork/platon-wallet-sdk' -``` - - -## 配置 SDK - -> 安装完 SDK 后,需要进行一些设置。 - -开始使用前,您必须初始化并配置 SDK: - -``` -import PlatOWallet from '@platonnetwork/platon-wallet-sdk'; - -// Definition PlatONWallet SDK -const walletSDK = new PlatONWallet(config); -``` - -可选配置参数可传入用户自定义配置项: - -```js -type ConfigUpdate = { - env: 'PROD', // 必填参数,取值为:'TEST' or 'PROD' - theme: 'light' // 可选参数, 'light' or 'dark', default to 'light' -}; -``` - -`env` 参数定义了当前选用的环境信息,参数包含 `TEST` 和 `PROD`,该参数是必须的,在初始化的时候确定,后续不可动态更改。 - -- `TEST` 测试环境,该环境对应 PlatON 的开发网络; -- `PROD` 生产环境,该环境对应 PlatON 的主网; - - -> 注意:在用户每次连接钱包及切换钱包后,需要通过以下方式对该参数进行设置: - -``` -walletSDK.setWalletOption({ - walletType: '<钱包插件标识>', - walletProvider: -}) -``` - -### 初始化及使用钱包 - -PlatON-Wallet 定义完成后,需要调用 `init()` 函数完成初始化: - -> 示例为 MetaMask 钱包插件使用说明。 - -``` -// 初始化 PlatONWallet SDK -walletSDK.init({ - walletType: 'METAMASK', // 取值:'METAMASK', 'PARTICLE', 'WALLETCONNECT' - walletProvider: window.ethereum // `window.ethereum` 为 MetaMask 对应的 eip1193 ethereum provider -}) -``` - -参数值: - -* `METAMASK`:MetaMask 钱包插件; -* `PARTICLE`:Particle 钱包; -* `WALLETCONNECT`:WalletConnect V2协议钱包; - -注意:不同的插件对应的 `walletProvider` 不同,具体参考后续内容说明。 - - -初始化之后,如果有需要可以调用 `setWalletOption()` 函数再次设置当前连接的钱包类型: - -``` -// 设置钱包插件 -walletSDK.setWalletOption({ - walletType: 'METAMASK', - walletProvider: window.ethereum, -}) -``` - -设置钱包类型后,调用 `show()` 展示PlatON-Wallet 页面: - -``` -// 显示钱包 -walletSDK.show(); -``` - - -### 切换 Particle 钱包 - -Particle 获取 EIP1193 标准的方法如下: - -``` -// particle example, @particle-network/connect-react-ui, @wagmi/core and @particle-network/connect -// packages expose the provider in a different way, refer their docs for details -const pn = new ParticleNetwork({ - projectId: 'your project id', - clientKey: 'your client key', - appId: 'your app id', - wallet: { - displayWalletEntry: false, - }, -}) - -// import { ParticleNetwork } from '@particle-network/auth' -// import { ParticleProvider } from '@particle-network/provider' -const particleProvider = new ParticleProvider(pn.auth) -``` - -为 PlatON-Wallet 设置为 Particle 钱包: - -``` -walletSDK.setWalletOption({ - walletType: 'PARTICLE', - walletProvider: particleProvider, -}) -``` - - -### 切换 WalletConnect v2 协议 - -WalletConnect 获取 EIP1193 标准的方法如下: - -``` -// walletconnect example, @wagmi/core and @web3modal/ethereum packages expose the provider in a different way, refer their docs for details -const supportedRpcMap = await wallet.getSupportedChainsMap() // walletconnect required - -const wcProvider = await EthereumProvider.init({ - // import { EthereumProvider } from '@walletconnect/ethereum-provider' - projectId: 'your project id', - chains: [ - ...Object.keys(supportedRpcMap).map((item) => +item), - // your own chains - ], - rpcMap: { - ...supportedRpcMap, - // your own rpc map - }, - showQrModal: true, - qrModalOptions: { - themeVariables: { - '--wcm-z-index': '9999', - }, - }, -}) -``` - -为 PlatON-Wallet 设置为 WalletConnect v2 钱包: - -``` -walletSDK.setWalletOption({ - walletType: 'WALLETCONNECT', - walletProvider: wcProvider, -}) -``` - - -## 不连接任何钱包或退出钱包 - -当退出钱包链接或不链接任何钱包时,执行以下命令: - -``` -walletSDK.setWalletOption({ - walletType: '', - walletProvider: null, -}) -// 或者 -walletSDK.destroy() -``` - - -## 使用案例 - -> 案例选用 MetaMask 钱包插件示例。 - -项目为客户端渲染时,用如下导入方式: - -```js -import PlatOWallet from '@platonnetwork/platon-wallet-sdk'; - -// Definition PlatONWallet SDK -const walletSDK = new PlatONWallet({ - env: 'PROD', // 'TEST' or 'PROD' - theme: 'light' -}); - -// 初始化 PlatONWallet SDK -walletSDK.init({ - walletType: 'METAMASK', - walletProvider: window.ethereum -}); - -// 设置钱包插件 -walletSDK.setWalletOption({ - walletType: 'METAMASK', - walletProvider: window.ethereum -}) - -// 隐藏钱包 -walletSDK.hide(); - -// 显示钱包 -walletSDK.show(); - -// 销毁钱包 -walletSDK.destroy(); - -``` - -项目为服务端(如使用 next.js 等)渲染时,用如下导入方式: - -```js -let walletSDK = null - -import('@platonnetwork/platon-wallet-sdk').then(module => { -  walletSDK = new module.default({ env: 'PROD' }) -}) -``` - -## 合约信息 - -### PlatON 测试网 - -| name | symbol | address | -|:---|:---|:---| -| Tether USD | USDT | 0x1e6E4b48F6F57Aa7cefd8239e8515694D110386B | -| USD Coin | USDC | 0x229b68722bF16CCc7186Dc8760b3D8C5980fe609 | - - -### PlatON 主网 - -| name | symbol | address | -|:---|:---|:---| -| Tether USD | USDT | 0xeac734fb7581D8eB2CE4949B0896FC4E76769509 | -| USD Coin | USDC | 0xdA396A3C7FC762643f658B47228CD51De6cE936d | - diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON Wallet Plugin.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON Wallet Plugin.md deleted file mode 100644 index bef9f99fde..0000000000 --- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlatON Wallet Plugin.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -id: PlatON_wallet_plugin -title: PlatON-Wallet - 操作手册 -sidebar_label: PlatON钱包插件 ---- - -# PlatON钱包插件 - -## 概述 - -PlatON 钱包插件集成了钱包基础功能、跨链、法币通道、Swap 等多种功能。未来还将实现跨币种的兑换、基于密态支付的交易鉴权、预付费卡销售、虚拟 VISA 卡等更多功能。 - -PlatON 钱包插件兼容多种去中心化钱包,应用方通过集成 PlatON 钱包插件后,可以使得其用户方便的进行跨链充值、法币购买等操作。 - -为了满足项目方的各种集成需求,我们将为一系列语言和框架提供 SDK,使应用开发人员可以根据不同的业务场景快速完成集成。 - -## 集成方式 - - - [PlatON钱包插件SDK](/docs/zh-CN/PlatON_Wallet_Plugin_Sdk):提供完整的钱包功能和页面,通过简单的单点集成,可快速使用钱包内所有的功能。 - - 我们也即将提供更多种集成方式,以满足应用不同场景的集成需求。 - -## 使用教程 -> **注意:**由于 PlatON 钱包插件本身不生成账户地址,依赖于其他有账户第三方的钱包,如Metamask、Particle等。因此所有的交易将通过第三方钱包来完成。 - -**1、连接钱包** - -当应用集成 PlatON 钱包插件之后,通过应用连接钱包(如Metamask)之后,PlatON 钱包也会同步连接上该钱包。钱包连接成功之后,PlatON 钱包插件将展示该账户在 PlatON 网络上资产情况。 -现在钱包插件支持 **MetaMask、Particle Wallet 和 WalletConnect V2** 三种连接方式。 - -connect - -**2、发送与接收** - - 钱包插件支持发送和接收 PlatON 网络上的 资产。 - -send-receive - -**3、充值** - - 目前提供三种方式来进行 PlatON 网络资产的充值: - -- 方式一:通过跨链桥的方式从其他网络跨入资产到 PlatON 网络,目前已经支持从Ethereum、Polygon、BSC和Tron四个网络充值资产到 PlatON 网络。 -- 方式二:通过集成 Alchemy Pay和FaTPay,支持以法币支付的方式购买 PlatON 网络上的资产 - 未来我们还将支持更多种便捷的充值方式。 -- 方式三:通过Interchain Transfer来进行充值。将资产充值到指定的地址之后,即可完成PlatON网络上的资产充值。 - -deposit - -**4、提取** - - 目前我们有两种方式可将 PlatON 上的资产提取出去: - -- 方式一:通过跨链桥的方式将 PlatON 网络资产提取到其他网络。目前已经支持提取到Ethereum、Polygon、BSC和Tron四个网络。 -- 方式二 :通过 [txnhub.io](https://txnhub.io) 购买购物卡。 - -withdraw - -**5、更多功能** - -我们后续将支持更多网络,更多币种的跨链,不同币种之间的Swap,以及基于密态支付的交易鉴权、虚拟 VISA 卡等等更多功能。 \ No newline at end of file diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/Samurai_user_manual.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/Samurai_user_manual.md deleted file mode 100644 index 7545114f57..0000000000 --- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/Samurai_user_manual.md +++ /dev/null @@ -1,202 +0,0 @@ ---- -id: Samurai_user_manual -title: Samurai -sidebar_label: Samurai ---- - - - -Samurai是一款支持Alaya与PlatON网络的开源浏览器插件钱包工具,支持钱包创建、发送和接收ATP与LAT、以及允许Web DApp与Alaya或PlatON网络进行交互。 - -Samurai仅在您的设备上生成钱包密钥,因此只有您能访问您的钱包账户和数据。因此您需要安全保管钱包密钥(私钥、助记词)以及钱包密码。目前Samurai仅支持Chrome浏览器。 - - - -## 注意事项 - -Samurai基于MetaMask的8.0.10版本开源代码修改的浏览器插件钱包,主要是适配Alaya网络和PlatON网络。由于官方MetaMask自身存在一些bug,请用户使用Samurai时注意: - -* **在交易确认页面不要点编辑按钮去编辑交易相关信息**。 -* **在交易确认页面,点击确认按钮之前,请确认接收地址是否正确**。 - -## 安装 - -+ 从[Release地址](https://github.com/AlayaNetwork/Samurai/releases)下载Samurai插件包; -+ 解压Samurai插件包; -+ 打开Chrome浏览器,在地址栏输入`chrome://extensions/`并回车,进入到Chrome扩展程序管理页面; -+ 打开**开发者模式**开关,选择**加载已解压的扩展程序**,导入第2步解压的目录即可; - -加载已解压的扩展程序 - -## 初始化 - -1. 点击浏览器地址栏右侧Samurai的图标,第一次使用时,会有一个提示,如下图: - -欢迎页 - -2. 点击**开始使用**,接下来有两个选择,可以**创建钱包**也可以**导入钱包**。 - -选择钱包创建方式 - -+ 导入钱包: - -点击**导入钱包**,进入引导页,点击**I agree**进入下步即可。然后输入**钱包助记词**以及**密码**,点击**导入**->**全部完成**即可进入主界面。 - -注:当前Samurai助记词生成路径存在问题,不支持外部钱包应用生成的助记词导入。建议初次创建后,通过私钥导入。 - -用户隐私协议 - -导入种子 - -导入成功 - -首页 - -+ 创建钱包: - -点击**创建钱包**,进入引导页,点击**I agree**进入下步即可。然后输入新钱包的**密码**,并点击**创建**。 - -创建密码 - -进入助记词备份界面,点击“点击此处显示密语”可以显示新建账户的助记词(助记词需要防止被其他人看到, Samurai使用您提供的密码在本地加密此信息,且永远不会将其发送到服务器), 如果点击**稍后提醒**则直接就进入新建账户的Samurai主界面(不建议跳过)。 - -备份助记词 - -点击**下一步**,重新输入正确的助记词顺序,点击**确认**按钮->**全部完成**即可进入主界面。 - -确认助记词 - -确认成功 - -首页 - -## 交易操作 - -### 发送LAT - -+ PlatON主网络下,在Samurai主界面上点击**发送**按钮,即可弹出**添加收件人**界面。 - -添加收件人 - -+ 输入或者选择**个人账户间转账**的地址,进入到交易表单界面: - -交易表单 - -+ 交易表单必须填写交易LAT的数量,系统会给出默认的交易费,当然也可以自己对该值做适当调整,完成表单后点击**下一步**进入待确认界面,该界面会显示总共花费的LAT数量(包含手续费)。 - -待确认页面 - -+ 点击**确认**按钮即可完成LAT的发送,可以在主页面的**交易列表**中进行查看交易状态。 - -交易详情 - -### 添加并发送代币 - -#### 添加代币 - -+ 进入主页面,点击**资产列表**->**添加代币**。 - -添加代币 - -+ 在弹出添加代币界面框中,添加已连接的网络中存在的**代币合约地址**即可,Samurai会根据合约地址自动去获取代币的符号和精确小数点,完成后点击**下一步**。 - -添加代币信息 - -+ 进入添加代币确认界面,界面会显示该账户下该代币的余额,点击**添加代币**即可添加成功。 - -确认添加代币 - -添加成功后转入到该账户代币详情展示界面,里面显示代币的余额,也可以点击**发送**按钮进入代币的转账界面,同时主界面资产列表会显示该代币资产。 - -代币显示 - -#### 代币转账 - -+ 可以在账户代币展示界面点击**发送**按钮发起代币转账,也可以在主界面资产列表界面点击对应代币的**SEND**按钮发起转账。 - -发起代币转账 - -+ 进入添加收件人界面,同发送LAT操作一样输入或者选择**个人账户间转账的地址**,进入到交易表单界面。 - -代币转账表单 - -+ 交易表单必须填写交易的代币数量,点击下一步即可进入交易**确认**界面: - -交易确认 - -+ 点击**确认**按钮即可完成代币的发送,可以在主页面的交易列表中进行查看交易状态。 - -代币交易详情 - -## 创建账号与管理 - -### 创建账号 - -+ 点击Samurai主页顶部右侧钱包头像,在显示的下拉菜单中点击**创建账户**。 - -发起创建账户 - -+ 进入创建账户表单界面,输入**账户名称**(下图例子是钱包2),点击**创建**按钮。 - -账户信息 - -+ 创建成功将进入新创建的钱包主页面,点击顶部右侧钱包头像可查看所有钱包账户列表。 - -账户创建成功 - -### 导入账号 - -+ 点击Samurai主页顶部右侧钱包头像,在显示的下拉菜单中点击**导入账户**。 - -发起导入账户 - -+ 进入导入账户表单界面,可以有两种导入模式选择(私钥/keystore json文件)。选择私钥模式,将私钥粘贴到表单即可,然后点击**导入**按钮。 - -私钥导入 - -选择导入keystore文件模式,选择**JSON文件**类型,点击**选择文件**,从本地目录选取keystore文件,然后输入keystore文件的密码,最后点击**导入**按钮。 - -keystore导入 - -+ 导入成功就进入新导入的钱包主页面,点击顶部右侧钱包头像可查看所有钱包账户列表。 - -导入成功 - -## 网络管理 - -默认情况下,Samurai 连接到PlatON主网,也可以连接到其他网络。 - -### 切换网络 - -Samurai默认添加了PlatON主网、PlatON开发测试网、ALAYA主网、ALAYA开发测试网,您可以选择连接的网络。 单击“网络”并从四个网络中选择一个网络进行连接。 - -选择网络 - -### 添加自定义网络 - -- 点击 **网络**-> **自定义RPC**。 - -选择自定义网络 - -- 进入新的网络配置界面,配置好表单后点击 **保存**。 - -配置自定义网络 - -- Samurai 会尝试连接节点,如果节点连接失败,会弹出相应的对话框提示。 - -自定义网络连接失败 - -- 如果连接成功,网络列表中会增加一个网络列表选项。 - -自定义网络连接成功 - -## 语言切换 - -+ 点击Samurai主页顶部右侧钱包头像,在显示的下拉菜单中点击**设置**。 - -设置 - -+ 进入设置主界面,然后点击**通用**-> 进入**当前语言**下拉框进行选择(支持多种语言)。 - -切换语言 - diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/community.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/community.md deleted file mode 100644 index 0d2c4ad795..0000000000 --- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/community.md +++ /dev/null @@ -1,171 +0,0 @@ ---- -id: community -title: 社区项目 -sidebar_label: 社区项目 ---- - -以下列出了基于 PlatON 区块链提供的分类项目列表,满足您相关使用和开发的工具需求。我们欢迎更多的社区成员参与进来,不断扩展 PlatON 的生态系统。 - -当前 LatticeX 基金会已经开放了[Grants 计划](https://latticex.foundation/grants),您可以通过 Grants 来贡献您的价值。 - -## 钱包 - - - - - - -
-

ATON

- ATON是PlatON Network的第一个安全易用的移动钱包。 -
- -## 区块链浏览器 - - - - - - -
-

PlatScan

- PlatScan是PlatON区块链资源管理与分析平台。 -
- -## 节点工具 - - - - - - -
-

PlatON MTool

- PlatON节点管理工具。 -
- -## 开发者论坛 - - - - - - -
-

LatticeX Forum

- PlatON开发者论坛。 需要相关解决方案帮忙? 想要提供反馈? 查看PlatON的开发者论坛! -
- -## 合作项目 - - - - - - -
-

Biteye

- Biteye是亚洲领先的Web3投研社区,通过社区驱动的方式输出优质的投研内容和数据分析工具。 -
- - - - - -
-

Band

- Band协议是跨链数据Oracle平台,将现实世界数据和API汇总并连接到智能合约。 -
- - - - - -
-

BOXTradEx

- BOXTradEx是Gamefi,Game Womenter和Guilds的一站式加密平台,为Web3提供了GameFi门户网站。 - 我们支持NFT API服务,加密交易所,NFT市场,钱包和公会DAO工具。 -
- - - - - -
-

StoneAeon

- Stone Aeon是一场在石器时代世界中发生的游戏。原始人聚集在这里。 - 所有项目和生物都基于用于数字化唯一内容的区块链的NFT。 - Stone Aeon的P2E功能将在游戏中获得乐趣时最大化玩家的产量。 - 分散的游戏计划保证了公平的游戏。 - 视觉效果和Stone Aeon的特征绝对是原始的。 -
- - - - - -
-

Celer

- Celer Network是领先的区块链跨链和跨层通信平台,致力于提供更好的区块链互操作性。 -
- - - - - -
-

Gitcoin

- Gitcoin是一个社区,开发人员可以合作和获利他们的技能通过赏金和赠款从事开源项目的工作。 -
- - - - - -
-

Coin98

- 一体化的DeFi平台。 -
- - - - - -
-

TofuNFT

- Tofunft.com是一个NFT市场,专注于Gamefi和Collectibles,从SCV的NFT市场重新命名。 -
- - - - - - - - - -
-

UBOX

- Meta-Universe世界中的第一个NFT版权认证市场和MEX(CEX+DEX)。 -
-

WinKrypto

- 亚太首家加密企业投后服务机构。 -
- - - - - -
-

NFTScan

- NFTScan 是一个多链 NFT 浏览器和 NFT 数据基础设施。 -
- - - - - -
-

Double Protocol

- 公用事业NFT的租赁协议。 -
diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/contributing.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/contributing.md index ad7d440dd4..9c48d47dc5 100644 --- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/contributing.md +++ b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/contributing.md @@ -28,19 +28,6 @@ PlatON 当前由225个验证节点共同维护,未来将扩展到上千个验 [关于如何运行节点的更多信息](https://devdocs.platon.network/docs/zh-CN/PlatON_Validation_Introduce) - -## 质押您的LAT - -通过将你的LAT委托给PlatON验证节点,你不但可以获得奖励,还能够帮助保护PlatON网络。 - - - -[关于质押LAT的更多信息](https://www.platon.network/stakeLat) - - - - - ## 代码编程 PlatON 作为开放的金融基础设施,项目非常庞大,不是简单的几个核心开发者就可以完成的,我们非常期望有更多的社区开发者一起编写和维护代码。但如果直接进入开发,可能会让人不知所措。因此,我们在大家可以帮助的功能或错误修复上使用 "需要帮助 "的标签,这是您开始参与贡献代码最好的切入点。 diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/index.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/index.md index 530a40d33e..cca3ecdacf 100644 --- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/index.md +++ b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/index.md @@ -13,9 +13,6 @@ PlatON由LatticeX基金会发起和推动,基于区块链的基本属性,以 ## 初步了解 -- [什么是LAT](/docs/zh-CN/lat_introduced)-在这里你可以全面了解到什么是LAT、LAT有什么作用,以及相关使用方式等 -- [质押&委托](/docs/zh-CN/staking_and_delegation) -- [ATON钱包](/docs/zh-CN/ATON-user-manual)-关于ATON钱包的各类操作,你都可以在这里找到相关说明 - 区块链浏览器 - [PlatScan](https://scan.platon.network/) - [PlatEye](/docs/zh-CN/PlatEye)-由社区主导开发的浏览器,并提供了API数据查询接口 @@ -59,7 +56,6 @@ PlatON由LatticeX基金会发起和推动,基于区块链的基本属性,以 ### 普通用户 - [大使计划](https://forum.latticex.foundation/t/topic/4246)-你可以作为大使为PlatON生态贡献力量 -- [质押&委托](/docs/zh-CN/staking_and_delegation)-介绍了什么是委托、什么是质押,以及相关收益问题 - 社区资源资源: - [Facebook](https://www.facebook.com/PlatONNetwork/) - [Twitter](https://twitter.com/PlatON_Network) diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\254\254\344\270\211\346\226\271\351\222\261\345\214\205.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\254\254\344\270\211\346\226\271\351\222\261\345\214\205.md" deleted file mode 100644 index 0b0ea2c6a1..0000000000 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\254\254\344\270\211\346\226\271\351\222\261\345\214\205.md" +++ /dev/null @@ -1,13 +0,0 @@ ---- -id: Third_Party_Walle -title: 第三方钱包 -sidebar_label: 第三方钱包 ---- - -ATON作为PlatON和Alaya网络的专有钱包,不支持多链且功能相对单一。因此我们希望社区能够提供更多可支持PlatON和Alaya网络,且功能丰富体验友好的第三方钱包。 - -下方是由社区维护并支持PlatON网络LAT存储和转账的第三方钱包,请充分研究其安全性后再使用,当前列出这些信息仅方便下载,并不代表对钱包使用的安全性负责。 - -- [COBO钱包](https://cobo.com/)-Cobo 钱包是一款专业的数字货币管理钱包,支持云端钱包和 HD 钱包,可以存储包含PlatON在内的40 多条公链数字货币资产。 -- [麦子插件钱包](https://blog.mathwallet.xyz/?p=5008)-麦子插件钱包支持了PlatON主网和开发网络,不仅可以支持资产管理,还可作为开发工具,同是还是Dapp应用生态入口。 -- [HashKey Me钱包](https://me.hashkey.com/)-HashKey Me钱包是一款去中心化身份钱包,使用MPC、阈值签名等技术,为用户提供简单安全的无感私钥使用体验,目前支持PlatON在内的多个主流公链数字资产。 diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\350\264\250\346\212\274&\345\247\224\346\211\230.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\350\264\250\346\212\274&\345\247\224\346\211\230.md" deleted file mode 100644 index d90fafcc40..0000000000 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\350\264\250\346\212\274&\345\247\224\346\211\230.md" +++ /dev/null @@ -1,65 +0,0 @@ ---- -id: staking_and_delegation -title: 质押&委托 -sidebar_label: 质押&委托 ---- - -## 什么是质押? - -在PlatON网络中,质押是节点通过锁定一定的LAT加入到PlatON网络的行为。PlatON采用的是[PPoS共识机制](/docs/zh-CN/Economic_Model#ppos%E5%85%B1%E8%AF%86)来选择验证节点,对加入到PlatON网络的节点将根据质押的LAT数量进行排名,每轮共识将从排名前225名节点中随机选择43名节点作为验证节点打包出块。 - -## 什么是委托? - -委托是持币人将LAT委托给某节点,间接参与网络共建的行为。委托可以提升网络的安全性,委托人在此过程中可获得一定奖励。 - -## 如何质押? - -使用Mtool工具可以快速发起质押操作,具体请参考[这里](https://platonnetwork.github.io/docs/zh-CN/Become_PlatON_Main_Verification#%E5%8F%91%E8%B5%B7%E8%B4%A8%E6%8A%BC%E6%93%8D%E4%BD%9C)。 - -## 如何委托? -使用ATON钱包可以简单完成委托操作,具体请参考[这里](/docs/zh-CN/ATON-user-manual#委托)。 - - -## 为什么要质押或者委托? - -Staking和是PlatON网络的核心功能,参与质押和委托的LAT比例越大,PlatON网络安全性越高。 - -节点被选为活跃中的验证节点主要根据验证节点本身质押LAT和委托人委托给节点的LAT的总质押排名来选择的,排名前225备选节点候选人才能成为活跃中的备选节点。 - -委托类似于选举,我们通过委托行使我们的投票权,来实现我们的共同期望,推选对网络发展支持更大的节点成为验证节点。更多委托人的参与能够制约验证节点防止他们出现不良行为,促进了PlatON生态的健康可持续发展以及不断提升PlatON价值。 - - -## 如何选择值得委托的验证节点? - -基于ATON钱包提供的信息,您可以通过以下几点来考察一个验证节点的情况 - -- **排名**:排名越高的节点,成为共识轮中出块验证节点的几率越高。 -- **预计年化收益率**:近4个结算周期每份额委托收益折合成的年化收益率,基于该数值可以预估委托收益情况。 -- **委托奖励比例**:节点所获奖励分配给委托者的比例,该比例越高,所有委托人获得总奖励越高。 -- **接受委托量**:当前验证节点接受到的委托LAT总数量,委托人委托的LAT在其中的占比越高,从所有委托人获得的总奖励中分配到个人的奖励就越高。 -- **处罚次数**:节点低出块率或者恶意双签都会被处罚,被处罚越多的节点越不值得信赖。 -- **社区声誉**:拥有越好社区声誉和名望的验证节点,越值得信赖和委托。 - -## 委托何时生效,委托后多久开始获得委托? - -委托的LAT在下个[结算周期](/docs/zh-CN/Economic_Model#platon%E4%B8%AD%E7%9A%84%E7%BB%8F%E6%B5%8E%E5%91%A8%E6%9C%9F)才开始生效(即进入锁定状态)。 - -当生效的委托完整锁定一个结算周期,且在委托的节点获得奖励的情况下,在该结算区块即可获得委托奖励。 - -委托的节点如果被强制退出,该节点名下的所有委托将失效,本结算周期及之后周期的委托将不会有委托奖励。 - -## 委托奖励如何计算? - -验证节点成为活跃中节点以及参与出块可获得奖励。对应奖励包含z质押奖励和出块奖励,并按照委托奖励比例分配给委托人。 -> -> 假设某验证节点的委托奖励比例为10%,某段时间获得出块奖励1000LAT和质押奖励2000LAT。以此计算,将有3000 LAT(出块奖励+质押奖励)参与奖励分配。 -> -> 所有委托人的总奖励:1000 \* 10%+2000\*10% = 300 LAT -> ->每个委托人根据其有效委托量占该验证节点总有效委托量的比例获取奖励。 -> ->假设某委托人委托LAT总量为1000,该验证节点总共获得了5000LAT委托。 -> ->则该委托人能获得的奖励为1000/5000\*300=60LAT - - diff --git a/website/sidebars.js b/website/sidebars.js index b23b136b0f..bfaa2ac846 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -4,7 +4,7 @@ module.exports = { { type: 'category', label: 'Basics', - items: [ 'lat_introduced', 'staking_and_delegation', 'Network_Description' ], + items: [ 'Network_Description' ], }, { type: 'category', @@ -129,16 +129,9 @@ module.exports = { { type: 'category', label: 'Wallet', - items: [ 'ATON-user-manual', 'Samurai_user_manual', 'Third_Party_Walle', 'Ledger-hardware-wallet', 'MetaMask', 'PlatON_wallet_plugin', 'PlatON_wallet_plugin_sdk', { - type: 'category', - label: 'PlaTrust Wallet', - items: [ - 'PlaTrust_Wallet', 'PlaTrust-wallet-js-sdk', 'PlaTrust-wallet-js-sdk-api' - ], - } ], + items: [ 'Ledger-hardware-wallet', 'MetaMask' ], }, - 'community', 'contributing', ], } diff --git a/website/sidebars.json b/website/sidebars.json index c3d9757c0e..5c40523e73 100644 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -4,8 +4,6 @@ "index" ], "Basics": [ - "lat_introduced", - "staking_and_delegation", "Network_Description" ], "Advanced": [ @@ -103,25 +101,8 @@ "PlatEye" ], "Wallet": [ - "ATON-user-manual", - "Samurai_user_manual", - "Third_Party_Walle", "Ledger-hardware-wallet", - "MetaMask", - "PlatON_wallet_plugin", - "PlatON_wallet_plugin_sdk", - { - "type": "category", - "label": "PlaTrust Wallet", - "items": [ - "PlaTrust_Wallet", - "PlaTrust-wallet-js-sdk", - "PlaTrust-wallet-js-sdk-api" - ] - } - ], - "community": [ - "community" + "MetaMask" ], "contributing": [ "contributing"