CRO On-Ledger Settlement Engine
Settle Interledger payments using on-ledger CRO transfers
npm install npm run build
DEBUG=settlement* npm start
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.
ENGINE_PORT: Port of the settlement engine server exposed to the connector (e.g. for triggering automated settlements).
REDIS_URI: URI to communicate with Redis, typically in the format
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,