Introduction to Plasm: Plasm Network aims to provide a scalable, interoperable decentralized application platform - defined on top of a new network form Web 3.0.
Plasm deploys smart contracts (2) - nginx reverse-generation forwarding plasm node service
★★★Article link
Plasm Deployment Smart Contract (1) - Building Plasm Nodes
Plasm deploys smart contracts (2) - nginx reverse-generation forwarding plasm node service
Plasm deploys smart contracts (3) - configures the MetaMask-PRC network
Plasm deployment smart contract (4) - configure Remix and deploy the contract
1. Description
1. If you are configuring on a mac system, please skip this chapter
2. If you are installing a Plasm node on a cloud server, please continue
Note: The local of the installed Plasm node tcp service is 127.0.0.1, so we need nginx to forward 0.0.0.0 so that external clients can access it, and mac can directly access it locally with 127.0.0.1
2. Plasm node construction
Three, nginx configuration and installation
nginx configuration and installation
Fourth, configure nginx
(1) netstat -tunpl to view plasm node information
netstat -tunpl
(2) Enter the /etc/nginx/conf.d directory and create the plasm.conf file
cd /etc/nginx/conf.d
touch plasm.conf
vim plasm.conf
server {
listen 9900;
location / {
proxy_pass http://127.0.0.1:9933;
}
}
(3) Reset and start nginx
nginx -s reload #重新读取配置
nginx # 启动
# nginx -s stop 停止nginx