Prerequisites
This document outlines the common prerequisites for running Piri services. Specific services may have additional requirements noted in their respective guides.
System Requirements
Operating System
- Linux-based OS (Ubuntu 20.04+ recommended)
Hardware
- CPU: 4+ cores
- RAM: 8+ GB
- Storage: 1+ TB
- Network: 1+ Gbps symmetric connection
Software Requirements
Required Packages
Install the following packages:
Network Requirements
Domain
You'll need a domain, e.g. piri.example.com
Firewall Configuration
Ensure the following ports are open for ingress and egress:
80443
Filecoin Prerequisites
Lotus Node Setup
A Lotus node is required for interacting with the PDP Smart Contract. Use the correct network for your environment:
- Network: Mainnet
- Snapshot: Latest Mainnet Snapshot
- ETH RPC: Enable ETH RPC
- Endpoint:
wss://<your-mainnet-lotus>/rpc/v1
- Network: Calibration
- Snapshot: Latest Calibration Snapshot
- ETH RPC: Enable ETH RPC
- Endpoint:
wss://<your-calib-lotus>/rpc/v1
Funded Delegated Wallet
A Lotus Delegated Address is required by Piri for interacting with the PDP Smart Contract. This guide assumes you have already setup a lotus node as described 'Filecoin Prerequisite' above. Please refer to the official Filecoin Docs for more details on delegated addresses.
Step 1: Generate a Delegated Address
Example output: t410fzmmaqcn3j6jidbyrqqsvayejt6sskofwash6zoi
Step 2: Fund the Address
- Send mainnet FIL to your delegated address (from your preferred wallet/exchange).
- Verify funding:
- Visit the Calibration faucet
- Request funds for your new address
- Verify funding:
Next Steps
Once you've completed all prerequisites: