Hi everyone.
I’ve just started to study about Interledger and am still struggling with some basics. Hope someone here can help!
I’ve managed to get a connector up and running by following Adrian’s tutorial Running your own ILP connector, but I’m facing issues when I try to connect with it from a moneyd instance running on my machine.
The local moneyd instance gets to comunicate with the remote connector, but is not abble to create a channel due to an undefined
destination:
info creating outgoing channel. from=r3EhvL6a9ADrtrwd5XMQZnnDmroR9urvw5 to=undefined amount=10
app error [ValidationError(instance.paymentChannelCreate requires property "destination")]
Appearently there’s something wrong in the connector configs, as I was abble to connect to a different connector (testnet.ilpnetwork.dev
) using similar moneyd config.
What am I missing?
Here is my current config:
DEBUG: 'ilp*,connector*',
CONNECTOR_ENV: 'production',
CONNECTOR_ADMIN_API: true,
CONNECTOR_ADMIN_API_PORT: 7700,
CONNECTOR_ILP_ADDRESS: 'g.swipetech',
CONNECTOR_BACKEND: 'one-to-one',
CONNECTOR_SPREAD: '0',
CONNECTOR_STORE: 'ilp-store-redis',
CONNECTOR_STORE_CONFIG: '{
"prefix": "connector",
"port": 6379
}',
CONNECTOR_ACCOUNTS: '{
"peer1": {
"relation": "peer",
"plugin": "ilp-plugin-xrp-paychan",
"assetCode": "XRP",
"assetScale": 9,
"balance": {
"maximum": "1000000000",
"settleThreshold": "-5000000000",
"settleTo": "0"
},
"options": {
"listener": {
"port": 7444,
"secret": "<RANDOM SECRET>"
},
"rippledServer": "wss://s.altnet.rippletest.net:51233",
"address": "r99HvXMMCYf8KApw14a71zJLMHkKZhfD5V",
"secret": "<MY XRP SECRET>"
}
},
"ilsp": {
"relation": "child",
"plugin": "ilp-plugin-xrp-asym-server",
"assetCode": "XRP",
"assetScale": 6,
"options": {
"port": 7443,
"xrpServer": "wss://s.altnet.rippletest.net:51233",
"address": "r99HvXMMCYf8KApw14a71zJLMHkKZhfD5V",
"secret": "snxeX5985xvuuK28nGBFGReeuHa8c"
}
}
}'