Skip to content

Releases: Jay-R91/COBOL_XRP

XRP COBOL Simulator v1.0 - Docker Ready

15 Jul 18:56
c465111

Choose a tag to compare

GnuCOBOL-based XRP transaction simulator. Features: Multi-transactions, logging, password security, precise cent arithmetic, file I/O persistence.

Why This App?
This simulator leverages GnuCOBOL's strengths for fast, reliable financial processing: cent-level precision to avoid rounding errors (using COMPUTE for arithmetic), efficient file I/O for balance persistence (sequential access with status checks), and structured sections for maintainable code. Ideal for COBOL developers learning crypto mocks or fintech hobbyists demoing XRP-like transfers without real blockchain risks. It's portable, demo-ready, and customizable—perfect for education, training, or integration.

Change Log (v1.0)

  • Initial release with core simulation: Read/write balance in cents from balance.dat (padded 7-digit string for speed).
  • Multi-transaction loop (PERFORM UNTIL for repeated sends until "N").
  • Basic password check (ACCEPT in MAIN-PROCEDURE).
  • Transaction logging to transactions.log (OPEN EXTEND with TRIM for clean entries).
  • Error handling: Invalid amounts (non-numeric via NUMVAL-C check), insufficient funds (cent comparison).

Quick Demo with Docker

  1. Install Docker: https://www.docker.com/products/docker-desktop/

  2. Run:

    docker pull jayr91/xrp-processor:latest
    docker run -it -v $(pwd):/app jayr91/xrp-processor

  • Password: "password123"
  • Enter sender/receiver/amount, "Y" to continue, "N" to exit.
  • Balance in balance.dat, logs in transactions.log (persisted locally with -v).

Local Build/Run

  1. Install GnuCOBOL: brew install gnu-cobol (macOS) or apt-get install gnucobol (Ubuntu).
  2. Compile: cobc -x XRPPRocessor.cbl
  3. Run: ./XRPPRocessor

Contact for customizations. Demo video: https://vimeo.com/1101635315?share=copy

Pricing and Licensing Options

  • Perpetual License (Sale): $199 one-time for source, Docker image, and unlimited personal use. Ideal for COBOL learning or XRP mocks.
  • Subscription Lease: $49/month for hosted SaaS access (email for setup—includes updates and support).
  • Commercial License: $499 for business use, customizations (e.g., real XRP API via CALL "system" to curl), or redistribution. Includes EULA.
    Contact m.proutjr@gmail.com for quotes or licenses. All options include precise cent processing (COMPUTE for arithmetic) and fast file I/O.