Launch a Subnet in 10 Minutes¶
Requirements¶
-
OS: Linux or Mac
-
docker and docker compose. For installation of docker compose please refer to: https://docs.docker.com/compose/install/linux/
-
Minimum Hardware Requirements:
-
Subnet Services:
- CPU: 4 Core
- Memory: 8 GB
- Storage: 32 GB
-
Subnet Blockchain (per single Subnet node):
- CPU: 2 Core
- Memory: 4 GB
- Storage: 50 GB per year (takes up more space as blokchain grows)
-
-
Web3 wallet with funds. For testing we have testnet faucets:
Video Walkthrough¶
Deploy Subnet With Subnet Deployment Wizard UI¶
-
Pull
start.sh
script from the generator Github repo and run. This will start a local webservercurl -O https://raw.githubusercontent.com/XinFinOrg/Subnet-Deployment/v2.0.0/container-manager/start.sh chmod +x start.sh ./start.sh
-
Go to http://localhost:5210/ in your browser.
If you are running this on a remote server.
- if this is running on your server, first use ssh tunnel:
ssh -N -L localhost:5210:localhost:5210 USERNAME@IP_ADDRESS -i SERVER_KEY_FILE
- if you are using VSCode Remote Explorer, ssh tunnel will be available by default -
Select one of the pre-defined configs or customize your Subnet.
-
Follow the UI to finish the deployment, you can also check the Status monitor of your containers:
- Start Subnet nodes
- Deploy cross-chain contracts
- Start Subnet services
-
Once successfully deployed, you can check out UI usage guide