- Docker: Ensure Docker is installed on your server. You can download it from Docker's official website.
- Docker Compose: Ensure Docker Compose is installed. You can follow the installation instructions from Docker's official documentation.
First, clone the repository that contains the IPC setup:
git clone https://github.com/nklyy/ipc-starter.git
cd ipc-starter
Next, use Docker Compose to start the IPC-CLI:
docker compose up ipc-cli
Wait until you see the message:
For each address above go send some funds to it at the faucet at
- Copy the three addresses displayed in the IPC-CLI logs.
- Visit the faucet.
- Paste each address one by one and request funds.
- Wait until all addresses are funded.
- Wait until subnet will created and addresses will join to subnet
- After message:
Initialization complete
. Feel free to go next step.
Now, start the bootstrap process to pull all necessary libraries and dependencies:
docker compose up bootstrap
Wait until the process completes successfully and exits with a 0
code.
Once the bootstrap process is complete, start the first validator:
docker compose up validator-1
Wait until you see the message Subnet is ready
.
Finally, start the remaining validators one by one:
docker compose up validator-2
docker compose up validator-3
# Clone the repository
git clone https://github.com/nklyy/ipc-starter.git
cd ipc-starter
# Run IPC-CLI
docker compose up ipc-cli
# Fund addresses using the faucet
# (Visit the faucet link and fund the addresses displayed in IPC-CLI logs)
# Run bootstrap
docker compose up bootstrap
# Start Validator-1
docker compose up validator-1
# Start remaining validators
docker compose up validator-2
docker compose up validator-3
By following these steps, you should be able to set up IPC in a Docker environment successfully. If you encounter any issues, make sure to check the logs for error messages and ensure all prerequisites are met.