用 CLI 运行本地测试网
从水龙头开始一个本地测试网
aptos node run-local-testnet --with-faucetCompleted generating configuration:
Log file: "/Users/greg/.aptos/testnet/validator.log"
Test dir: "/Users/greg/.aptos/testnet"
Aptos root key path: "/Users/greg/.aptos/testnet/mint.key"
Waypoint: 0:74c9d14285ec19e6bd15fbe851007ea8b66efbd772f613c191aa78721cadac25
ChainId: TESTING
REST API endpoint: 0.0.0.0:8080
Fullnode network: /ip4/0.0.0.0/tcp/6181
Aptos is running, press ctrl-c to exit
Faucet is running. Faucet endpoint: 0.0.0.0:8081用本地测试网进行测试
配置 Aptos CLI 来使用本地测试网
创建帐户并为帐户注资
将模块发布到本地测试网
重置本地状态
常见问题
提示地址已被使用该怎么办?
在哪里可以得到关于 run-local-testnet 命令的更多信息?
Last updated