Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 2.06 KB

README.md

File metadata and controls

40 lines (30 loc) · 2.06 KB

y3llow.xyz

A mix between the yellow pages and buymeacoffee but decentralized & powered by Astro & Ceramic.

Astro Hackathon 2022 submission for the Best project built with SSR category.

Open in Gitpod

Pre-requisites

  • node version installed >= 15.0.1
  • npm version installed >= 7.20.6
  • Metamask browser extension installed (required to interact with the blockchain)
  • Create a new Supabase project

Store the transactions in a PostgreSQL database & generate an API with Supabase

  • In your Supabase project, create a table named transactions with the following schema :
name data type format
id bigint int8
created_at timestamp with timezone timestampz
from character varying varchar
to character varying varchar
hash character varying varchar
explorer_link character varying varchar
amount character varying varchar
token_name character varying varchar
message text text
name text text

Environment variables

  • At the root of your project, copy the content of .env.dist in a new .env file
  • Add the env variables values

Get started

  • Install dependencies with npm install
  • Launch the project with npm run dev

Note: it is currently not possible to build and deploy this app to production due to an issue with the caip package on which multiple dependencies used in this project are using, which makes it impossible for vite to build for production. See this issue and this issue.