mirror of
https://github.com/status-im/sn-api.git
synced 2026-08-27 15:51:16 +00:00
* add hoodi chain * linea_estimateGas calculation function * custom ethers Wallet provider for Linea chains * migrate Karma minting to Hoodi * linter fixes * use checksum user address * linting fixes * revert to lowercase address for user id
61 lines
1.3 KiB
Bash
61 lines
1.3 KiB
Bash
NODE_ENV=production
|
|
|
|
NODE_PORT=3001
|
|
NODE_HOST=0.0.0.0
|
|
|
|
# Host of the database
|
|
DB_HOST=pg
|
|
|
|
# Port of the db server, default is 5432 for psql
|
|
DB_PORT=5432
|
|
|
|
# Name of the database
|
|
DB_NAME=snapi
|
|
|
|
# The db we are using
|
|
DB_DIALECT=postgres
|
|
# Password of the user which owns the database
|
|
DB_PASSWORD=admin
|
|
# User which owns the database
|
|
DB_USER=postgres
|
|
|
|
IS_BEHIND_PROXY=false
|
|
NUM_PROXIES_TO_TRUST=1
|
|
|
|
COOKIE_SECRET=
|
|
COOKIE_DOMAIN=localhost
|
|
COOKIE_HTTP_ONLY=true
|
|
COOKIE_SECURE=false
|
|
COOKIE_NAME=snapilocal.sid
|
|
# "lax" | "strict" | "none" | undefined
|
|
COOKIE_SAME_SITE_POLICY=
|
|
|
|
SESSION_TABLE=session
|
|
|
|
SIGNATURE_EXPIRATION_SEC=30
|
|
SESSION_EXPIRATION_MSEC=43200000
|
|
|
|
# PoW Captcha challenge difficulty, values range [1 - 10]
|
|
CAPTCHA_CAP_DIFFICULTY=4
|
|
|
|
RPC_PROXY_URL=
|
|
RPC_PROXY_USERNAME=
|
|
RPC_PROXY_PASSWORD=
|
|
|
|
# PK of signer
|
|
PK_CHAIN_SIGNER=
|
|
|
|
# Contract addresses on Status Sepolia
|
|
SIMPLE_KARMA_DISTRIBUTOR_STATUS_SEPOLIA=
|
|
|
|
# Contract addresses on Status Hoodi
|
|
SIMPLE_KARMA_DISTRIBUTOR_STATUS_HOODI=0xDfcF9ec4A92c2Af67fE3D7E5d12d132b3FdD825e
|
|
|
|
# Admins of the Vault APY value
|
|
PREDEPOSIT_APY_OPERATORS=["0xD30373335C6d71499EE6CDcF832b5BcB731BAe8d","0xb71a06a1c801941f48181140232ecbf16623b28d"]
|
|
|
|
# Token price service data
|
|
TOKEN_PRICE_SERVICE_URL=
|
|
TOKEN_PRICE_SERVICE_USER=
|
|
TOKEN_PRICE_SERVICE_PASS=
|