feat: 重构 Lighter 策略,更新签名桥接路径,移除不必要的文件,添加新的签名库支持

This commit is contained in:
discountry
2025-10-03 01:51:55 +08:00
parent abb56b917a
commit b7cd6eed99
12 changed files with 268 additions and 1345 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ class StrOrErr(ctypes.Structure):
def _resolve_signer_path() -> str:
base = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
signers_dir = os.path.join(base, "docs", "lighter", "lighter-python-main", "lighter", "signers")
# Resolve to in-repo module location: src/exchanges/lighter/signers
signers_dir = os.path.join(base, "src", "exchanges", "lighter", "signers")
system = platform.system()
machine = platform.machine().lower()