<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Malahim</title>
    <description>The latest articles on DEV Community by Malahim (@iwrapperresult).</description>
    <link>https://dev.to/iwrapperresult</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4247891%2Fab37b347-4911-4673-85cc-004b6cdf3db8.jpg</url>
      <title>DEV Community: Malahim</title>
      <link>https://dev.to/iwrapperresult</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iwrapperresult"/>
    <language>en</language>
    <item>
      <title>How we built a Zero-Dependency, Air-Gapped SDK suite (Go, TypeScript, Python, Java) for Real-Time Financial Reconciliation</title>
      <dc:creator>Malahim</dc:creator>
      <pubDate>Mon, 16 Nov 2026 13:57:09 +0000</pubDate>
      <link>https://dev.to/iwrapperresult/how-we-built-a-zero-dependency-air-gapped-sdk-suite-go-typescript-python-java-for-real-time-ppa</link>
      <guid>https://dev.to/iwrapperresult/how-we-built-a-zero-dependency-air-gapped-sdk-suite-go-typescript-python-java-for-real-time-ppa</guid>
      <description>&lt;p&gt;In enterprise infrastructure—specifically across commercial banks, telecom operators, and payment switches—there is an invisible, multi-million dollar problem that standard web architecture completely fails to address: &lt;strong&gt;batch reconciliation lag&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When an operator processes 40 million micro-transactions a day across disparate ledgers (mobile money wallets, core banking databases like Temenos T24, and merchant POS gateways), systems inevitably desynchronize. &lt;/p&gt;

&lt;p&gt;Waiting for end-of-day batch jobs to detect these discrepancies means operating blind for 12 to 24 hours. By the time an anomaly is flagged, settlement drift has occurred, liquidity is locked, and duplicate payouts have already settled.&lt;/p&gt;

&lt;p&gt;To fix this, we built &lt;strong&gt;Omnesight&lt;/strong&gt;: a real-time, deterministic operational intelligence engine designed to intercept transaction drift in sub-15ms windows.&lt;/p&gt;

&lt;p&gt;Here is the engineering breakdown of how we designed our &lt;strong&gt;v1.2.0 multi-language SDK suite (Go, TypeScript, Python, Java)&lt;/strong&gt; to solve this problem—under two non-negotiable enterprise constraints: &lt;strong&gt;Zero External Dependencies&lt;/strong&gt; and &lt;strong&gt;100% Air-Gapped Deterministic Testing&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Core Engineering Constraint: Zero Dependencies
&lt;/h2&gt;

&lt;p&gt;If you are shipping a client library for a fintech startup building on Stripe, having 20 transitive npm dependencies is standard. &lt;/p&gt;

&lt;p&gt;If you are shipping an SDK to a Tier-1 Bank or a National Telecom Switch, &lt;strong&gt;every external dependency is an operational liability&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Third-party packages require security audits, SBOM validation, and SOC2 reviews.&lt;/li&gt;
&lt;li&gt;Dependency bloat introduces supply-chain vulnerabilities (from &lt;code&gt;left-pad&lt;/code&gt; regressions to critical CVEs like Log4j).&lt;/li&gt;
&lt;li&gt;Version conflicts between your SDK's dependencies and the host application's runtime can break production builds.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We applied a strict principle across our codebase: &lt;strong&gt;Standard Library First&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  In Go (&lt;code&gt;github.com/Omnesight/omnesight-go&lt;/code&gt;):
&lt;/h3&gt;

&lt;p&gt;The Go SDK has &lt;strong&gt;zero external dependencies&lt;/strong&gt;. We rely entirely on Go 1.21+ built-in packages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;net/http&lt;/code&gt; with custom transport reuse and connection pooling.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;context.Context&lt;/code&gt; for strict cancellation and deadline propagation.&lt;/li&gt;
&lt;li&gt;Exponential backoff with jitter natively implemented in under 30 lines.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;omnesight&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;NewClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"your-api-key"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;// Sub-15ms cross-ledger discrepancy scan&lt;/span&gt;
&lt;span class="n"&gt;discrepancies&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;err&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Reconciliation&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ScanDiscrepancies&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;omnesight&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ReconciliationRequest&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nc"&gt;SourceLedger&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sap-gl"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nc"&gt;TargetLedger&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"t24-core-banking"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;err&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="kc"&gt;nil&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Fatalf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Reconciliation error: %v"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;err&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  In TypeScript (&lt;code&gt;@omnesight/sdk&lt;/code&gt;):
&lt;/h3&gt;

&lt;p&gt;Instead of bundling &lt;code&gt;axios&lt;/code&gt;, &lt;code&gt;cross-fetch&lt;/code&gt;, or &lt;code&gt;lodash&lt;/code&gt;, our TypeScript SDK runs natively on runtime-native &lt;code&gt;fetch&lt;/code&gt;, targetting Node.js 18+, Bun, and Deno with zero runtime &lt;code&gt;node_modules&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Omnesight&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'@omnesight/sdk'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Omnesight&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;apiKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;OMNESIGHT_API_KEY&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;hackmalim&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;runEngine&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;engineType&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'forecast'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;modelId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'arima-v2'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;inputData&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;series&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mf"&gt;102.4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;104.1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;103.8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;106.2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  2. Solving the Bank's Dilemma: Air-Gapped Sandbox Testing
&lt;/h2&gt;

&lt;p&gt;The biggest hurdle when integrating mission-critical banking backends is &lt;strong&gt;data egress&lt;/strong&gt;. Security and risk teams will never allow an unvetted SDK to send sandbox API calls across public endpoints to validate an integration.&lt;/p&gt;

&lt;p&gt;To eliminate this friction, we built a &lt;strong&gt;deterministic, local-first Sandbox Engine directly inside the SDK binary&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When sandbox mode is enabled, the client intercepts all outgoing HTTP requests at the transport level. No socket connections are opened, no DNS requests are resolved, and no data packets ever leave the process memory:&lt;/p&gt;

</description>
      <category>go</category>
      <category>python</category>
      <category>typescript</category>
      <category>systemdesign</category>
    </item>
  </channel>
</rss>
