diff --git "a/docs/DApp\351\200\232\350\277\207WalletConnect\346\216\245\345\205\245ATON.md" "b/docs/DApp\351\200\232\350\277\207WalletConnect\346\216\245\345\205\245ATON.md"
index ed83082ec..797a9fb32 100644
--- "a/docs/DApp\351\200\232\350\277\207WalletConnect\346\216\245\345\205\245ATON.md"
+++ "b/docs/DApp\351\200\232\350\277\207WalletConnect\346\216\245\345\205\245ATON.md"
@@ -184,7 +184,7 @@ payload: {
event: "connect"
params: [
accounts: ['0xdc8c0f103dc8523c82d38064f746dda9fa28bf7f']
- chainId: 2206132
+ chainId: 20250407
peerId: "BC246E88-ACC0-4FD6-BF10-DEF314EF42BE"
peerMeta: {description: "hello,i'm Platon.", icons: Array(0), name: 'ATON', url: 'https://safe.gnosis.io'}
]
diff --git a/docs/MetaMask_Configure.md b/docs/MetaMask_Configure.md
index 79f37fb03..ae9960dbf 100644
--- a/docs/MetaMask_Configure.md
+++ b/docs/MetaMask_Configure.md
@@ -30,7 +30,7 @@ MetaMask makes operations such as transfer, signing, and contract interaction mo
> PlatON MainNet:https://scan.platon.network/
>
- > PlatON DevNet2: https://devnet2scan.platon.network/
+ > PlatON DevNet3: https://devnet3scan.platon.network/
>
> Alaya MainNet:https://scan.alaya.network/
>
@@ -139,14 +139,14 @@ Done! It is worth mentioning that only Hex addresses are supported on the mainne
### PlatON DevNet
-Similarly, you can add and configure the PlatON DevNet2 according to the following information:
+Similarly, you can add and configure the PlatON DevNet3 according to the following information:
```
Network Name: PlatON Dev2 Network
-New RPC URL: https://devnet2openapi.platon.network/rpc OR wss://devnet2openapi.platon.network/ws
-Chain ID:2206132
+New RPC URL: https://devnet3openapi.platon.network/rpc OR wss://devnet3openapi.platon.network/ws
+Chain ID:20250407
Currency Symbol:LAT
-Block Explorer URL: https://devnet2scan.platon.network/
+Block Explorer URL: https://devnet3scan.platon.network/
```
@@ -156,7 +156,7 @@ After the settings are saved, it will automatically jump to PlatON DevNet, and t
-Next, we can apply for test tokens on the PlatON DevNet faucet (https://devnet2faucet.platon.network/faucet) to test the transfer operation.
+Next, we can apply for test tokens on the PlatON DevNet faucet (https://devnet3faucet.platon.network/faucet) to test the transfer operation.
diff --git "a/docs/PlaTrust\351\222\261\345\214\205js-sdk\345\256\211\350\243\205\345\217\212\344\275\277\347\224\250\350\257\264\346\230\216.md" "b/docs/PlaTrust\351\222\261\345\214\205js-sdk\345\256\211\350\243\205\345\217\212\344\275\277\347\224\250\350\257\264\346\230\216.md"
index 4216c04d2..e3b0b2e09 100644
--- "a/docs/PlaTrust\351\222\261\345\214\205js-sdk\345\256\211\350\243\205\345\217\212\344\275\277\347\224\250\350\257\264\346\230\216.md"
+++ "b/docs/PlaTrust\351\222\261\345\214\205js-sdk\345\256\211\350\243\205\345\217\212\344\275\277\347\224\250\350\257\264\346\230\216.md"
@@ -72,7 +72,7 @@ async function main() {
);
const userOpHash = await activateOp.getUserOpHashFromContract(
relayerManagerAddr, //
EntryPoint Contract Address
- new ethers.providers.JsonRpcProvider( "https://devnet2openapi.platon.network/rpc"), // ethers.providers
+ new ethers.providers.JsonRpcProvider( "https://devnet3openapi.platon.network/rpc"), // ethers.providers
);
const signedHash = platrust.packSignatureHash(userOpHash, SignatureMode.owner, 0, 0);
const sig = platrust.signMessage(signedHash, pks[0])
@@ -83,7 +83,7 @@ async function main() {
const bundler = new walletLib.Bundler(
'0x0', // EntryPoint Contract Address
- new ethers.providers.JsonRpcProvider( "https://devnet2openapi.platon.network/rpc"), // ethers.providers
+ new ethers.providers.JsonRpcProvider( "https://devnet3openapi.platon.network/rpc"), // ethers.providers
);
const validation = await bundler.simulateValidation(activateOp);
@@ -112,7 +112,7 @@ main();
## PlatON Testnet Configuration
```javascript
-TestnetURL: 'https://devnet2openapi2.platon.network/rpc'
+TestnetURL: 'https://devnet3openapi2.platon.network/rpc'
bundleURL: 'https://testbundler.platon.network'
walletLogic: '0x3b682b956E65b5F5b8150f75F2235f156A8F4b7B'
diff --git a/docs/Samurai API.md b/docs/Samurai API.md
index a98c1008d..a22e84bd2 100644
--- a/docs/Samurai API.md
+++ b/docs/Samurai API.md
@@ -407,7 +407,7 @@ These are the IDs of the PlatON/Alaya chain supported by Samurai by default.
| Hexadecimal | Decimal | Network |
| ----------- | ------- | -------------- |
| 0x335f9 | 210425 | PlatON mainnet |
-| 0x21a9b4 | 2206132 | PlatON Devnet2 |
+| 0x21a9b4 | 20250407 | PlatON Devnet3 |
| 0x3113a | 201018 | Alaya network |
| 0x31146 | 201030 | Alaya testnet |
diff --git "a/docs/\345\234\250\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md" "b/docs/\345\234\250\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
index 58e2d77fa..cda7913af 100644
--- "a/docs/\345\234\250\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
+++ "b/docs/\345\234\250\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
@@ -122,8 +122,8 @@ There are differences in the use of environment variables for the PlatON MTool d
## PlatON MTool Command Details
> Note: The follow-up command is the command format under Ubuntu. Under Windows, you need to modify `$PLATON_MTOOLDIR` to `%PLATON_MTOOLDIR%`.
-> - Original Devnet1 (ChainID:210309) has been disabled, please change it to Devnet2 (ChainID:2206131) if needed.
-> - If you are connecting to the Development 2 network, you need to modify the domainid of the config.properties configuration file in the PlatON MTool installation directory to 2206131.
+> - Original Devnet1 (ChainID:210309) has been disabled, please change it to Devnet2 (ChainID:20250407) if needed.
+> - If you are connecting to the Development 2 network, you need to modify the domainid of the config.properties configuration file in the PlatON MTool installation directory to 20250407.
### Create A Wallet
diff --git "a/docs/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" "b/docs/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md"
index 90fc0c68e..1003405cf 100644
--- "a/docs/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md"
+++ "b/docs/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md"
@@ -50,11 +50,11 @@ ntpq -4c rv | grep leap_none
#### Install PlatON
-devnet2:
+devnet3:
```bash
-sudo wget https://download.platon.network/platon/devnet2/platon/1.5.0/platon -O /usr/bin/platon
-sudo wget https://download.platon.network/platon/devnet2/platon/1.4.0/platonkey -O /usr/bin/platonkey
+sudo wget https://download.platon.network/platon/devnet3/platon/1.5.0/platon -O /usr/bin/platon
+sudo wget https://download.platon.network/platon/devnet3/platon/1.4.0/platonkey -O /usr/bin/platonkey
```
Granting executable permissions to files
@@ -112,7 +112,7 @@ Two files will be generated in the subdirectory `data` under the working directo
## Join the PlatON development network
-The PlatON devnet2's Chainid is 2206132, which was launched on June 13, 2022.
+The PlatON devnet3's Chainid is 20250407, which was launched on June 13, 2022.
This section assumes that the server is Ubuntu 18.04, and the working directory of the executable file is `~/platon-node`. Note that all subsequent commands should be run under the same working directory.
@@ -126,20 +126,20 @@ The development network provides a development test environment for the develope
#### Develop network related resources
-> - platon: devnet2:https://download.platon.network/platon/devnet2/platon/1.5.0/platon
+> - platon: devnet3:https://download.platon.network/platon/devnet3/platon/1.5.0/platon
>
-> - platonkey: devnet2:https://download.platon.network/platon/devnet2/platon/1.4.0/platonkey
+> - platonkey: devnet3:https://download.platon.network/platon/devnet3/platon/1.4.0/platonkey
>
> - mtool windows:https://download.platon.network/platon/devnet/mtool/windows/1.1.1/platon_mtool.exe
>
> - mtool linux:https://download.platon.network/platon/devnet/mtool/linux/1.1.1/platon_mtool.zip
>
-> > You need to change the chain ID in the configuration file config.properties to the development network 2 chain ID: 2206132;
+> > You need to change the chain ID in the configuration file config.properties to the development network 2 chain ID: 20250407;
>
>
-> - Open the RPC URL: https://devnet2openapi.platon.network/rpc or wss://devnet2openapi.platon.network/ws
+> - Open the RPC URL: https://devnet3openapi.platon.network/rpc or wss://devnet3openapi.platon.network/ws
>
-> - development network 2 Scan Browser Address:https://devnet2scan.platon.network
+> - development network 2 Scan Browser Address:https://devnet3scan.platon.network
#### Initialize the genesis block
@@ -147,10 +147,10 @@ The development network provides a development test environment for the develope
Save the following to the genesis.json file:
-devnet2:
+devnet3:
```bash
-cd ~/platon-node && wget https://download.platon.network/platon/devnet2/platon/1.5.0/genesis.json
+cd ~/platon-node && wget https://download.platon.network/platon/devnet3/platon/1.5.0/genesis.json
```
- Initialize the genesis block file
@@ -169,10 +169,10 @@ cd ~/platon-node && wget https://download.platon.network/platon/devnet2/platon/1
Please refer to [Install node](/docs/en/Install_Node) section to create a nodekey: nodekey, blskey, and then execute the following command to start the verification node to join the PlatON development network;If you need to become a verification node, please apply for a large test LAT by following instructions (the development network will be reset irregularly according to the test needs, and the LAT of the develop network has no practical value).
-devnet2:
+devnet3:
```shell
-cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port 16789 --http.port 6789 --http.api "db,platon,net,web3,admin,personal" --http --nodekey ./data/nodekey --cbft.blskey ./data/blskey --verbosity 1 --http.addr 127.0.0.1 --bootnodes enode://4ea24accba3da480021bd8c9699e702d9bec0e5f3d7dd1a354697e83b67a4c275b3fb2a21a3be2438a3430fd4b8a9f97acf1c090c1ade599a619fedeac1fb730@devnet2node1.platon.network:16789 --syncmode "fast" > ./data/platon.log 2>&1 &
+cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port 16789 --http.port 6789 --http.api "db,platon,net,web3,admin,personal" --http --nodekey ./data/nodekey --cbft.blskey ./data/blskey --verbosity 1 --http.addr 127.0.0.1 --bootnodes enode://4ea24accba3da480021bd8c9699e702d9bec0e5f3d7dd1a354697e83b67a4c275b3fb2a21a3be2438a3430fd4b8a9f97acf1c090c1ade599a619fedeac1fb730@devnet3node1.platon.network:16789 --syncmode "fast" > ./data/platon.log 2>&1 &
```
**Prompt:**
@@ -364,7 +364,7 @@ Enter the password once and confirm the password again to create the wallet file
#### Update config.properties
-If you want to run mtool on the development network 2, change the chain ID in the config.properties file to 2206132;
+If you want to run mtool on the development network 2, change the chain ID in the config.properties file to 20250407;
#### Configure verification node information
diff --git "a/docs/\346\216\245\345\205\245\345\274\200\345\217\221\347\275\221.md" "b/docs/\346\216\245\345\205\245\345\274\200\345\217\221\347\275\221.md"
index d6600e373..bce145d2a 100644
--- "a/docs/\346\216\245\345\205\245\345\274\200\345\217\221\347\275\221.md"
+++ "b/docs/\346\216\245\345\205\245\345\274\200\345\217\221\347\275\221.md"
@@ -6,19 +6,19 @@ sidebar_label: Dev Network
This article will describe how to debug local applications by connecting to the PlatON DevNet(development Network).
-ChainId: 2206132
+ChainId: 20250407
openapi:
-https://devnet2openapi.platon.network/rpc or wss://devnet2openapi.platon.network/ws
+https://devnet3openapi.platon.network/rpc or wss://devnet3openapi.platon.network/ws
faucet:
-https://devnet2faucet.platon.network/faucet
+https://devnet3faucet.platon.network/faucet
explorer:
-https://devnet2scan.platon.network
+https://devnet3scan.platon.network
## How to access the dev network to debug local applications?
@@ -26,7 +26,7 @@ https://devnet2scan.platon.network
### **Step 1: Connect to the DevNet via RPC address**
```
-https://devnet2openapi.platon.network/rpc or wss://devnet2openapi.platon.network/ws
+https://devnet3openapi.platon.network/rpc or wss://devnet3openapi.platon.network/ws
```
#### Access method 1: Connect to the DevNet via the local PlatON node
@@ -36,34 +36,34 @@ sudo wget https://download.platon.network/platon/platon/1.5.0/platon -P /usr/bin
```
Connect to the development network by.
```bash
-platon attach https://devnet2openapi.platon.network/rpc
+platon attach https://devnet3openapi.platon.network/rpc
```
#### Access method 2: Connect to the PlatON DevNet through the SDKs
- Use the [Java SDK](/docs/en/Java_SDK) to connect to the DevNet, for example, as follows.
```java
-Web3j platonWeb3j = Web3j.build(new HttpService("https://devnet2openapi.platon.network/rpc"));
+Web3j platonWeb3j = Web3j.build(new HttpService("https://devnet3openapi.platon.network/rpc"));
```
- Use [Python SDK](/docs/en/Python_SDK) to access the DevNet, the example is as follows.
```python
-w3 = Web3(HTTPProvider("https://devnet2openapi.platon.network/rpc"))
+w3 = Web3(HTTPProvider("https://devnet3openapi.platon.network/rpc"))
```
- Use [JS SDK](/docs/en/JS_SDK) to access the DevNet, the example is as follows.
```js
var Web3 = require('web3');
-var web3 = new Web3('http://https://devnet2openapi.platon.network/rpc');
+var web3 = new Web3('http://https://devnet3openapi.platon.network/rpc');
```
- Using [JSON RPC](/docs/en/Json_Rpc) to access the DevNet, the example is as follows.
```curl
-curl -X POST -H 'content-type: application/json' --data '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params":[], "id":67}' https://devnet2openapi.platon.network/rpc
+curl -X POST -H 'content-type: application/json' --data '{"jsonrpc": "2.0", "method": "web3_clientVersion", "params":[], "id":67}' https://devnet3openapi.platon.network/rpc
```
Not limited to the above language SDKs, you also have access through SDKs in other languages.
### **Step 2: Apply for DevNet Test Token**
-Click [faucet](https://devnet2faucet.platon.network/faucet/) to receive the Test Token. If you have a large Test Token request, please send an email to support@latticex.foundation using the following format.
+Click [faucet](https://devnet3faucet.platon.network/faucet/) to receive the Test Token. If you have a large Test Token request, please send an email to support@latticex.foundation using the following format.
```
Title: PlatON Development Network Token Request
Your Name:
@@ -75,7 +75,7 @@ Click [faucet](https://devnet2faucet.platon.network/faucet/) to receive the Test
Remarks:
```
-After successfully accessing the DevNet, you can send transactions after completing the test Token collection to start your test journey and can check the transactions in [DevNet Browser](https://devnet2scan.platon.network).
+After successfully accessing the DevNet, you can send transactions after completing the test Token collection to start your test journey and can check the transactions in [DevNet Browser](https://devnet3scan.platon.network).
## How to deploy a devnet node?
diff --git "a/docs/\347\246\273\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md" "b/docs/\347\246\273\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
index 75893bcb6..ec33eedde 100644
--- "a/docs/\347\246\273\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
+++ "b/docs/\347\246\273\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
@@ -125,8 +125,8 @@ There are differences in the use of environment variables for the PlatON MTool d
## Detailed explanation of PlatON MTool wallet commands
> Note: The follow-up command is the command format under Ubuntu. Under Windows, you need to modify `$PLATON_MTOOLDIR` to `%PLATON_MTOOLDIR%`.
-> - Original Devnet1 (ChainID:210309) has been disabled, please change it to Devnet2 (ChainID:2206131) if needed.
-> - If you are connecting to the Development 2 network, you need to modify the domainid of the config.properties configuration file in the PlatON MTool installation directory to 2206131.
+> - Original Devnet1 (ChainID:210309) has been disabled, please change it to Devnet3 (ChainID:20250407) if needed.
+> - If you are connecting to the Development 2 network, you need to modify the domainid of the config.properties configuration file in the PlatON MTool installation directory to 20250407.
### Create a cold wallet
diff --git "a/docs/\347\275\221\347\273\234\350\257\264\346\230\216.md" "b/docs/\347\275\221\347\273\234\350\257\264\346\230\216.md"
index a52376936..4500a4668 100644
--- "a/docs/\347\275\221\347\273\234\350\257\264\346\230\216.md"
+++ "b/docs/\347\275\221\347\273\234\350\257\264\346\230\216.md"
@@ -26,9 +26,9 @@ If you want to connect to the development network as a validator, please refer t
If you need to use test LAT on the development network, you have to obtain it through the faucet at
-devnet1:Original Devnet1 (ChainID:210309) has been disabled, please change it to Devnet2 (ChainID:2206131) if needed.
+devnet1:Original Devnet1 (ChainID:210309) has been disabled, please change it to Devnet3 (ChainID:20250407) if needed.
-devnet2:https://devnet2faucet.platon.network/faucet/
+devnet3:https://devnet3faucet.platon.network/faucet/
> **Note**: LAT on the development network has no real value and is for testing only!
diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/DApp_Migration_Tutorial.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/DApp_Migration_Tutorial.md
index e10eb5153..62e179051 100644
--- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/DApp_Migration_Tutorial.md
+++ b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/DApp_Migration_Tutorial.md
@@ -16,7 +16,7 @@ sidebar_label: 以太坊DApp快速迁移教程
+ 账户地址格式:PlatON同时支持EIP55和Bech32地址格式。
-+ PlatON网络目前没有infrua类似的服务,目前对外提供了开发2网:https://devnet2openapi.platon.network/rpc 接口服务。
++ PlatON网络目前没有infrua类似的服务,目前对外提供了开发2网:https://devnet3openapi.platon.network/rpc 接口服务。
@@ -30,10 +30,10 @@ sidebar_label: 以太坊DApp快速迁移教程
```javascript
网络名称: PlatON开发测试网
- 新增RPC URL: https://devnet2openapi.platon.network/rpc
- 链ID: 2206132
+ 新增RPC URL: https://devnet3openapi.platon.network/rpc
+ 链ID: 20250407
符号(选填): LAT
- 区块浏览器URL(选填): https://devnet2scan.platon.network
+ 区块浏览器URL(选填): https://devnet3scan.platon.network
```
2. 根据下文的“uniswap合约迁移”章节迁移好DApp相关合约,部署到自己的PlatON测试网络。
@@ -180,7 +180,7 @@ initHash is at: 0x2d2546605b9f2d8c64755e6b9c29cc742d5f0b74bad6d7b8c188c2ccd0822f
RINKEBY = 4,
GÖRLI = 5,
KOVAN = 42
- PLATON = 2206132
+ PLATON = 20250407
}
```
@@ -209,7 +209,7 @@ initHash is at: 0x2d2546605b9f2d8c64755e6b9c29cc742d5f0b74bad6d7b8c188c2ccd0822f
```javascript
export const injected = new InjectedConnector({
- supportedChainIds: [1, 3, 4, 5, 42, 2206132]
+ supportedChainIds: [1, 3, 4, 5, 42, 20250407]
})
```
@@ -255,7 +255,7 @@ blockTimeStamp需要乘1000,因为PlatON开发测试网络的区块时间戳
#### uniswap迁移总结
-+ swap源代码及依赖库@uniswap/sdk增加PlatON网络配置,支持chainId为2206132的PlatON开发2测试网。
++ swap源代码及依赖库@uniswap/sdk增加PlatON网络配置,支持chainId为20250407的PlatON开发2测试网。
+ 修改业务相关的合约的依赖合约UniswapV2Library中的init code hash对应代码,然后部署业务相关的合约(uniswapV2Factory/WETH/uniswapV2Router/multicall),获取相关合约的地址(solidity版本需要注意的点)。
diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/DApp\351\200\232\350\277\207WalletConnect\346\216\245\345\205\245ATON.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/DApp\351\200\232\350\277\207WalletConnect\346\216\245\345\205\245ATON.md"
index 39731ab68..bfd5d9c91 100644
--- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/DApp\351\200\232\350\277\207WalletConnect\346\216\245\345\205\245ATON.md"
+++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/DApp\351\200\232\350\277\207WalletConnect\346\216\245\345\205\245ATON.md"
@@ -168,7 +168,7 @@ payload: {
event: "connect"
params: [
accounts: ['0xdc8c0f103dc8523c82d38064f746dda9fa28bf7f']
- chainId: 2206132
+ chainId: 20250407
peerId: "BC246E88-ACC0-4FD6-BF10-DEF314EF42BE"
peerMeta: {description: "hello,i'm Platon.", icons: Array(0), name: 'ATON', url: 'https://safe.gnosis.io'}
]
diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/MetaMask_Configure.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/MetaMask_Configure.md
index bc893cea8..985d8192a 100644
--- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/MetaMask_Configure.md
+++ b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/MetaMask_Configure.md
@@ -28,7 +28,7 @@ MetaMask作为目前市面上用户量最多,应用最广泛的浏览器插件
> PlatON MainNet:https://scan.platon.network/
>
- > PlatON DevNet2: https://devnet2scan.platon.network/
+ > PlatON DevNet3: https://devnet3scan.platon.network/
>
> Alaya MainNet:https://scan.alaya.network/
>
@@ -141,10 +141,10 @@ Block Explorer URL: https://scan.platon.network/
```
Network Name: PlatON Dev Network
-New RPC URL: https://devnet2openapi.platon.network/rpc OR wss://devnet2openapi.platon.network/ws
-Chain ID:2206132
+New RPC URL: https://devnet3openapi.platon.network/rpc OR wss://devnet3openapi.platon.network/ws
+Chain ID:20250407
Currency Symbol:LAT
-Block Explorer URL: https://devnet2scan.platon.network/
+Block Explorer URL: https://devnet3scan.platon.network/
```
@@ -154,7 +154,7 @@ Block Explorer URL: https://devnet2scan.platon.network/
-接着,我们可以在PlatON开发网水龙头(https://devnet2faucet.platon.network/faucet)上申请测试代币,测试一下转账操作。
+接着,我们可以在PlatON开发网水龙头(https://devnet3faucet.platon.network/faucet)上申请测试代币,测试一下转账操作。
diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlaTrust\351\222\261\345\214\205js-sdk\345\256\211\350\243\205\345\217\212\344\275\277\347\224\250\350\257\264\346\230\216.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlaTrust\351\222\261\345\214\205js-sdk\345\256\211\350\243\205\345\217\212\344\275\277\347\224\250\350\257\264\346\230\216.md"
index 8c2ee9bee..f7bf810fc 100644
--- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlaTrust\351\222\261\345\214\205js-sdk\345\256\211\350\243\205\345\217\212\344\275\277\347\224\250\350\257\264\346\230\216.md"
+++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/PlaTrust\351\222\261\345\214\205js-sdk\345\256\211\350\243\205\345\217\212\344\275\277\347\224\250\350\257\264\346\230\216.md"
@@ -73,7 +73,7 @@ async function main() {
);
const userOpHash = await activateOp.getUserOpHashFromContract(
relayerManagerAddr, // EntryPoint Contract Address
- new ethers.providers.JsonRpcProvider( "https://devnet2openapi.platon.network/rpc"), // ethers.providers
+ new ethers.providers.JsonRpcProvider( "https://devnet3openapi.platon.network/rpc"), // ethers.providers
);
const signedHash = platrust.packSignatureHash(userOpHash, SignatureMode.owner, 0, 0);
const sig = platrust.signMessage(signedHash, pks[0])
@@ -84,7 +84,7 @@ async function main() {
const bundler = new walletLib.Bundler(
'0x0', // EntryPoint Contract Address
- new ethers.providers.JsonRpcProvider( "https://devnet2openapi.platon.network/rpc"), // ethers.providers
+ new ethers.providers.JsonRpcProvider( "https://devnet3openapi.platon.network/rpc"), // ethers.providers
);
const validation = await bundler.simulateValidation(activateOp);
@@ -113,7 +113,7 @@ main();
## 开发测试网配置
```javascript
-测试链URL: 'https://devnet2openapi2.platon.network/rpc'
+测试链URL: 'https://devnet3openapi2.platon.network/rpc'
bundleURL: 'https://testbundler.platon.network'
walletLogic: '0x3b682b956E65b5F5b8150f75F2235f156A8F4b7B'
diff --git a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/Samurai API.md b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/Samurai API.md
index efe6765ca..90988c4ca 100644
--- a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/Samurai API.md
+++ b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/Samurai API.md
@@ -407,7 +407,7 @@ provider API提供创建完整功能的web3应用程序所需的全部接口。
| 十六进制 | 十进制 | 网络 |
| -------- | ------ | ---------------- |
| 0x335f9 | 210425 | PlatON主网 |
-| 0x21a9b4 | 2206132 | PlatON开发2测试网 |
+| 0x21a9b4 | 20250407 | PlatON开发2测试网 |
| 0x3113a | 201018 | Alaya网络 |
| 0x31146 | 201030 | Alaya开发测试网 |
diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\345\234\250\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\345\234\250\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
index 7a106ba47..6d577904e 100644
--- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\345\234\250\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
+++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\345\234\250\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
@@ -123,8 +123,8 @@ Windows和Ubuntu下PlatON MTool目录使用环境变量有所区别:
> **注意:**
>
> - 后续命令是Ubuntu下的命令格式,Windows下需要把`$PLATON_MTOOLDIR`修改成`%PLATON_MTOOLDIR%`;
-> - 原开发1网(ChainID:210309)已停用,如有需要请更换为开发2网(ChainID:2206131);
-> - 如果连接的是开发2网,需要修改PlatON MTool安装目录下的config.properties配置文件的chainid为2206131。
+> - 原开发1网(ChainID:210309)已停用,如有需要请更换为开发2网(ChainID:20250407);
+> - 如果连接的是开发2网,需要修改PlatON MTool安装目录下的config.properties配置文件的chainid为20250407。
### 创建钱包
diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md"
index 55dc5e688..719434a13 100644
--- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md"
+++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\210\220\344\270\272\345\274\200\345\217\221\347\275\221\351\252\214\350\257\201\350\212\202\347\202\271.md"
@@ -59,8 +59,8 @@ ntpq -4c rv | grep leap_none
开发2网:
```bash
-sudo wget https://download.platon.network/platon/devnet2/platon/1.5.0/platon -O /usr/bin/platon
-sudo wget https://download.platon.network/platon/devnet2/platon/1.4.0/platonkey -O /usr/bin/platonkey
+sudo wget https://download.platon.network/platon/devnet3/platon/1.5.0/platon -O /usr/bin/platon
+sudo wget https://download.platon.network/platon/devnet3/platon/1.4.0/platonkey -O /usr/bin/platonkey
```
为文件赋予可执行权限:
@@ -116,7 +116,7 @@ mkdir -p ~/platon-node/data && platonkey genblskeypair | tee >(grep "PrivateKey"
## 加入PlatON开发网络
-PlatON开发2网络于北京时间2022年6月13日上线,ChainID:2206132。
+PlatON开发2网络于北京时间2022年6月13日上线,ChainID:20250407。
### 准备
@@ -135,16 +135,16 @@ cd ~/platon-node
#### 开发网络相关资源
->- platon:2网:https://download.platon.network/platon/devnet2/platon/1.5.0/platon
->- platonkey:2网:https://download.platon.network/platon/devnet2/platon/1.4.0/platonkey
+>- platon:3网:https://download.platon.network/platon/devnet3/platon/1.5.0/platon
+>- platonkey:3网:https://download.platon.network/platon/devnet3/platon/1.4.0/platonkey
>- mtool windows:https://download.platon.network/platon/devnet/mtool/windows/1.1.1/platon_mtool.exe
>- mtool linux:https://download.platon.network/platon/devnet/mtool/linux/1.1.1/platon_mtool.zip
>
->> 需要修改配置文件config.properties中的链ID为开发2网络链ID:2206132
+>> 需要修改配置文件config.properties中的链ID为开发2网络链ID:20250407
>
->- 开放2网RPC URL:https://devnet2openapi.platon.network/rpc 或 wss://devnet2openapi.platon.network/ws
->- 开发2网scan浏览器地址:https://devnet2scan.platon.network
+>- 开放2网RPC URL:https://devnet3openapi.platon.network/rpc 或 wss://devnet3openapi.platon.network/ws
+>- 开发2网scan浏览器地址:https://devnet3scan.platon.network
@@ -157,7 +157,7 @@ cd ~/platon-node
开发2网:
```bash
-cd ~/platon-node && wget https://download.platon.network/platon/devnet2/platon/1.5.0/genesis.json
+cd ~/platon-node && wget https://download.platon.network/platon/devnet3/platon/1.5.0/genesis.json
```
- 初始化创世区块文件
@@ -181,7 +181,7 @@ cd ~/platon-node && wget https://download.platon.network/platon/devnet2/platon/1
开发2网示例:
```shell
-cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port 16789 --http.port 6789 --http.api "db,platon,net,web3,admin,personal" --http --nodekey ./data/nodekey --cbft.blskey ./data/blskey --verbosity 1 --http.addr 127.0.0.1 --bootnodes enode://4ea24accba3da480021bd8c9699e702d9bec0e5f3d7dd1a354697e83b67a4c275b3fb2a21a3be2438a3430fd4b8a9f97acf1c090c1ade599a619fedeac1fb730@devnet2node1.platon.network:16789 --syncmode "fast" > ./data/platon.log 2>&1 &
+cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port 16789 --http.port 6789 --http.api "db,platon,net,web3,admin,personal" --http --nodekey ./data/nodekey --cbft.blskey ./data/blskey --verbosity 1 --http.addr 127.0.0.1 --bootnodes enode://4ea24accba3da480021bd8c9699e702d9bec0e5f3d7dd1a354697e83b67a4c275b3fb2a21a3be2438a3430fd4b8a9f97acf1c090c1ade599a619fedeac1fb730@devnet3node1.platon.network:16789 --syncmode "fast" > ./data/platon.log 2>&1 &
```
@@ -380,7 +380,7 @@ platon_mtool account new reward
#### 修改config.properties
-> 提示若在开发网运行mtool,请修改配置文件config.properties中的链ID为开发2网络链ID:2206132。
+> 提示若在开发网运行mtool,请修改配置文件config.properties中的链ID为开发2网络链ID:20250407。
#### 配置验证节点信息
@@ -497,7 +497,7 @@ SUCCESS
-至此,您已成功质押,您可以使用浏览器查看您的节点信息,开发2网scan浏览器地址:https://devnet2scan.platon.network
+至此,您已成功质押,您可以使用浏览器查看您的节点信息,开发2网scan浏览器地址:https://devnet3scan.platon.network
在您运营节点的过程中,可能涉及节点的其他操作,更多的节点管理功能,请您点击下方链接查看MTool教程。
diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\216\245\345\205\245\345\274\200\345\217\221\347\275\221.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\216\245\345\205\245\345\274\200\345\217\221\347\275\221.md"
index 69cecd84e..2ca7b33ba 100644
--- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\216\245\345\205\245\345\274\200\345\217\221\347\275\221.md"
+++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\216\245\345\205\245\345\274\200\345\217\221\347\275\221.md"
@@ -8,23 +8,23 @@ sidebar_label: 开发网络
本文将介绍如何通过连接PlatON开发网来调试本地应用程序:
-ChainId: 2206132
+ChainId: 20250407
openapi地址:
```
-兼容Ethereum: https://devnet2openapi.platon.network/rpc 或 wss://devnet2openapi.platon.network/ws
+兼容Ethereum: https://devnet3openapi.platon.network/rpc 或 wss://devnet3openapi.platon.network/ws
-不兼容Ethereum: https://devnet2openapi2.platon.network/rpc
+不兼容Ethereum: https://devnet3openapi2.platon.network/rpc
```
水龙头地址:
-https://devnet2faucet.platon.network/faucet
+https://devnet3faucet.platon.network/faucet
浏览器:
-https://devnet2scan.platon.network
+https://devnet3scan.platon.network
## 如何接入开发网调试本地应用?
@@ -32,7 +32,7 @@ https://devnet2scan.platon.network
### **第一步:通过RPC地址接入开发网**
```
-https://devnet2openapi.platon.network/rpc 或 wss://devnet2openapi.platon.network/ws
+https://devnet3openapi.platon.network/rpc 或 wss://devnet3openapi.platon.network/ws
```
#### 接入方式一:通过本地PlatON节点接入开发网
@@ -40,40 +40,40 @@ https://devnet2openapi.platon.network/rpc 或 wss://devnet2openapi.platon.networ
在ubuntu18.04服务器上,通过以下命令下载并安装PlatON二进制文件:
```
-sudo wget https://download.platon.network/platon/devnet2/platon/1.5.0/platon -P /usr/bin
+sudo wget https://download.platon.network/platon/devnet3/platon/1.5.0/platon -P /usr/bin
```
通过以下方式连接入开发网:
```
-platon attach https://devnet2openapi.platon.network/rpc
+platon attach https://devnet3openapi.platon.network/rpc
```
#### 接入方式二:通过SDK连接入PlatON开发网
- 使用[Java SDK](/docs/zh-CN/Java_SDK)连接入开发网络,示例如下:
```
-Web3j platonWeb3j = Web3j.build(new HttpService("https://devnet2openapi.platon.network/rpc"));
+Web3j platonWeb3j = Web3j.build(new HttpService("https://devnet3openapi.platon.network/rpc"));
```
- 使用[Python SDK](/docs/zh-CN/Python_SDK)接入开发网,示例如下:
```
-w3 = Web3(HTTPProvider("https://devnet2openapi.platon.network/rpc"), chain_id=2206132)
+w3 = Web3(HTTPProvider("https://devnet3openapi.platon.network/rpc"), chain_id=20250407)
```
- 使用[JS SDK](/docs/zh-CN/JS_SDK)接入开发网,示例如下:
```
var Web3 = require('web3');
-var web3 = new Web3('https://devnet2openapi.platon.network/rpc');
+var web3 = new Web3('https://devnet3openapi.platon.network/rpc');
```
- 使用[JSON RPC](/docs/zh-CN/Json_Rpc)接入开发网,示例如下:
```
-curl -X POST -H 'content-type: application/json' --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' https://devnet2openapi.platon.network/rpc
+curl -X POST -H 'content-type: application/json' --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' https://devnet3openapi.platon.network/rpc
```
不局限于以上语言的SDK,你也通过其他语言的SDK接入。
### **第二步:在水龙头领取开发网测试Token**
-点击[水龙头](https://devnet2faucet.platon.network/faucet)领取测试Token。如果你有大额的测试Token需求,请用以下格式发送邮件到support@latticex.foundation:
+点击[水龙头](https://devnet3faucet.platon.network/faucet)领取测试Token。如果你有大额的测试Token需求,请用以下格式发送邮件到support@latticex.foundation:
```
标题:PlatON开发网Token申请
姓名:
@@ -85,7 +85,7 @@ curl -X POST -H 'content-type: application/json' --data '{"jsonrpc":"2.0","metho
备注:
```
-成功接入开发网后,完成测试Token领取后即可发送交易,开始你测试之旅,并可以在[开发网浏览器](https://devnet2scan.platon.network)查询的交易。
+成功接入开发网后,完成测试Token领取后即可发送交易,开始你测试之旅,并可以在[开发网浏览器](https://devnet3scan.platon.network)查询的交易。
## 如何部署开发网节点?
diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\246\273\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\246\273\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
index 931bfb9bd..15761ea01 100644
--- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\246\273\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
+++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\246\273\347\272\277PlatON MTool\344\275\277\347\224\250\346\211\213\345\206\214.md"
@@ -123,8 +123,8 @@ Windows和Ubuntu下PlatON MTool目录使用环境变量有所区别:
> **注意:**
>
> - 后续命令是Ubuntu下的命令格式,Windows下需要把`$PLATON_MTOOLDIR`修改成`%PLATON_MTOOLDIR%`;
-> - 原开发1网(ChainID:210309)已停用,如有需要请更换为开发2网(ChainID:2206131);
-> - 如果连接的是开发2网,需要修改PlatON MTool安装目录下的config.properties配置文件的chainid为2206131。
+> - 原开发1网(ChainID:210309)已停用,如有需要请更换为开发2网(ChainID:20250407);
+> - 如果连接的是开发2网,需要修改PlatON MTool安装目录下的config.properties配置文件的chainid为20250407。
### 创建冷钱包
diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\275\221\347\273\234\350\257\264\346\230\216.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\275\221\347\273\234\350\257\264\346\230\216.md"
index 942f233f0..d41f4e1c8 100644
--- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\275\221\347\273\234\350\257\264\346\230\216.md"
+++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\347\275\221\347\273\234\350\257\264\346\230\216.md"
@@ -27,9 +27,9 @@ PlatON开发网络和主网功能一致,在版本上可能超前于主网。
如果您有在开发网络上使用测试LAT的需求,您需要通过水龙头来领取,领取地址:
-开发1网:原开发1网(ChainID:210309)已停用,如有需要请更换为开发2网(ChainID:2206131)。
+开发1网:原开发1网(ChainID:210309)已停用,如有需要请更换为开发2网(ChainID:20250407)。
-开发2网:https://devnet2faucet.platon.network/faucet/
+开发2网:https://devnet3faucet.platon.network/faucet/
> **提示**:开发网络上的LAT没有实际价值,仅用于测试使用!