Skip to content

nklyy/ipc-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  1. Docker: Ensure Docker is installed on your server. You can download it from Docker's official website.
  2. Docker Compose: Ensure Docker Compose is installed. You can follow the installation instructions from Docker's official documentation.

Step-by-Step Guide

1. Clone the Repository

First, clone the repository that contains the IPC setup:

git clone https://github.com/nklyy/ipc-starter.git
cd ipc-starter

2. Run IPC-CLI

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

3. Fund the Addresses

  1. Copy the three addresses displayed in the IPC-CLI logs.
  2. Visit the faucet.
  3. Paste each address one by one and request funds.
  4. Wait until all addresses are funded.
  5. Wait until subnet will created and addresses will join to subnet
  6. After message: Initialization complete. Feel free to go next step.

4. Run Bootstrap

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.

5. Start Validator-1

Once the bootstrap process is complete, start the first validator:

docker compose up validator-1

Wait until you see the message Subnet is ready.

6. Start the Remaining Validators

Finally, start the remaining validators one by one:

docker compose up validator-2
docker compose up validator-3

Summary of Commands

# 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.

About

Deploy IPC subnet by using Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages