Skip to content

Support delegated account signers#175

Open
markuspluna wants to merge 1 commit into
mainfrom
codex/delegated-accounts
Open

Support delegated account signers#175
markuspluna wants to merge 1 commit into
mainfrom
codex/delegated-accounts

Conversation

@markuspluna

Copy link
Copy Markdown
Member

Summary

  • add DelegatedUser for authenticating and acting as a target account with a registered Ed25519 signer
  • emit additional signatures for auth, order creation, transfers, and close-position requests
  • keep replace/cancel account-bound and unsigned because OMS authorizes them with the bearer token
  • add an idempotent-friendly add_multisig_signer client method

Validation

  • ruff format tplus tests
  • ruff check tplus tests
  • mypy tplus
  • delegated create/replace/cancel request smoke check

Repository instructions reserve the pytest suite for CI/user runs; targeted coverage is included in this PR.

@github-actions

Copy link
Copy Markdown

⚠️ This PR modifies public interface files. Tag a new release after merging so downstream consumers (tplus-core) can pin to it.

Changed:

tplus/client/auth.py
tplus/client/orderbook.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant