Skip to content

feat(channels): add cash channels for Eastern African territories - #52

Merged
okjodom merged 3 commits into
minmoto:mainfrom
altradits:feat/cash-channels-african-territories
Oct 16, 2026
Merged

okjodom merged 3 commits into
minmoto:mainfrom
altradits:feat/cash-channels-african-territories

Conversation

@altradits

Copy link
Copy Markdown
Contributor

Summary

Toward #21.

Adds built-in cash channels for the remaining two ISO 3166-1 territories classified under the United Nations M49 Africa region (Sub-region 014: Eastern Africa), completing 100% full sovereign nation and non-sovereign territory cash channel coverage across the entire African continent (all 60 UN M49 entities):

Eastern African Territories

  1. British Indian Ocean Territory (IO / USD): United States Dollar
  2. French Southern Territories (TF / EUR): Euro

Implementation Details

• Uses canonical createCashPaymentChannel factory (schemaVersion: 2, automation: PaymentChannelAutomation.None, no collection fields, standard copy/display detail rows).
• Source layout follows src/channels/<country>/cash.ts per repository conventions (src/channels/io/cash.ts, src/channels/tf/cash.ts).
• Registered in src/channels/index.ts and re-exported from src/index.ts.
• Included in builtinPaymentChannels and validated against completeness checks in test/payment-channels.test.mjs.
• Added to the market discovery and regression test suite registry exposes built-in cash channels for East African markets.
• Refreshed generated documentation and JSON registry via npm run docs:generate.

Authoritative Documentation & Primary Sources

• British Indian Ocean Territory (IO): British Indian Ocean Territory Administration (Foreign, Commonwealth & Development Office) / U.S. Navy Support Facility Diego Garcia. While the legal currency in BIOT is historically pegged/commemorative British pounds, the sole practical circulating and legal currency for all base facilities, services, and transactions on Diego Garcia is the United States Dollar (USD). (BIOT Ordinance / US Naval Support Facility Diego Garcia regulations).
• French Southern Territories (TF): Terres australes et antarctiques françaises (TAAF) / Council Regulation (EC) No 974/98 / Treaty on the Functioning of the European Union (TFEU) Art. 128. Official legal tender and practical currency for scientific missions, bases, and administrative settlements across the islands is the Euro (EUR).

Verification

• npm run check (formatter, TypeScript typecheck, docs check, examples check, and 60/60 tests pass)
• npm pack --dry-run (clean tarball with runtime artifacts only)
• npm run verify:pack (verified on isolated ESM and CommonJS consumers)

@okjodom
okjodom force-pushed the feat/cash-channels-african-territories branch from 9ced778 to 12c6ed0 Compare October 16, 2026 10:13
@okjodom
okjodom merged commit 91421e9 into minmoto:main Oct 16, 2026
1 check passed
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.

2 participants