Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

crypto-com/thaler-ilp-settlement

Repository files navigation

CRO On-Ledger Settlement Engine

Settle Interledger payments using on-ledger CRO transfers

Prettier Apache 2.0 License

Install

npm install
npm run build

Run

DEBUG=settlement* npm start

Configuration

Optionally configure the settlement engine using these environment variables:

  • CRO_WALLET_NAME: The CRO wallet name
  • CRO_WALLET_PASSPHRASE: The CRO wallet passphrase
  • CLIENT_RPC_HOST: Hostname of the ClientRPC server.
  • CLIENT_RPC_PORT: Port of the ClientRPC server.
  • CONNECTOR_URL: URL of the connector's server dedicated to this settlement engine.
    • Default: http://localhost:7771
  • ENGINE_PORT: Port of the settlement engine server exposed to the connector (e.g. for triggering automated settlements).
    • Default: 3000
  • REDIS_URI: URI to communicate with Redis, typically in the format redis://[:PASSWORD@]HOST[:PORT][/DATABASE].
    • Default: 127.0.0.1:6379/1 (database index of 1 instead of 0)
    • Note: this settlement engine must use a unique Redis database index (or dedicated Redis instance) for security to prevent conflicting with the connector.
  • DEBUG: Pattern for printing debug logs. To view logs, settlement* is recommended.

About

Interledger CRO settlement engine (Proof of Concept)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published