Skip to content

Commit 10f9352

Browse files
committed
Support identity in .soroban
1 parent d837684 commit 10f9352

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/soroban/models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ class Identity(BaseSettings):
3232
public_key: str | None = None
3333
keypair: Keypair | None = None
3434

35-
model_config = SettingsConfigDict(env_file="identity.toml")
35+
model_config = SettingsConfigDict(
36+
env_file=["identity.toml", ".soroban/identity.toml"]
37+
)
3638

3739
@model_validator(mode="after")
3840
def load_keys(self) -> "Identity":

0 commit comments

Comments
 (0)