[注意] 已发布最新1.3.0版本
- 运行开发环境
docker run -itd -p 22:22 --workdir=/root/contracts --name=amax-devnet1 hub500/amaxdevnet:1.3.0
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 8dffcf5633574b656dd5de06125ab014c90902ba811a4d9f5d07c6a76241c1a2
- 查看容器列表
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8dffcf563357 hub500/amaxdevnet:1.3.0 "/sbin/my_init" 6 seconds ago Up 5 seconds 0.0.0.0:22->22/tcp amax-devnet1
- 进入容器
docker exec -it amax-devnet1 /bin/bash
root@8dffcf563357:~/contracts#
- 查看 amax-cpp和amnod版本
amax-cpp --version
amax-cpp version 1.7.6
amnod --version
v0.5.2
- 操作结果如下图
- 安装 docker 插件
- 安装 remote 远程桌面
- 打开并进入 amax devnet 容程开发合约
- 下载测试合约源码压缩包
- 本地解压后 复制上传到窗器中
chmod +x ./build.sh
bash ./build.sh
- 【可选】安装Python 测试插件
python3 test_nftone_xdao.py
最终运行结果如下
完成本地开发环境及全流程的测试