Skip to main content
This guide is for contributors who want to run the project locally for development. If you just want to use the sdk, check out the Quickstart guide.

Prerequisites

Before you begin, ensure you have the following installed:
Install Solana CLI using the Anza installer to avoid SSL/archive issues:

Clone Repository

Start Local Validator

Deploy Solana Program

In a new terminal:

Configure Server

Edit .env and fill in:
  • Resend API key (get one here)
  • Database credentials
  • Storacha keys
  • Admin keypair from script output

Start Development Servers

Get Test SOL

If the airdrop fails due to rate limits, wait a few seconds and retry.

Verify Installation

  1. Open http://localhost:3000
  2. Connect your wallet (make sure it’s on testnet)
  3. Try uploading a test file
If you can successfully upload a file, your local setup is complete!

Troubleshooting

  • Ensure you used the Anza installer
  • Remove old ledgers: rm -rf test-ledger
  • Set COPYFILE_DISABLE=true on macOS
  • Make sure your wallet is set to testnet/devnet
  • Check that the test validator is running
  • Verify you have SOL in your wallet
  • Ensure you have enough SOL for the transaction
  • Check that the Solana program is deployed
  • Verify the server is running