1. 引言
Dusk系列博客有:
- Dusk network 生态图
- rkyv(archive)——Dusk network赞助的ZKP研究项目
- Dusk Network Daybreak上线前关键漏洞分析
Dusk Network定位为Layer-1支持隐私智能合约的区块链,主要技术点有:
- 1)采用PLONK方案实现交易隐私保护。
- 2)采用独特的PoS共识机制,可实现交易的快速固化。
- 3)RUSK:实现隐私智能合约。
2. Dusk Network DayBreak测试网初体验
通过testnet Dusk token faucet,可获得相应的测试token。
$ rusk-wallet --versionDusk Wallet CLI 0.7.0-rc.2$ rusk-wallet createUsing config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml> Your new wallet was created: /Users/lanyu/.dusk/lanyu.dat$ rusk-wallet address --key 05NETvTmXLDtVJYNzLwjSvUTSWuTqtVCJ6cZcfemaiHR9V8sbhE8m1zpUn8nCEs3rf8hKfpvNauexkeaXfPBdqk1P###通过faucet获得了testnet dusk token$ rusk-wallet balance --key 0Using config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml✔ Please enter wallet password: · [hidden]> Total balance for key 0 is: 571 Dusk> Maximum spendable per TX is: 571 Dusk###再创建一个账号$ rusk-wallet createUsing config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.tomlA wallet file with this name already exists$ rusk-wallet address --key 1Using config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml✔ Please enter wallet password: · [hidden]> JmtCyy9gvdxxZ3W74QDVfEnsebD8xdZ2ipEY1jAyC3KyK5ZcqLhRWWyXYs5w1QfiZ2cJcm5VxVdzoeJsGoLRmtE$ rusk-wallet balance --key 1Using config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml✔ Please enter wallet password: · [hidden]> Total balance for key 1 is: 0 Dusk> Maximum spendable per TX is: 0 Dusk$ rusk-wallet balance --key 0Using config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml✔ Please enter wallet password: · [hidden]> Total balance for key 0 is: 571 Dusk> Maximum spendable per TX is: 571 Dusk###匿名转账$ rusk-wallet transfer --key 0 --rcvr JmtCyy9gvdxxZ3W74QDVfEnsebD8xdZ2ipEY1jAyC3KyK5ZcqLhRWWyXYs5w1QfiZ2cJcm5VxVdzoeJsGoLRmtE --amt 11 Using config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml✔ Please enter wallet password: · [hidden]05517cdf9533441aac4a600d36df198227013604bb3bfc765cc8f974e8e4a109lanyudeMacBook-Pro-4:rusk-wallet lanyu$ rusk-wallet balance --key 0Using config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml✔ Please enter wallet password: · [hidden]> Total balance for key 0 is: 570.846551277 Dusk> Maximum spendable per TX is: 570.846551277 Dusk$ rusk-wallet balance --key 1Using config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml✔ Please enter wallet password: · [hidden]> Total balance for key 1 is: 0.000000011 Dusk> Maximum spendable per TX is: 0.000000011 Dusk$ rusk-wallet transfer --key 0 --rcvr JmtCyy9gvdxxZ3W74QDVfEnsebD8xdZ2ipEY1jAyC3KyK5ZcqLhRWWyXYs5w1QfiZ2cJcm5VxVdzoeJsGoLRmtE --amt 1000000000Using config from /Users/lanyu/zyd/dusk-repo/rusk/rusk-wallet/config.toml
根据Dusk explorer 可知相应的转账交易:
参考资料
[1] 2022年2月22日 And… we’re live! Dusk Network launches testnet DayBreak