-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Blog] Release v0.2 * update local testnet and devnet * update multi-chain settlement * Add english version * fix typo
- Loading branch information
Showing
9 changed files
with
405 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
--- | ||
title: Rooch v0.2 release, launching developer testnet | ||
description: "Rooch v0.2 has been released, featuring AccountAbstraction, introducing a Dashboard, and launching a developer testnet" | ||
author: jolestar | ||
category: News | ||
date: 2023/10/18 | ||
--- | ||
|
||
import PostHeader from "/components/blog/postHeader"; | ||
|
||
<PostHeader /> | ||
|
||
Rooch v0.2 has been released, featuring AccountAbstraction, introducing a Dashboard, and launching a developer testnet. This is part of Rooch's third milestone called "Rooting." | ||
|
||
## Key Features of Rooch v0.2 | ||
|
||
Main features of this release include: | ||
|
||
### Rooch Command Line and Nodes | ||
|
||
1. Improved local configuration files and private key management. Added functionality to recover private keys through mnemonics and enhanced local private key security. Future upgrades will ensure client configuration file compatibility. | ||
2. Implemented storage for states, transactions, and events. | ||
|
||
### AccountAbstraction | ||
|
||
* Introduced `AuthenticationAbstraction`, allowing third parties to develop `Authentication Validator` to extend signature validation or social logins. | ||
* Implemented `SessionKey`. These temporary private keys can sign transactions and are stored within the app rather than the wallet. This avoids the need for wallet signatures with every operation, enhancing user experience. | ||
|
||
For a detailed design on Rooch AccountAbstraction, refer to: [Design and Implementation of Account Abstraction](../docs/dive-into-rooch/account-abstraction.en-US.mdx). | ||
|
||
### Ethereum Support | ||
|
||
* Rooch Move Framework now support Ethereum address mapping and Ethereum signature verification. | ||
* Improved Rooch's Ethereum RPC API and enhanced support for MetaMask. | ||
* Launched Rooch Ethereum Relayer and Move Ethereum light client prototype to synchronize Ethereum block headers' timestamps to Rooch. | ||
|
||
### Bitcoin Support | ||
|
||
* Rooch Move Framework now support Bitcoin address mapping and Bitcoin signature verification. | ||
* Provide Schnorr signature validation in Move. | ||
|
||
### Advanced Multi-chain Settlement Solutions | ||
|
||
* [Multi-chain Settlement](../tech-highlights/multi-chain-settlement.en-US.mdx) | ||
* [Multi-chain settlement by L2-Myth or Reality](./multi-chain_settlement_by_layer2-myth_or_Reality.en-US.mdx) | ||
|
||
### Move Standard Library, Framework and Virtual Machine | ||
|
||
* Enabled publishing Move modules in Move: [account_storage::publish_modules_entry](https://github.com/rooch-network/rooch/blob/7fd6418dff1aa7e40cae9e8eede375b776bbb771/moveos/moveos-stdlib/moveos-stdlib/sources/account_storage.move#L224). | ||
* Implemented [Coin](https://github.com/rooch-network/rooch/blob/main/crates/rooch-framework/sources/coin.move), [CoinStore](https://github.com/rooch-network/rooch/blob/main/crates/rooch-framework/sources/coin_store.move), and [account_coin_store](https://github.com/rooch-network/rooch/blob/main/crates/rooch-framework/sources/account_coin_store.move). To further understand Rooch's Coin standards, refer to [examples/coins](https://github.com/rooch-network/rooch/tree/main/examples/coins). | ||
* Introduced Gas billing and GasToken. | ||
* Introduced [Event](https://github.com/rooch-network/rooch/blob/main/moveos/moveos-stdlib/moveos-stdlib/sources/event.move) standards. | ||
* Improved [Object](../docs/developer-guids/object.en-US.mdx) and [StorageAbstraction](../docs/dive-into-rooch/storage-abstraction.en-US.mdx) designs. | ||
|
||
### JSON RPC and SDK | ||
|
||
This version standardizes RPC API outputs and inputs, promising future RPC API compatibility. | ||
|
||
* Offered transaction query and traversal API: `rooch_getTransactionsByHash`, `rooch_getTransactionsByOrder`. | ||
* Offered state query and traversal API: `rooch_getStates`, `rooch_listStates`. | ||
* Offered event traversal API: `rooch_getEventsByEventHandle`. | ||
* Introduced balance query and traversal API: `rooch_getBalance`, `rooch_getBalances`. | ||
* Released [Rooch Typescript SDK](https://www.npmjs.com/package/@roochnetwork/sdk). | ||
|
||
For currently supported API, see: [Rooch JSON RPC](../docs/developer-guids/rpc.en-US.mdx). | ||
|
||
### Rooch Dashboard | ||
|
||
The Rooch Dashboard is a web application based on Rooch JSON RPC, providing state and transaction queries, and account setting management features. More features will be added in the future. | ||
Visit: [https://dashboard.rooch.network/](https://dashboard.rooch.network/). | ||
|
||
Users can operate the Dashboard through MetaMask. Instructions available at: [Rooch Dashboard User Guide](../docs/user-guides/dashboard.en-US.mdx). | ||
|
||
### Developer Testnet | ||
|
||
Developer Network Information: | ||
|
||
1. Name: dev | ||
2. ChainID: 20230103 | ||
3. RPC: https://dev-seed.rooch.network/ | ||
|
||
For guidance on using the developer testnet, refer to: [Connecting to Developer Testnet](../docs/developer-guides/connect-devnet.en-US.mdx). | ||
|
||
## Next Steps | ||
|
||
Rooch's primary objectives moving forward: | ||
|
||
1. Connect to the DA chain, allowing Rooch to initiate Move applications' sovereign Rollup. | ||
2. Launch the official testnet, providing a stable testing environment for developers to deploy apps and for users to try out. | ||
3. Achieve asset interoperability with Ethereum, allowing users to deposit ETH/ERC20 assets into Rooch. | ||
4. Realize data interoperability with Bitcoin, enabling developers to process and verify Bitcoin transactions on Rooch using Move. | ||
|
||
For more, stay tuned to: [Rooch v0.3 Roadmap](https://github.com/rooch-network/rooch/issues/1000). | ||
|
||
|
||
## Rooch Milestones | ||
|
||
Before the launch of the mainnet, Rooch has five milestones. We have named these milestones via the stages of plant growth, aiming for Rooch to grow from a seed to a towering tree, becoming the infrastructure for Web3. | ||
|
||
### Seeding -- 2023 Q1 | ||
|
||
Complete technical design and team formation. | ||
|
||
### Sprouting -- 2023 Q2 | ||
|
||
Release the first preview version of Rooch Container, providing basic developer tools for building applications on Rooch. | ||
|
||
### Rooting -- 2023 Q3 | ||
|
||
Connect to different L1 public chains and DA chains, providing support for multi-chain settlement. Release a stable version of the Move Framework. Run a public developer test network. | ||
|
||
### Branching -- 2023 Q4 | ||
|
||
Collaborate with ecosystem teams to build frameworks and Layer2 infrastructure, providing app-specific containers and storage solutions. Run a permanent incentive test network. | ||
|
||
### Strengthening -- 2024 Q1 | ||
|
||
Enhance security and optimize performance. Run a pre-main network. | ||
|
||
### Foliage -- 2024 Q1 | ||
|
||
Numerous applications thrive on the Rooch network. Run the mainnet. | ||
|
||
## Conclusion | ||
|
||
Rooch's milestones are driven by application scenarios, focusing on the experience of developers and users. The goal is to expand the boundaries of Web3 applications and explore the possibilities of mass adoption. To learn more and try Rooch, please refer to the [Getting Started](../docs/getting-started.en-US.mdx) documentation. | ||
For more detailed information on Rooch v0.2, please refer to the [Rooch v0.2 release notes](https://github.com/rooch-network/rooch/releases/tag/v0.2.1). We would like to thank the over ten developers who have contributed to Rooch so far. If you want to learn more and get involved in Rooch, please join the [Rooch Discord](https://discord.gg/rooch). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
--- | ||
title: Rooch v0.2 发布,启动开发者测试网 | ||
description: "Rooch v0.2 发布,实现账户抽象,提供 Dashboard,启动开发者测试网。" | ||
author: jolestar | ||
category: News | ||
date: 2023/10/18 | ||
--- | ||
|
||
import PostHeader from "/components/blog/postHeader"; | ||
|
||
<PostHeader /> | ||
|
||
Rooch v0.2 发布,实现账户抽象,提供 Dashboard,启动开发者测试网。这是 Rooch 第三个里程碑"生根 (Rooting)"的一部分。 | ||
|
||
## Rooch v0.2 的关键特性 | ||
|
||
这个版本主要提供了以下主要特性: | ||
|
||
### Rooch 命令行以及节点 | ||
|
||
1. 改进了本地配置文件以及私钥管理,提供了通过助记词恢复私钥的功能以及本地私钥的安全保护。未来升级会保证客户端配置文件的兼容性。 | ||
2. 实现了状态,交易以及事件的存储。 | ||
|
||
### 账户抽象 | ||
|
||
* 实现了身份验证抽象,允许第三方开发身份验证器来扩展签名验证或者社交登陆。 | ||
* 实现了会话私钥。会话私钥是一种临时的私钥,它可以用来签名交易,但保存在应用中,而不是钱包中,避免用户每次操作都需要通过钱包签名,从而提高用户体验。 | ||
|
||
关于 Rooch 账户抽象的详细设计请参看:[账户抽象的设计与实现](../docs/dive-into-rooch/account-abstraction.zh-CN.mdx)。 | ||
|
||
### Ethereum 支持 | ||
|
||
* RoochFramework 中支持 Ethereum 地址映射,以及 Ethereum 签名校验。 | ||
* 改进 Rooch 的 Ethereum RPC 接口,完善了对 MetaMask 的支持。 | ||
* 实现了 Rooch Ethereum Relayer,以及 Move 语言的 Ethereum 轻客户端原型,可以将 Ethereum 区块头中的时间戳同步到 Rooch 中。 | ||
|
||
### Bitcoin 支持 | ||
|
||
* 合约中支持 Bitcoin 地址映射,以及 Bitcoin 签名校验。 | ||
* 合约中支持 Schnorr 签名验证。 | ||
|
||
### 完善多链结算的方案 | ||
|
||
* [多链结算](../tech-highlights/multi-chain-settlement.zh-CN.mdx) | ||
* [二层网络实现多链结算-神话还是现实](./multi-chain_settlement_by_layer2-myth_or_Reality.zh-CN.mdx) | ||
|
||
### Move 标准库以及虚拟机 | ||
|
||
* 实现了在 Move 中发布 Move 模块:[account_storage::publish_modules_entry](https://github.com/rooch-network/rooch/blob/7fd6418dff1aa7e40cae9e8eede375b776bbb771/moveos/moveos-stdlib/moveos-stdlib/sources/account_storage.move#L224)。 | ||
* 实现了 [Coin](https://github.com/rooch-network/rooch/blob/main/crates/rooch-framework/sources/coin.move), [CoinStore](https://github.com/rooch-network/rooch/blob/main/crates/rooch-framework/sources/coin_store.move) 以及 [account_coin_store](https://github.com/rooch-network/rooch/blob/main/crates/rooch-framework/sources/account_coin_store.move)。想进一步了解 Rooch 的 Coin 标准,可以参考 [examples/coins](https://github.com/rooch-network/rooch/tree/main/examples/coins)。 | ||
* 实现了 Gas 计费以及 GasToken。 | ||
* 实现了 [Event](https://github.com/rooch-network/rooch/blob/main/moveos/moveos-stdlib/moveos-stdlib/sources/event.move) 标准。 | ||
* 改进了 [Object](../docs/developer-guids/object.zh-CN.mdx) 以及 [StorageAbstraction](../docs/dive-into-rooch/storage-abstraction.zh-CN.mdx) 的设计。 | ||
|
||
|
||
### JSON RPC 以及 SDK | ||
|
||
这个版本标准化了 RPC 接口的输出和输入,未来将保证 RPC 接口的兼容性。 | ||
|
||
* 提供交易的查询与遍历接口:`rooch_getTransactionsByHash`,`rooch_getTransactionsByOrder`。 | ||
* 提供状态的查询与遍历接口:`rooch_getStates`,`rooch_listStates`。 | ||
* 提供事件的遍历接口:`rooch_getEventsByEventHandle`。 | ||
* 提供了余额查询与遍历接口:`rooch_getBalance`,`rooch_getBalances`。 | ||
* 发布了 [Rooch Typescript SDK](https://www.npmjs.com/package/@roochnetwork/sdk)。 | ||
|
||
|
||
Rooch 当前支持的接口请参看:[Rooch JSON RPC](../docs/developer-guids/rpc.zh-CN.mdx)。 | ||
|
||
|
||
### Rooch Dashboard | ||
|
||
Rooch Dashboard 是一个基于 Rooch JSON RPC 的 Web 应用,提供状态和交易查询,账户设置管理能功能,未来会增加新的功能。 | ||
访问地址:[https://dashboard.rooch.network/](https://dashboard.rooch.network/)。 | ||
|
||
用户可以通过 MetaMask 操作 Dashboard,使用说明请参看:[Rooch Dashboard 使用说明](../docs/user-guides/dashboard.zh-CN.mdx)。 | ||
|
||
### 开发者测试网 | ||
|
||
开发者网络信息 | ||
|
||
1. 名称: dev | ||
2. ChainID: 20230103 | ||
3. RPC: https://dev-seed.rooch.network/ | ||
|
||
如何使用开发者测试网,请参考文档:[连接开发者测试网络](../docs/developer-guides/connect-devnet.zh-CN.mdx) | ||
|
||
## 下一步的目标 | ||
|
||
下一步,Rooch 的主要目标: | ||
|
||
1. 连接到 DA 链,可以让 Rooch 可以用来启动 Move 应用的主权 Rollup。 | ||
2. 启动正式测试网络,提供一个稳定的测试环境,让开发者可以在上面部署应用,让用户试用。 | ||
3. 实现和 Ethereum 的资产互通,用户可以将 ETH/ERC20 的资产充值到 Rooch 中。 | ||
4. 实现和 Bitcoin 的数据互通,开发者可以在 Rooch 上用 Move 处理和校验 Bitcoin 交易。 | ||
|
||
更多请关注:[Rooch v0.3 Roadmap](https://github.com/rooch-network/rooch/issues/1000) | ||
|
||
## Rooch 里程碑 | ||
|
||
Rooch 在主网启动之前一共有五个里程碑。我们用植物的生长过程来命名这些里程碑,希望 Rooch 能够像植物一样,从种子到参天大树,成为 Web3 的基础设施。 | ||
|
||
### 播种 (Seeding) -- 2023 Q1 | ||
|
||
完成技术方案设计和团队组建。 | ||
|
||
### 萌芽|Sprouting -- 2023 Q2 | ||
|
||
发布第一个 Rooch 容器预览版本,提供基本的开发者工具,让开发者可以基于 Rooch 容器进行开发。 | ||
|
||
### 生根 (Rooting) -- 2023 Q3 | ||
|
||
连接到不同的 L1 公链,以及 DA 链,提供多链结算的支持。发布 Move Framework 稳定版。运行公开的开发者测试网。 | ||
|
||
### 开枝 (Branching) -- 2023 Q4 | ||
|
||
和生态团队一起共建 Framework 以及 Layer2 基础设施,提供 App 专用容器以及存储方案。运行永久激励测试网(incentive test network)。 | ||
|
||
### 固本 (Strengthening) -- 2024 Q1 | ||
|
||
安全加固以及性能优化,运行预备主网(pre-main network)。 | ||
|
||
### 散叶 (Foliage) -- 2024 Q1 | ||
|
||
各种应用在 Rooch 网络中成长起来,运行主网。 | ||
|
||
## 总结 | ||
|
||
Rooch 的里程碑遵循应用场景驱动的原则,以开发者和用户的使用体验为中心,尝试拓展 Web3 应用的边界,探索 Web3 大规模采用落地的可能。想了解并试用 Rooch,请参看文档:[新手入门](../docs/getting-started.zh-US.mdx)。 | ||
Rooch v0.2 详细的发布说明请参看:[Rooch v0.2.1](https://github.com/rooch-network/rooch/releases/tag/v0.2.1)。感谢参与贡献的十多位开发者,如果想进一步了解和参与 Rooch,请加入 [Rooch Discord](https://discord.gg/rooch)。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
docs/website/pages/docs/developer-guides/connect-devnet.en-US.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Connect to Developer Test Network | ||
|
||
After initializing with `rooch init`, the `dev` environment is activated by default. | ||
|
||
You can use the command `rooch env list` to view the list of environments in the configuration: | ||
|
||
```bash | ||
rooch env list | ||
``` | ||
```text | ||
Env Alias | RPC URL | Websocket URL | Active Env | ||
--------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
local | http://0.0.0.0:50051 | Null | | ||
dev | https://dev-seed.rooch.network:443/ | Null | True | ||
``` | ||
|
||
If the active environment is not `dev`, you can switch to the Developer Network by running the command `rooch env switch --alias dev`. | ||
|
||
## Developer Network Information | ||
|
||
1. Name: dev | ||
2. ChainID: 20230103 | ||
3. RPC: https://dev-seed.rooch.network/ | ||
|
||
Note: The Developer Testnet automatically updates to the `main` branch of the [Rooch GitHub repository](https://github.com/rooch-network/rooch). If the latest version includes incompatible data changes, the test data will be cleared automatically. | ||
|
||
## Deploying the Example Contract | ||
|
||
Currently, the Developer Testnet automatically assigns `GasCoin` to developers, allowing them to deploy contracts directly through commands. | ||
|
||
```bash | ||
git clone https://github.com/rooch-network/rooch.git | ||
cd rooch | ||
rooch move publish -p ./examples/counter --sender-account default --named-addresses rooch_examples=default | ||
``` | ||
|
||
## Calling RPC with curl | ||
|
||
```bash | ||
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"rooch_getChainID","params":[],"id":1}' https://dev-seed.rooch.network | ||
``` | ||
```json | ||
{"jsonrpc":"2.0","result":"20230103","id":1} | ||
``` | ||
|
||
If you prefer a convenient local development environment, you can also [run a local test network](./run-local-testnet.en-US.mdx). |
46 changes: 46 additions & 0 deletions
46
docs/website/pages/docs/developer-guides/connect-devnet.zh-CN.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# 连接开发者测试网络 | ||
|
||
开发者通过 `rooch init` 初始化后,默认激活的是 `dev` 环境。 | ||
|
||
通过命令 `rooch env list` 可以查看配置中的环境列表: | ||
|
||
```bash | ||
rooch env list | ||
``` | ||
```text | ||
Env Alias | RPC URL | Websocket URL | Active Env | ||
--------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
local | http://0.0.0.0:50051 | Null | | ||
dev | https://dev-seed.rooch.network:443/ | Null | True | ||
``` | ||
|
||
如果激活的环境不是 `dev` ,可以通过 `rooch env switch --alias dev` 切换到开发者网络。 | ||
|
||
## 开发者网络信息 | ||
|
||
1. 名称: dev | ||
2. ChainID: 20230103 | ||
3. RPC: https://dev-seed.rooch.network/ | ||
|
||
注意:开发者测试网会自动更新到 [rooch GitHub 仓库](https://github.com/rooch-network/rooch)的 `main` 分支,如果最新版本有数据不兼容变更,则会自动清空数据。 | ||
|
||
## 部署 Example 合约 | ||
|
||
当前,开发者测试网会自动给开发者分配 `GasCoin`,开发者可直接通过命令部署合约。 | ||
|
||
```bash | ||
git clone https://github.com/rooch-network/rooch.git | ||
cd rooch | ||
rooch move publish -p ./examples/counter --sender-account default --named-addresses rooch_examples=default | ||
``` | ||
|
||
## 通过 curl 调用 RPC | ||
|
||
```bash | ||
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"rooch_getChainID","params":[],"id":1}' https://dev-seed.rooch.network | ||
``` | ||
```json | ||
{"jsonrpc":"2.0","result":"20230103","id":1} | ||
``` | ||
|
||
如果开发者想要一个方便本地开发的环境,也可以[运行本地测试网络](./run-local-testnet.zh-CN.mdx)。 |
Oops, something went wrong.