MooPay Open MooPay

Testing

Run the tests and add your own.

Terminal
npm test
npx tsc -p tsconfig.json --noEmit

Tests use tsx --test and live in test/. They use fake NEAR and 1Click helpers from test/helpers.ts, so they run with no network and no money.

FileCovers
agent.test.tsTools, policy, staking, funding, keys.
service.test.tsPay intents and quotes.
claims.test.tsClaim flows.
guard.test.tsPage headers and limits.
addresses.test.tsAddress checks.
crypto.test.tsCrypto helpers.

Tests use fakes. Real wallets and mainnet are not covered, so try small real payments before you trust a change.

Need help? support@moopay.cash