Skip to main content

Using the Web App

The fastest way to use Keep is through the web interface:
1

Connect Wallet

Visit storacha-sol.vercel.app and connect your Solana wallet (Phantom, Solflare, etc.)
2

Get Testnet SOL

If using testnet, get free SOL from the Solana Faucet
3

Upload Files

  • Select files to upload (single or multiple)
  • Choose storage duration (7, 30, 90, or custom days)
  • Optionally add your email for expiration reminders
4

Pay & Confirm

Review the cost estimate and sign the transaction with your wallet
Your files are now stored on decentralized storage! You can view them in the Upload History page.

Using the SDK

Install the SDK in your React app:
pnpm add storacha-sol
Basic usage example:
import { useUpload, Environment } from 'storacha-sol';
import { useWallet } from '@solana/wallet-adapter-react';

function UploadComponent() {
  const client = useUpload('testnet' as Environment);
  const { publicKey, signTransaction } = useWallet();
  
  const handleUpload = async (file, duration) => {
    const result = await client.createDeposit({
      file,
      durationDays: duration,
      payer: publicKey,
      signTransaction: async (tx) => {
        return await signTransaction(tx);
      },
    });
    
    if (result.success) {
      console.log('Upload successful!', result.cid);
    }
  };
  
  return (
    // Your upload UI
  );
}

SDK Documentation

Learn more about SDK features and API reference

Contributing

Want to contribute to Keep? Check out the Local Development Guide to set up the project on your machine.