Skip to content

MyRxWallet/myrx-payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

MyRx Payment Rail

Proprietary healthcare payment infrastructure on Chain 8472 — HIPAA-compliant, blockchain-anchored, no third-party rails.

Chain 8472 SDK License

Overview

MyRx-Rail is the payment backbone of the MyRxWallet platform — replacing legacy clearinghouses (Surescripts, Change Healthcare, Stripe) with a HIPAA-compliant, blockchain-anchored payment rail built on Chain 8472.

Features

  • 15 transaction types — prescription fill, lab order, telehealth, co-pay, deductible, referral, CCM billing, prior auth, royalty, gas fee, etc.
  • 50/30/20 split — 50% treasury · 30% patient rewards · 20% DAO governance
  • Chain 8472 anchoring — every batch settled on-chain, immutable audit trail
  • MRT micro gas fees — infrastructure compensation (Howey-safe: Prongs 3 & 4 not satisfied)
  • HIPAA-compliant — AES-256-GCM field-level encryption on all PHI

API Endpoints

POST /rail/charge              — charge a transaction
POST /rail/transfer            — transfer between wallets
POST /rail/mint                — mint MRT tokens
POST /rail/settle/batch        — settle batch on-chain
GET  /rail/wallet/{addr}       — wallet balance
GET  /rail/wallet/by-patient/{pid}  — patient wallet
GET  /rail/transaction/{id}    — transaction detail
GET  /rail/transactions        — transaction list
GET  /rail/dashboard           — platform dashboard
GET  /rail/fee-schedule        — public fee schedule (no auth)
GET  /rail/health              — health check

Live: https://ehr.myrxwallet.io/rail/health

Fee Schedule (MRT)

Transaction Type Fee
Prescription fill 0.50 MRT
Lab order 1.00 MRT
Telehealth session 2.00 MRT
CCM monthly billing 0.25 MRT
Prior authorization 1.50 MRT
Data royalty distribution 0.10 MRT
NFT mint 0.50 MRT
Consent record 0.05 MRT

Fees are infrastructure compensation — not investment yield. Regulatory analysis: https://myrxwallet.io/compliance.html

MRT Token

Parameter Value
Token MRT (MyRxWallet Reward Token)
Chain Chain 8472
Contract (wMRT) 0x00e69754c21090d69D29a2abe3B6CF153D3F1dF7
Decimals 18
RPC https://rpc.myrxwallet.io

SDK

npm install @myrxwallet/sdk
const { MRTToken, Chain8472Provider } = require('@myrxwallet/sdk');

const mrt = new MRTToken();
const balance = await mrt.balanceOf('0xPatientWalletAddress');
const supply = await mrt.totalSupply();
const meta = await mrt.metadata();
// { name: 'Wrapped MRT', symbol: 'wMRT', decimals: 18, totalSupply: '...' }

Compliance

Standard Status
HIPAA Security Rule (45 CFR §164.312) AES-256-GCM encryption
21st Century Cures Act ONC (g)(10) — Inferno 317/317 PASS
DEA EPCS (21 CFR Part 1311) TOTP 2FA + immutable audit log
SEC Howey Test (MRT) Prongs 3 & 4 not satisfied
HITECH Act On-chain anchor = tamper-evident audit trail

Multi-Chain Bridge

MRT bridgeable across 5 networks:

Chain Chain ID
Base (primary hub) 8453
Arbitrum One 42161
Polygon 137
Ethereum 1
BNB Chain 56

Related Repos

Developer Portal

Register for API keys: https://myrxwallet.io/developer.html


MyRxWallet North America Corporation · CAGE: 9VNZ7 · UEI: RKYFJECN9GL3 myrxwallet.io · compliance

Apache 2.0 License

About

MyRx Payment Rail — Healthcare payment infrastructure on Chain 8472 | 15 tx types | MRT token | HIPAA-compliant | No Stripe/clearinghouse

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors