Skip to content

feat(channels): add cash channels for Western Asian markets - #51

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

okjodom merged 3 commits into
minmoto:mainfrom
altradits:feat/cash-channels-western-asia

Conversation

@altradits

@altradits altradits commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Toward #29.

Adds built-in cash channels for Western Asia (UN M49: 145), covering all 18 sovereign markets and territories across the region and completing cash channel coverage for the entire Asian continent:

Western Asian Markets

  1. United Arab Emirates (AE / AED): UAE Dirham
  2. Armenia (AM / AMD): Armenian Dram
  3. Azerbaijan (AZ / AZN): Azerbaijani Manat
  4. Bahrain (BH / BHD): Bahraini Dinar
  5. Cyprus (CY / EUR): Euro
  6. Georgia (GE / GEL): Georgian Lari
  7. Israel (IL / ILS): Israeli New Shekel
  8. Iraq (IQ / IQD): Iraqi Dinar
  9. Jordan (JO / JOD): Jordanian Dinar
  10. Kuwait (KW / KWD): Kuwaiti Dinar
  11. Lebanon (LB / LBP): Lebanese Pound
  12. Oman (OM / OMR): Omani Rial
  13. State of Palestine (PS / ILS): Israeli New Shekel
  14. Qatar (QA / QAR): Qatari Riyal
  15. Saudi Arabia (SA / SAR): Saudi Riyal
  16. Syrian Arab Republic (SY / SYP): Syrian Pound
  17. Türkiye (TR / TRY): Turkish Lira
  18. Yemen (YE / YER): Yemeni Rial

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 channel conventions.
• 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 market discovery and regression test suite registry exposes built-in cash channels for Western Asian markets.
• Refreshed generated documentation and JSON registry via npm run docs:generate.

Authoritative Documentation & Primary Sources

• United Arab Emirates: Central Bank of the UAE https://www.centralbank.ae/ (Decretal Federal Law No. (14) of 2018, Art. 52).
• Armenia: Central Bank of Armenia https://www.cba.am/ (Law on the Central Bank of the Republic of Armenia, Art. 36).
• Azerbaijan: Central Bank of the Republic of Azerbaijan https://www.cbar.az/ (Law on the Central Bank of the Republic of Azerbaijan No. 782-IIQ, Art. 33).
• Bahrain: Central Bank of Bahrain https://www.cbb.gov.bh/ (CBB and Financial Institutions Law 2006, Art. 12).
• Cyprus: Central Bank of Cyprus https://www.centralbank.cy/ (Council Decision 2007/503/EC; CBC Laws 2002 to 2017; TFEU Art. 128).
• Georgia: National Bank of Georgia https://nbg.gov.ge/ (Organic Law of Georgia on the National Bank of Georgia No. 1676-IIs, Art. 34).
• Israel: Bank of Israel https://www.boi.org.il/ (Bank of Israel Law 5770-2010, Section 41).
• Iraq: Central Bank of Iraq https://cbi.iq/ (Central Bank of Iraq Law No. 56 of 2004, Section 30).
• Jordan: Central Bank of Jordan https://www.cbj.gov.jo/ (Central Bank of Jordan Law No. 23 of 1971, Art. 21).
• Kuwait: Central Bank of Kuwait https://www.cbk.gov.kw/ (Law No. 32 of 1968 Concerning Currency, Art. 3).
• Lebanon: Banque du Liban https://www.bdl.gov.lb/ (Code de la Monnaie et du Crédit, Decree No. 13513 of 1963, Art. 1 & 7).
• Oman: Central Bank of Oman https://cbo.gov.om/ (Banking Law of Oman, Royal Decree No. 114/2000, Art. 39).
• State of Palestine: Palestine Monetary Authority https://www.pma.ps/ (Paris Protocol 1994, Art. IV; Law No. (2) of 1997 on the PMA).
• Qatar: Qatar Central Bank https://www.qcb.gov.qa/ (Law No. (13) of 2012 on the QCB, Art. 59).
• Saudi Arabia: Saudi Central Bank https://www.sama.gov.sa/ (Saudi Central Bank Law, Royal Decree No. M/36 of 1442H, Art. 8).
• Syrian Arab Republic: Central Bank of Syria http://cb.gov.sy/ (Legislative Decree No. 23 of 2002, Art. 12).
• Türkiye: Central Bank of the Republic of Turkey https://www.tcmb.gov.tr/ (Law on the Central Bank of the Republic of Turkey No. 1211, Art. 36).
• Yemen: Central Bank of Yemen https://cby-ye.com/ (Central Bank of Yemen Law No. 14 of 2000, Art. 24).

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-western-asia branch from d73daaa to 1b53c27 Compare October 16, 2026 10:11
@okjodom
okjodom merged commit 67cacfa 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