一、在云服务器搭建后无法在本地浏览器前端页面访问
解决方法:启动链节点的命令改为:
./target/release/node-template --dev --unsafe-rpc-external --unsafe-ws-external --rpc-cors all --rpc-methods Unsafe
二、编译报错,需要在编译前替换为:
rustup install nightly-2020-10-06 rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06 export WASM_BUILD_TOOLCHAIN=nightly-2020-10-06