Detroit is an Ethereum simulation provider. It's based on Ganache.
Project name is inspired by Detroit: Become Human.
-
install redis
-
prepare an archive node of Ethereum
-
install dependencies
pnpm install
# 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=""
First, run the development server:
pnpm dev