- Clone the repository.
git clone https://github.com/zer0dt/hodlocker.git
cd hodlocker
- Install dependencies using npm.
npm install
- Copy
env.example
toenv
and update the variables.
cp .env.example .env
- Change the DATABASE_URL to your postgres instance - free instance at https://supabase.com/
- Add your PUSHER details for notifications - free at https://pusher.com/
- Add a private key to fund anon posts and replies (10,000 sats ~ 5000 interactions)
- Add your mainnet TAAL api key from https://platform.taal.com/
- Sync your prisma client with the Supabase instance.
npx prisma db push
-
- Create an entry in your supabase instance in the "Tag" table with Name: BSV, FullName: Bitcoin
- Also create an entry in the "Bitcoiner" table with Handle: anon
-
Start the development server.
npm run dev