jihchi / detroit

Home Page:detroit-chi.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detroit

Detroit is an Ethereum simulation provider. It's based on Ganache.

Project name is inspired by Detroit: Become Human.

Installation

  • install redis

  • prepare an archive node of Ethereum

  • install dependencies

pnpm install

Environment Variables

# Provide one url of archive node.
# Recommend to apply alchemyapi (https://www.alchemy.com/).
# ex: https://eth-mainnet.alchemyapi.io/v2/<YOUR_API_KEY>
CHAIN_URL=""
# Recommend to apply Redis Enterprise Cloud (https://redis.com/redis-enterprise-cloud/overview/).
REDIS_HOST=""
REDIS_PORT=""
REDIS_PASSWORD=""
REDIS_USERNAME=""
# 32-length password for session
SECRET_COOKIE_PASSWORD=""

Development

First, run the development server:

pnpm dev

About

detroit-chi.vercel.app

License:MIT License


Languages

Language:TypeScript 91.2%Language:CSS 7.7%Language:JavaScript 1.1%