Title: id: implement: pkgs/id currency client API — the §7 app-facing function surface from #2041 (gated on #2251 spec) · Issue #2803 · developing-today/code · GitHub
Open Graph Title: id: implement: pkgs/id currency client API — the §7 app-facing function surface from #2041 (gated on #2251 spec) · Issue #2803 · developing-today/code
X Title: id: implement: pkgs/id currency client API — the §7 app-facing function surface from #2041 (gated on #2251 spec) · Issue #2803 · developing-today/code
Description: From the #2041 investigation (token issuance in the ID graph) The landed investigation doc for #2041 (doc/2026-10-30T19-18-00Z_investigation_token_issuance_id_graph/, §7) fixes the semantic contract for the app-facing currency function s...
Open Graph Description: From the #2041 investigation (token issuance in the ID graph) The landed investigation doc for #2041 (doc/2026-10-30T19-18-00Z_investigation_token_issuance_id_graph/, §7) fixes the semantic contrac...
X Description: From the #2041 investigation (token issuance in the ID graph) The landed investigation doc for #2041 (doc/2026-10-30T19-18-00Z_investigation_token_issuance_id_graph/, §7) fixes the semantic contrac...
Opengraph URL: https://github.com/developing-today/code/issues/2803
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id: implement: pkgs/id currency client API — the §7 app-facing function surface from #2041 (gated on #2251 spec)","articleBody":"## From the #2041 investigation (token issuance in the ID graph)\n\nThe landed investigation doc for #2041 (`doc/2026-10-30T19-18-00Z_investigation_token_issuance_id_graph/`, §7) fixes the semantic contract for the app-facing currency function surface — one API across both bindings (graph-native and ledger-anchored):\n\n`define_currency` / `issue` / `award` / `pay` / `balance` / `supply` / `accept_payment` / `convert` / `snapshot`\n\nThis issue implements that surface as a client library in `pkgs/id`. **Gated on the #2251 spec**, which fixes the wire formats and the API signatures/error semantics this library implements — do not start implementation until #2251's spec has landed; the shape of this issue may need amending to match it.\n\n## Scope\n\n- Client-side library only: graph object construction/signing for the graph-native binding; gateway client (signed intents, persisted idempotency IDs per the #2066 boundary rules) for the ledger-anchored binding.\n- `accept_payment` handler registration with the §7 verification order (signature → unforked chain → funded → full currency identity), including the pending-hold hook the grant lifecycle spec hangs off.\n- NOT the currency service, gateway, or registry themselves (#2062 follow-ups F1–F5 own those), and no permanent feature built on an unreviewed PoC (program rule, epic #2056).\n\n## Acceptance criteria\n\n- [ ] Library implements the full §7 surface against #2251's specced signatures, for both bindings\n- [ ] Worked examples from the investigation (§8: issue 100 self-tokens to another ID; §9: game awards coins to a winner) run end-to-end against the library in tests or a demo harness\n- [ ] Idempotency discipline verified: a retried mutating call reuses its persisted ID and cannot double-issue/double-pay\n\n---\nProgram: ID platform expansion, epic #2056. Parent investigation: #2041. Gate: #2251 (object-format + API spec). Related: #2062 (control plane), #2066 (centralised exception), #2043 (currencies v1 synthesis).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-30T19:22:19Z","url":"https://github.com/developing-today/code/issues/2803"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4090b6fd-8f0b-43c5-4e57-3aa761f72c8f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 937C:2297AD:C8B3F6:1034849:6B063F9E |
| html-safe-nonce | 46aacb3012d352e1911e5725b37cdee059a236b300b4766a1afa58d7920104fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzdDOjIyOTdBRDpDOEIzRjY6MTAzNDg0OTo2QjA2M0Y5RSIsInZpc2l0b3JfaWQiOiIzMDU3MjM5MTA4NDIzNjYzNTE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 943cc39ee28c24bcab4d244b35be6007a53d8f020a14835dd16641d71ba5d2b9 |
| hovercard-subject-tag | issue:6125595416 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/2803/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d697d02034265378b4fed3bde9913583bf6c23e2d99d507ecd0098774a558fa9/developing-today/code/issues/2803 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d697d02034265378b4fed3bde9913583bf6c23e2d99d507ecd0098774a558fa9/developing-today/code/issues/2803 |
| og:image:alt | From the #2041 investigation (token issuance in the ID graph) The landed investigation doc for #2041 (doc/2026-10-30T19-18-00Z_investigation_token_issuance_id_graph/, §7) fixes the semantic contrac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ac613d3698d3d8565651455086e1f74da07bf277 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width