feat(backend): complete modular monolith with ledger, fastapi and websocket

This commit is contained in:
Bot
2026-08-31 01:02:16 +08:00
parent 9f6ecf33f9
commit 30dc22a989
16 changed files with 706 additions and 17 deletions
+4 -1
View File
@@ -35,10 +35,13 @@ class Settings(BaseSettings):
ROBINHOOD_MAINNET_RPC: str = "https://rpc.chain.robinhood.com"
# 控制器合约地址 (由部署脚本生成)
CONTROLLER_ADDRESS: str = "0x0000000000000000000000000000000000000000"
CONTROLLER_ADDRESS: str = "0xc0E24E152771C588B21AEB654b30B1cBAf381c1a"
COLLATERAL_ADDRESS: str = "0xe776e957953EA69b7Eaa9d7d4098aBC076bDD5E7"
CURVE_ADDRESS: str = "0xF0E189974c413506098AFB6Bc6Bf4C6715fBf7B1"
class Config:
env_file = ".env"
case_sensitive = True
extra = "ignore"
settings = Settings()