Skip to content

PDP SP guided setup in Curio #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rjan90 opened this issue Feb 5, 2025 · 3 comments
Open

PDP SP guided setup in Curio #114

rjan90 opened this issue Feb 5, 2025 · 3 comments

Comments

@rjan90
Copy link
Contributor

rjan90 commented Feb 5, 2025

Done Criteria

A curio guided-setup providing an interactive CLI workflow for deploying a PDP-compatible Storage Provider.

Why Important

A guided setup reduces onboarding friction for new PDP Ss by abstracting away manual configuration steps. This accelerates PDP adoption and aligns with the parent issue’s goal of seamless integration.

User/Customer

  • Storage Providers (SPs) deploying PDP.

Notes

Example Command Flow:

curio guided-setup
Use the arrow keys to navigate: ↓ ↑ → ← 
? I want to:: 
    Migrate from existing Lotus-Miner
    Create a new miner
   ▸ Create a PDP SP

Then the Yugabyte info for Create a PDP SP:

? Enter the info to connect to your Yugabyte database installation (https://download.yugabyte.com/): 
    Host: 127.0.0.1
    Port: 5433
    Username: yugabyte
    Password: yugabyte
    Database: yugabyte
    ▸ Continue to connect and update schema.

Example of next step:

Initializing a new PDP SP.
Use the arrow keys to navigate: ↓ ↑ → ← 
? Enter the info to create a new PDP SP 
@rjan90 rjan90 moved this to 🐱 Todo in PDP Feb 5, 2025
@ZenGround0
Copy link
Contributor

Not sure if we want to include setting up a PDP Service private key and service name at this level. My guess would be no.

If we could simply avoid the step of creating a miner actor which is totally tangential then this would be a big win for comprehensible setup. And if there was some way to get the initial config ready for PDP, park pieces, pdp enabled, enter domain name etc, it would really make everything smooth.

@rjan90
Copy link
Contributor Author

rjan90 commented Feb 6, 2025

Not sure if we want to include setting up a PDP Service private key and service name at this level. My guess would be no.

Will ask more about this in our next sync. Think I agree that it is probably best to leave that out.

If we could simply avoid the step of creating a miner actor which is totally tangential then this would be a big win for comprehensible setup. And if there was some way to get the initial config ready for PDP, park pieces, pdp enabled, enter domain name etc, it would really make everything smooth.

Yeah, I think this is what I struggled with yesterday when trying to get things set up. Going through the create miner-actor, selecting sector size, etc, was a bit confusing when I was just trying to spin up only a PDP SP.

@ZenGround0 ZenGround0 added the launch Needed for first launch label Mar 10, 2025
@ZenGround0 ZenGround0 removed the status in PDP Mar 10, 2025
@rjan90 rjan90 moved this to 🐱 Todo in PDP Mar 26, 2025
@rjan90
Copy link
Contributor Author

rjan90 commented May 2, 2025

The work for this has started here: filecoin-project/curio#483

@rjan90 rjan90 mentioned this issue May 21, 2025
@rjan90 rjan90 removed the launch Needed for first launch label May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🐱 Todo
Development

No branches or pull requests

2 participants