Skip to content

Rewrite SDK: replace CodaClient with mina-sdk#23

Merged
dkijania merged 2 commits intomasterfrom
dkijania/sdk-rewrite
Apr 4, 2026
Merged

Rewrite SDK: replace CodaClient with mina-sdk#23
dkijania merged 2 commits intomasterfrom
dkijania/sdk-rewrite

Conversation

@dkijania
Copy link
Copy Markdown
Member

@dkijania dkijania commented Apr 4, 2026

Complete rewrite of the Python client library:

  • Replace CodaClient.py with modern mina_sdk package (src layout)
  • Modern packaging with pyproject.toml (hatchling), drop setup.py
  • MinaDaemonClient with typed responses, retry logic, error handling
  • Currency class modernized (nanomina naming, comparisons, from_graphql)
  • Typed dataclasses: AccountData, DaemonStatus, BlockInfo, PeerInfo, etc.
  • GraphQL queries for: sync status, daemon status, network ID, accounts, best chain, peers, pooled commands, payments, delegations, snark worker
  • 38 unit tests with respx mocking
  • Copy current graphql_schema.json from monorepo
  • Usage examples and updated README

dkijania and others added 2 commits April 4, 2026 21:51
Complete rewrite of the Python client library:

- Replace CodaClient.py with modern mina_sdk package (src layout)
- Modern packaging with pyproject.toml (hatchling), drop setup.py
- MinaDaemonClient with typed responses, retry logic, error handling
- Currency class modernized (nanomina naming, comparisons, from_graphql)
- Typed dataclasses: AccountData, DaemonStatus, BlockInfo, PeerInfo, etc.
- GraphQL queries for: sync status, daemon status, network ID, accounts,
  best chain, peers, pooled commands, payments, delegations, snark worker
- 38 unit tests with respx mocking
- Copy current graphql_schema.json from monorepo
- Usage examples and updated README

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove old CircleCI config (tested Python 3.4-3.7, used JFrog)
- Add GitHub Actions CI: test on Python 3.10-3.13, lint with ruff, build package
- Tests run on all PRs and pushes to master/main

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dkijania dkijania merged commit 41e72e8 into master Apr 4, 2026
5 checks passed
@dkijania dkijania deleted the dkijania/sdk-rewrite branch April 4, 2026 19:59
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