testdata: add static address and swaps sessions

This commit is contained in:
Boris Nagaev 2026-02-03 00:58:09 -05:00
parent 662f954e0f
commit 7683da65ff
No known key found for this signature in database
45 changed files with 3614 additions and 0 deletions

View file

@ -0,0 +1,62 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"deposited"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 304503708,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "DEPOSITED",
"outpoints": []
}
}
},
{
"time_ms": 303,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": []
}
}
},
{
"time_ms": 304,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": []\n",
"}\n"
]
}
},
{
"time_ms": 304,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,82 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"withdrawing"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 210052149,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "WITHDRAWING",
"outpoints": []
}
}
},
{
"time_ms": 209,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "u38FDfC3w+H+YQEOEK1F4w3fes0wH6bgWi3bgltcLvs=",
"state": "WITHDRAWING",
"outpoint": "56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0",
"value": "500000",
"confirmation_height": "160",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 209,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": [\n",
" {\n",
" \"blocks_until_expiry\": \"14395\",\n",
" \"confirmation_height\": \"160\",\n",
" \"id\": \"bb7f050df0b7c3e1fe61010e10ad45e30ddf7acd301fa6e05a2ddb825b5c2efb\",\n",
" \"outpoint\": \"56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0\",\n",
" \"state\": \"WITHDRAWING\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 210,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,136 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"withdrawn"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 271219039,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "WITHDRAWN",
"outpoints": []
}
}
},
{
"time_ms": 269,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "aCYqEEyewyXea+w3uOMb2HW70vXwuc4togzwvWNvxEg=",
"state": "WITHDRAWN",
"outpoint": "edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0",
"value": "500000",
"confirmation_height": "125",
"blocks_until_expiry": "14360",
"swap_hash": ""
},
{
"id": "hrXizflpTI5zmOQq/eEJdm180hQiA5Bbpj+9DrE3DvM=",
"state": "WITHDRAWN",
"outpoint": "bb358e4f73ae97c4e2d99c6d64e852bba7cf56e13105b05d1200b8ae1796665e:0",
"value": "500000",
"confirmation_height": "127",
"blocks_until_expiry": "14362",
"swap_hash": ""
},
{
"id": "bCkPdTbqUJeUav/6xqaZBqJtd1gj67rO3+by1pwHReQ=",
"state": "WITHDRAWN",
"outpoint": "5eaa7dd7a291665393eddf5dece91feef901f22665933cce7a0732a9b81c3001:0",
"value": "500000",
"confirmation_height": "128",
"blocks_until_expiry": "14363",
"swap_hash": ""
},
{
"id": "AYK02JWxxGcpCue1xsQv92sqQiWAepQhHJcxcNWog+s=",
"state": "WITHDRAWN",
"outpoint": "7e6360d6e6a394cfd096adf0bfe1275c5a83541eb573e90e463a78dc715f8894:0",
"value": "500000",
"confirmation_height": "142",
"blocks_until_expiry": "14377",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 269,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": [\n",
" {\n",
" \"blocks_until_expiry\": \"14360\",\n",
" \"confirmation_height\": \"125\",\n",
" \"id\": \"68262a104c9ec325de6bec37b8e31bd875bbd2f5f0b9ce2da20cf0bd636fc448\",\n",
" \"outpoint\": \"edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0\",\n",
" \"state\": \"WITHDRAWN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" },\n",
" {\n",
" \"blocks_until_expiry\": \"14362\",\n",
" \"confirmation_height\": \"127\",\n",
" \"id\": \"86b5e2cdf9694c8e7398e42afde109766d7cd2142203905ba63fbd0eb1370ef3\",\n",
" \"outpoint\": \"bb358e4f73ae97c4e2d99c6d64e852bba7cf56e13105b05d1200b8ae1796665e:0\",\n",
" \"state\": \"WITHDRAWN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" },\n",
" {\n",
" \"blocks_until_expiry\": \"14363\",\n",
" \"confirmation_height\": \"128\",\n",
" \"id\": \"6c290f7536ea5097946afffac6a69906a26d775823ebbacedfe6f2d69c0745e4\",\n",
" \"outpoint\": \"5eaa7dd7a291665393eddf5dece91feef901f22665933cce7a0732a9b81c3001:0\",\n",
" \"state\": \"WITHDRAWN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" },\n",
" {\n",
" \"blocks_until_expiry\": \"14377\",\n",
" \"confirmation_height\": \"142\",\n",
" \"id\": \"0182b4d895b1c467290ae7b5c6c42ff76b2a4225807a94211c973170d5a883eb\",\n",
" \"outpoint\": \"7e6360d6e6a394cfd096adf0bfe1275c5a83541eb573e90e463a78dc715f8894:0\",\n",
" \"state\": \"WITHDRAWN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 271,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,62 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"looping_in"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 268850770,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "LOOPING_IN",
"outpoints": []
}
}
},
{
"time_ms": 268,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": []
}
}
},
{
"time_ms": 268,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": []\n",
"}\n"
]
}
},
{
"time_ms": 268,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,82 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"looped_in"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 169458759,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "LOOPED_IN",
"outpoints": []
}
}
},
{
"time_ms": 168,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
"state": "LOOPED_IN",
"outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
"value": "500000",
"confirmation_height": "148",
"blocks_until_expiry": "14383",
"swap_hash": "hDAjN0JANkGTlqt5ZN14uFsaSBqfHbc9tc3e5XwkQ+c="
}
]
}
}
},
{
"time_ms": 168,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": [\n",
" {\n",
" \"blocks_until_expiry\": \"14383\",\n",
" \"confirmation_height\": \"148\",\n",
" \"id\": \"8fbd6da2f945de2905aa7fa93860744d9387d3464484360e96e467a51de3bc9d\",\n",
" \"outpoint\": \"9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0\",\n",
" \"state\": \"LOOPED_IN\",\n",
" \"swap_hash\": \"84302337424036419396ab7964dd78b85b1a481a9f1db73db5cddee57c2443e7\",\n",
" \"value\": \"500000\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 169,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,62 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"publish_expired_deposit"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 230057326,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "PUBLISH_EXPIRED",
"outpoints": []
}
}
},
{
"time_ms": 229,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": []
}
}
},
{
"time_ms": 230,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": []\n",
"}\n"
]
}
},
{
"time_ms": 230,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,62 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"sweep_htlc_timeout"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 224559305,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "SWEEP_HTLC_TIMEOUT",
"outpoints": []
}
}
},
{
"time_ms": 223,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": []
}
}
},
{
"time_ms": 224,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": []\n",
"}\n"
]
}
},
{
"time_ms": 224,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,62 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"htlc_timeout_swept"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 211493641,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "HTLC_TIMEOUT_SWEPT",
"outpoints": []
}
}
},
{
"time_ms": 211,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": []
}
}
},
{
"time_ms": 211,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": []\n",
"}\n"
]
}
},
{
"time_ms": 211,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,62 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"wait_for_expiry_sweep"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 194966554,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "WAIT_FOR_EXPIRY_SWEEP",
"outpoints": []
}
}
},
{
"time_ms": 192,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": []
}
}
},
{
"time_ms": 193,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": []\n",
"}\n"
]
}
},
{
"time_ms": 194,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,62 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"expired"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 224807103,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 4,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "EXPIRED",
"outpoints": []
}
}
},
{
"time_ms": 224,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": []
}
}
},
{
"time_ms": 224,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": []\n",
"}\n"
]
}
},
{
"time_ms": 224,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,172 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listdeposits",
"--network",
"regtest",
"--filter",
"failed"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 140385482,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "UNKNOWN_STATE",
"outpoints": []
}
}
},
{
"time_ms": 139,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "aCYqEEyewyXea+w3uOMb2HW70vXwuc4togzwvWNvxEg=",
"state": "WITHDRAWN",
"outpoint": "edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0",
"value": "500000",
"confirmation_height": "125",
"blocks_until_expiry": "14360",
"swap_hash": ""
},
{
"id": "hrXizflpTI5zmOQq/eEJdm180hQiA5Bbpj+9DrE3DvM=",
"state": "WITHDRAWN",
"outpoint": "bb358e4f73ae97c4e2d99c6d64e852bba7cf56e13105b05d1200b8ae1796665e:0",
"value": "500000",
"confirmation_height": "127",
"blocks_until_expiry": "14362",
"swap_hash": ""
},
{
"id": "bCkPdTbqUJeUav/6xqaZBqJtd1gj67rO3+by1pwHReQ=",
"state": "WITHDRAWN",
"outpoint": "5eaa7dd7a291665393eddf5dece91feef901f22665933cce7a0732a9b81c3001:0",
"value": "500000",
"confirmation_height": "128",
"blocks_until_expiry": "14363",
"swap_hash": ""
},
{
"id": "AYK02JWxxGcpCue1xsQv92sqQiWAepQhHJcxcNWog+s=",
"state": "WITHDRAWN",
"outpoint": "7e6360d6e6a394cfd096adf0bfe1275c5a83541eb573e90e463a78dc715f8894:0",
"value": "500000",
"confirmation_height": "142",
"blocks_until_expiry": "14377",
"swap_hash": ""
},
{
"id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
"state": "LOOPED_IN",
"outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
"value": "500000",
"confirmation_height": "148",
"blocks_until_expiry": "14383",
"swap_hash": "hDAjN0JANkGTlqt5ZN14uFsaSBqfHbc9tc3e5XwkQ+c="
},
{
"id": "u38FDfC3w+H+YQEOEK1F4w3fes0wH6bgWi3bgltcLvs=",
"state": "WITHDRAWING",
"outpoint": "56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0",
"value": "500000",
"confirmation_height": "160",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 139,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": [\n",
" {\n",
" \"blocks_until_expiry\": \"14360\",\n",
" \"confirmation_height\": \"125\",\n",
" \"id\": \"68262a104c9ec325de6bec37b8e31bd875bbd2f5f0b9ce2da20cf0bd636fc448\",\n",
" \"outpoint\": \"edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0\",\n",
" \"state\": \"WITHDRAWN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" },\n",
" {\n",
" \"blocks_until_expiry\": \"14362\",\n",
" \"confirmation_height\": \"127\",\n",
" \"id\": \"86b5e2cdf9694c8e7398e42afde109766d7cd2142203905ba63fbd0eb1370ef3\",\n",
" \"outpoint\": \"bb358e4f73ae97c4e2d99c6d64e852bba7cf56e13105b05d1200b8ae1796665e:0\",\n",
" \"state\": \"WITHDRAWN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" },\n",
" {\n",
" \"blocks_until_expiry\": \"14363\",\n",
" \"confirmation_height\": \"128\",\n",
" \"id\": \"6c290f7536ea5097946afffac6a69906a26d775823ebbacedfe6f2d69c0745e4\",\n",
" \"outpoint\": \"5eaa7dd7a291665393eddf5dece91feef901f22665933cce7a0732a9b81c3001:0\",\n",
" \"state\": \"WITHDRAWN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" },\n",
" {\n",
" \"blocks_until_expiry\": \"14377\",\n",
" \"confirmation_height\": \"142\",\n",
" \"id\": \"0182b4d895b1c467290ae7b5c6c42ff76b2a4225807a94211c973170d5a883eb\",\n",
" \"outpoint\": \"7e6360d6e6a394cfd096adf0bfe1275c5a83541eb573e90e463a78dc715f8894:0\",\n",
" \"state\": \"WITHDRAWN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" },\n",
" {\n",
" \"blocks_until_expiry\": \"14383\",\n",
" \"confirmation_height\": \"148\",\n",
" \"id\": \"8fbd6da2f945de2905aa7fa93860744d9387d3464484360e96e467a51de3bc9d\",\n",
" \"outpoint\": \"9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0\",\n",
" \"state\": \"LOOPED_IN\",\n",
" \"swap_hash\": \"84302337424036419396ab7964dd78b85b1a481a9f1db73db5cddee57c2443e7\",\n",
" \"value\": \"500000\"\n",
" },\n",
" {\n",
" \"blocks_until_expiry\": \"14395\",\n",
" \"confirmation_height\": \"160\",\n",
" \"id\": \"bb7f050df0b7c3e1fe61010e10ad45e30ddf7acd301fa6e05a2ddb825b5c2efb\",\n",
" \"outpoint\": \"56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0\",\n",
" \"state\": \"WITHDRAWING\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 140,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,78 @@
{
"metadata": {
"args": [
"loop",
"static",
"new",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 2871791649,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
"\n",
"WARNING: Be aware that loosing your l402.token file in .loop under your home directory will take your ability to spend funds sent to the static address via loop-ins or withdrawals. You will have to wait until the deposit expires and your loop client sweeps the funds back to your lnd wallet. The deposit expiry could be months in the future.\n",
"\n",
"CONTINUE WITH NEW ADDRESS? (y/n): "
]
}
},
{
"time_ms": 2685,
"kind": "stdin",
"data": {
"text": "y\n"
}
},
{
"time_ms": 2686,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/NewStaticAddress",
"event": "request",
"message_type": "looprpc.NewStaticAddressRequest",
"payload": {
"client_key": ""
}
}
},
{
"time_ms": 2868,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/NewStaticAddress",
"event": "response",
"message_type": "looprpc.NewStaticAddressResponse",
"payload": {
"address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
"expiry": 14400
}
}
},
{
"time_ms": 2869,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"address\": \"bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw\",\n",
" \"expiry\": 14400\n",
"}\n"
]
}
},
{
"time_ms": 2871,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,56 @@
{
"metadata": {
"args": [
"loop",
"static",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 2504188,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "stdout",
"data": {
"lines": [
"NAME:\n",
" loop static - perform on-chain to off-chain swaps using static addresses.\n",
"\n",
"USAGE:\n",
" loop static [command [command options]]\n",
"\n",
"COMMANDS:\n",
" new, n Create a new static loop in address.\n",
" listunspent, l List unspent static address outputs.\n",
" listdeposits Displays static address deposits. A filter can be applied to only show deposits in a specific state.\n",
" listwithdrawals Display a summary of past withdrawals.\n",
" listswaps Shows a list of finalized static address swaps.\n",
" withdraw, w Withdraw from static address deposits.\n",
" summary, s Display a summary of static address related information.\n",
" in Loop in funds from static address deposits.\n",
" openchannel Open a channel to a an existing peer.\n",
"\n"
]
}
},
{
"time_ms": 2,
"kind": "stdout",
"data": {
"lines": [
"OPTIONS:\n",
" --help, -h show help\n"
]
}
},
{
"time_ms": 2,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,72 @@
{
"metadata": {
"args": [
"loop",
"static",
"listunspent",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 22853293,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListUnspentDeposits",
"event": "request",
"message_type": "looprpc.ListUnspentDepositsRequest",
"payload": {
"min_confs": 0,
"max_confs": 0
}
}
},
{
"time_ms": 22,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListUnspentDeposits",
"event": "response",
"message_type": "looprpc.ListUnspentDepositsResponse",
"payload": {
"utxos": [
{
"static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
"amount_sat": "2500000",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"confirmations": "0"
}
]
}
}
},
{
"time_ms": 22,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"utxos\": [\n",
" {\n",
" \"amount_sat\": \"2500000\",\n",
" \"confirmations\": \"0\",\n",
" \"outpoint\": \"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0\",\n",
" \"static_address\": \"bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 22,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,72 @@
{
"metadata": {
"args": [
"loop",
"static",
"l",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 17567260,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListUnspentDeposits",
"event": "request",
"message_type": "looprpc.ListUnspentDepositsRequest",
"payload": {
"min_confs": 0,
"max_confs": 0
}
}
},
{
"time_ms": 14,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListUnspentDeposits",
"event": "response",
"message_type": "looprpc.ListUnspentDepositsResponse",
"payload": {
"utxos": [
{
"static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
"amount_sat": "2500000",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"confirmations": "0"
}
]
}
}
},
{
"time_ms": 14,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"utxos\": [\n",
" {\n",
" \"amount_sat\": \"2500000\",\n",
" \"confirmations\": \"0\",\n",
" \"outpoint\": \"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0\",\n",
" \"static_address\": \"bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 17,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,58 @@
{
"metadata": {
"args": [
"loop",
"static",
"listdeposits",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 20668519,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "UNKNOWN_STATE",
"outpoints": []
}
}
},
{
"time_ms": 19,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": []
}
}
},
{
"time_ms": 19,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": []\n",
"}\n"
]
}
},
{
"time_ms": 20,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,72 @@
{
"metadata": {
"args": [
"loop",
"static",
"listunspent",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 20894580,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListUnspentDeposits",
"event": "request",
"message_type": "looprpc.ListUnspentDepositsRequest",
"payload": {
"min_confs": 0,
"max_confs": 0
}
}
},
{
"time_ms": 20,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListUnspentDeposits",
"event": "response",
"message_type": "looprpc.ListUnspentDepositsResponse",
"payload": {
"utxos": [
{
"static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
"amount_sat": "2500000",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"confirmations": "1"
}
]
}
}
},
{
"time_ms": 20,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"utxos\": [\n",
" {\n",
" \"amount_sat\": \"2500000\",\n",
" \"confirmations\": \"1\",\n",
" \"outpoint\": \"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0\",\n",
" \"static_address\": \"bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 20,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,72 @@
{
"metadata": {
"args": [
"loop",
"static",
"listunspent",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 11659340,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListUnspentDeposits",
"event": "request",
"message_type": "looprpc.ListUnspentDepositsRequest",
"payload": {
"min_confs": 0,
"max_confs": 0
}
}
},
{
"time_ms": 9,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListUnspentDeposits",
"event": "response",
"message_type": "looprpc.ListUnspentDepositsResponse",
"payload": {
"utxos": [
{
"static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
"amount_sat": "2500000",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"confirmations": "6"
}
]
}
}
},
{
"time_ms": 11,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"utxos\": [\n",
" {\n",
" \"amount_sat\": \"2500000\",\n",
" \"confirmations\": \"6\",\n",
" \"outpoint\": \"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0\",\n",
" \"static_address\": \"bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 11,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,78 @@
{
"metadata": {
"args": [
"loop",
"static",
"listdeposits",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 18981734,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "UNKNOWN_STATE",
"outpoints": []
}
}
},
{
"time_ms": 18,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "6mq78FccC6ghF66fIIZhTqzqiykT3AVEtwwA3ng1PnE=",
"state": "DEPOSITED",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"value": "2500000",
"confirmation_height": "131",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 18,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"filtered_deposits\": [\n",
" {\n",
" \"blocks_until_expiry\": \"14395\",\n",
" \"confirmation_height\": \"131\",\n",
" \"id\": \"ea6abbf0571c0ba82117ae9f2086614eacea8b2913dc0544b70c00de78353e71\",\n",
" \"outpoint\": \"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0\",\n",
" \"state\": \"DEPOSITED\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"2500000\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 18,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,73 @@
{
"metadata": {
"args": [
"loop",
"static",
"summary",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 16058920,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
"event": "request",
"message_type": "looprpc.StaticAddressSummaryRequest",
"payload": {}
}
},
{
"time_ms": 15,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
"event": "response",
"message_type": "looprpc.StaticAddressSummaryResponse",
"payload": {
"static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
"relative_expiry_blocks": "14400",
"total_num_deposits": 1,
"value_channels_opened": "0",
"value_unconfirmed_satoshis": "0",
"value_deposited_satoshis": "2500000",
"value_expired_satoshis": "0",
"value_withdrawn_satoshis": "0",
"value_looped_in_satoshis": "0",
"value_htlc_timeout_sweeps_satoshis": "0"
}
}
},
{
"time_ms": 15,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"relative_expiry_blocks\": \"14400\",\n",
" \"static_address\": \"bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw\",\n",
" \"total_num_deposits\": 1,\n",
" \"value_channels_opened\": \"0\",\n",
" \"value_deposited_satoshis\": \"2500000\",\n",
" \"value_expired_satoshis\": \"0\",\n",
" \"value_htlc_timeout_sweeps_satoshis\": \"0\",\n",
" \"value_looped_in_satoshis\": \"0\",\n",
" \"value_unconfirmed_satoshis\": \"0\",\n",
" \"value_withdrawn_satoshis\": \"0\"\n",
"}\n"
]
}
},
{
"time_ms": 16,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,69 @@
{
"metadata": {
"args": [
"loop",
"static",
"in",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"run_error": "unknown quote request",
"duration": 12090944,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "DEPOSITED",
"outpoints": []
}
}
},
{
"time_ms": 11,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "6mq78FccC6ghF66fIIZhTqzqiykT3AVEtwwA3ng1PnE=",
"state": "DEPOSITED",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"value": "2500000",
"confirmation_height": "131",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 12,
"kind": "stderr",
"data": {
"lines": [
"[loop] unknown quote request\n"
]
}
},
{
"time_ms": 12,
"kind": "exit",
"data": {
"run_error": "unknown quote request"
}
}
]
}

View file

@ -0,0 +1,107 @@
{
"metadata": {
"args": [
"loop",
"static",
"in",
"--all",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"run_error": "rpc error: code = Unknown desc = swap amount too high",
"duration": 29949728,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "DEPOSITED",
"outpoints": []
}
}
},
{
"time_ms": 19,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "6mq78FccC6ghF66fIIZhTqzqiykT3AVEtwwA3ng1PnE=",
"state": "DEPOSITED",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"value": "2500000",
"confirmation_height": "131",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 19,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "request",
"message_type": "looprpc.QuoteRequest",
"payload": {
"amt": "0",
"conf_target": 0,
"external_htlc": false,
"swap_publication_deadline": "0",
"loop_in_last_hop": "",
"loop_in_route_hints": [],
"private": false,
"deposit_outpoints": [
"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0"
],
"asset_info": null,
"auto_select_deposits": false,
"fast": false
}
}
},
{
"time_ms": 29,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "error",
"error": "rpc error: code = Unknown desc = swap amount too high",
"status": {
"code": 2,
"message": "swap amount too high"
}
}
},
{
"time_ms": 29,
"kind": "stderr",
"data": {
"lines": [
"[loop] rpc error: code = Unknown desc = swap amount too high\n"
]
}
},
{
"time_ms": 29,
"kind": "exit",
"data": {
"run_error": "rpc error: code = Unknown desc = swap amount too high"
}
}
]
}

View file

@ -0,0 +1,162 @@
{
"metadata": {
"args": [
"loop",
"static",
"in",
"--help",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 2400415,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
"NAME:\n"
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
" loop static in - Loop in funds from static address deposits."
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
"\n",
"\n",
"USAGE:\n"
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
" loop static in [options] [amt] [--all | --utxo xxx:xx]\n",
"\n",
"DESCRIPTION:\n",
" "
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
"\n",
" Requests a loop-in swap based on static address deposits. After the\n",
" creation of a static address funds can be sent to it. Once the funds are\n",
" "
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
" confirmed on-chain they can be swapped instantaneously. If deposited\n",
" funds are not needed they can we withdrawn back to the local lnd wallet.\n",
" \n",
"\n",
"OPTIONS:\n"
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
" --utxo string [ --utxo string ] specify the utxos of deposits as outpoints(tx:idx) that should be looped in.\n",
" --all loop in all static address deposits. (default: false)\n",
" --payment_timeout duration "
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
" the maximum time in seconds that the server is allowed to take for the swap payment. The client can retry the swap with adjusted parameters after the payment timed out. (default: 0s)\n",
" --amt uint, --amount uint the number of satoshis that should be swapped from the selected deposits. If thereis change it is sent back to the static address. (default: 0)\n",
" --fast Usage: complete the swap faster by paying a higher fee, so the change output is available sooner (default: false)\n",
" --max_swap_fee_sat uint the maximum swap fee in satoshis. If set, the swap is rejected when the quoted fee exceeds this cap. The maximum allowed value is 10000000. On-chain fees for creating static deposits are unaffected. (default: 0)\n",
" --max_swap_fee_ppm uint the maximum swap fee expressed in parts per million of the swap amount. If set together with --max_swap_fee_sat the tighter cap is used. (default: 0)\n",
" --last_hop string the pubkey of the last hop to use for this swap\n",
" --label string an optional label for this swap,limited to 500 characters. The label may not start with our reserved prefix: [reserved].\n",
" --route_hints string [ --route_hints string ]"
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
" route hints that can each be individually used to assist in reaching the invoice's destination\n",
" --private generates and passes routehints. Should be used if the connected node is only reachable via private channels (default: false)\n",
" --force Assumes yes during confirmation. Using this option will result in an immediate swap (default: false)\n",
" --verbose, -v show expanded details (default: false)\n",
" --help, -h show help\n",
"\n"
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
"GLOBAL OPTIONS:\n",
" --rpcserver string "
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
"loopd daemon address host:port (default: \"localhost:11010\") [$LOOPCLI_RPCSERVER]\n",
" --network string, -n string the network loop is running on e.g. mainnet, testnet, etc. (default: \"mainnet\") [$LOOPCLI_NETWORK]\n",
" --loopdir string path to loop's base directory (default: ~/.loop) [$LOOPCLI_LOOPDIR]\n",
" --tlscertpath string"
]
}
},
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
" path to loop's TLS certificate (default: ~/.loop/mainnet/tls.cert) [$LOOPCLI_TLSCERTPATH]\n",
" --macaroonpath string path to macaroon file (default: ~/.loop/mainnet/loop.macaroon) [$LOOPCLI_MACAROONPATH]\n"
]
}
},
{
"time_ms": 2,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,214 @@
{
"metadata": {
"args": [
"loop",
"static",
"in",
"--amt",
"500000",
"--all",
"--network",
"regtest"
],
"env": {},
"version": "0.31.7-beta commit=vbump-lndclient-70-g352a68cd43f1976a937faaf76041bc078fdd16f6 commit_hash=352a68cd43f1976a937faaf76041bc078fdd16f6",
"duration": 2826015164,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "DEPOSITED",
"outpoints": []
}
}
},
{
"time_ms": 22,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "6mq78FccC6ghF66fIIZhTqzqiykT3AVEtwwA3ng1PnE=",
"state": "DEPOSITED",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"value": "2500000",
"confirmation_height": "131",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 22,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "request",
"message_type": "looprpc.QuoteRequest",
"payload": {
"amt": "500000",
"conf_target": 0,
"external_htlc": false,
"swap_publication_deadline": "0",
"loop_in_last_hop": "",
"loop_in_route_hints": [],
"private": false,
"deposit_outpoints": [
"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0"
],
"asset_info": null,
"auto_select_deposits": false,
"fast": false
}
}
},
{
"time_ms": 65,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "response",
"message_type": "looprpc.InQuoteResponse",
"payload": {
"swap_fee_sat": "1824",
"htlc_publish_fee_sat": "0",
"cltv_delta": 0,
"conf_target": 0,
"quoted_amt": "500000"
}
}
},
{
"time_ms": 65,
"kind": "stdout",
"data": {
"lines": [
"Previously deposited on-chain: 500000 sat\n",
"Receive off-chain: 498176 sat\n",
"Estimated total fee: 1824 sat\n",
"\n",
"CONTINUE SWAP? (y/n): "
]
}
},
{
"time_ms": 2358,
"kind": "stdin",
"data": {
"text": "y\n"
}
},
{
"time_ms": 2358,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/StaticAddressLoopIn",
"event": "request",
"message_type": "looprpc.StaticAddressLoopInRequest",
"payload": {
"outpoints": [
"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0"
],
"max_swap_fee_satoshis": "1824",
"last_hop": "",
"label": "",
"initiator": "loop-cli",
"route_hints": [],
"private": false,
"payment_timeout_seconds": 60,
"amount": "500000",
"fast": false
}
}
},
{
"time_ms": 2824,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/StaticAddressLoopIn",
"event": "response",
"message_type": "looprpc.StaticAddressLoopInResponse",
"payload": {
"swap_hash": "nxn7UEKl3m2i8c4YPF4iT9eALbQI6a/dWY7oF0srzj8=",
"state": "SignHtlcTx",
"amount": "2500000",
"htlc_cltv": 1136,
"quoted_swap_fee_satoshis": "1824",
"max_swap_fee_satoshis": "1824",
"initiation_height": 136,
"protocol_version": "V0",
"label": "",
"initiator": "loop-cli",
"payment_timeout_seconds": 60,
"used_deposits": [
{
"id": "6mq78FccC6ghF66fIIZhTqzqiykT3AVEtwwA3ng1PnE=",
"state": "LOOPING_IN",
"outpoint": "188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0",
"value": "2500000",
"confirmation_height": "131",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
],
"swap_amount": "500000",
"change": "2000000",
"fast": false
}
}
},
{
"time_ms": 2825,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"amount\": \"2500000\",\n",
" \"change\": \"2000000\",\n",
" \"fast\": false,\n",
" \"htlc_cltv\": 1136,\n",
" \"initiation_height\": 136,\n",
" \"initiator\": \"loop-cli\",\n",
" \"label\": \"\",\n",
" \"max_swap_fee_satoshis\": \"1824\",\n",
" \"payment_timeout_seconds\": 60,\n",
" \"protocol_version\": \"V0\",\n",
" \"quoted_swap_fee_satoshis\": \"1824\",\n",
" \"state\": \"SignHtlcTx\",\n",
" \"swap_amount\": \"500000\",\n",
" \"swap_hash\": \"9f19fb5042a5de6da2f1ce183c5e224fd7802db408e9afdd598ee8174b2bce3f\",\n",
" \"used_deposits\": [\n",
" {\n",
" \"blocks_until_expiry\": \"14395\",\n",
" \"confirmation_height\": \"131\",\n",
" \"id\": \"ea6abbf0571c0ba82117ae9f2086614eacea8b2913dc0544b70c00de78353e71\",\n",
" \"outpoint\": \"188f55042e49cfa9942cc1f8e216c5e8679a7036e9ee6449d0fcc6c6b81561be:0\",\n",
" \"state\": \"LOOPING_IN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"2500000\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 2826,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,75 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"in",
"--utxo",
"9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
"--utxo",
"9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
"--network",
"regtest"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "duplicate outpoints detected",
"duration": 174401375,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "DEPOSITED",
"outpoints": []
}
}
},
{
"time_ms": 173,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
"state": "DEPOSITED",
"outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
"value": "500000",
"confirmation_height": "148",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 174,
"kind": "stderr",
"data": {
"lines": [
"[loop] duplicate outpoints detected\n"
]
}
},
{
"time_ms": 174,
"kind": "exit",
"data": {
"run_error": "duplicate outpoints detected"
}
}
]
}

View file

@ -0,0 +1,112 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"in",
"--network",
"regtest",
"10000",
"--payment_timeout",
"30s",
"--last_hop",
"0271d6e29301159d9e1cc5d3983479a51f3b3c0c682eda7f16aa1f47dfe09b22f7",
"--force"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "rpc error: code = Unknown desc = swap amount too low",
"duration": 226739365,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "DEPOSITED",
"outpoints": []
}
}
},
{
"time_ms": 182,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
"state": "DEPOSITED",
"outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
"value": "500000",
"confirmation_height": "148",
"blocks_until_expiry": "14383",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 183,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "request",
"message_type": "looprpc.QuoteRequest",
"payload": {
"amt": "10000",
"conf_target": 0,
"external_htlc": false,
"swap_publication_deadline": "0",
"loop_in_last_hop": "AnHW4pMBFZ2eHMXTmDR5pR87PAxoLtp/FqofR9/gmyL3",
"loop_in_route_hints": [],
"private": false,
"deposit_outpoints": [],
"asset_info": null,
"auto_select_deposits": true,
"fast": false
}
}
},
{
"time_ms": 225,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "error",
"error": "rpc error: code = Unknown desc = swap amount too low",
"status": {
"code": 2,
"message": "swap amount too low"
}
}
},
{
"time_ms": 226,
"kind": "stderr",
"data": {
"lines": [
"[loop] rpc error: code = Unknown desc = swap amount too low\n"
]
}
},
{
"time_ms": 226,
"kind": "exit",
"data": {
"run_error": "rpc error: code = Unknown desc = swap amount too low"
}
}
]
}

View file

@ -0,0 +1,195 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"in",
"--network",
"regtest",
"500000",
"--payment_timeout",
"30s",
"--last_hop",
"0271d6e29301159d9e1cc5d3983479a51f3b3c0c682eda7f16aa1f47dfe09b22f7",
"--force"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 1078774451,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 4,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "DEPOSITED",
"outpoints": []
}
}
},
{
"time_ms": 179,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
"state": "DEPOSITED",
"outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
"value": "500000",
"confirmation_height": "148",
"blocks_until_expiry": "14383",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 180,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "request",
"message_type": "looprpc.QuoteRequest",
"payload": {
"amt": "500000",
"conf_target": 0,
"external_htlc": false,
"swap_publication_deadline": "0",
"loop_in_last_hop": "AnHW4pMBFZ2eHMXTmDR5pR87PAxoLtp/FqofR9/gmyL3",
"loop_in_route_hints": [],
"private": false,
"deposit_outpoints": [],
"asset_info": null,
"auto_select_deposits": true,
"fast": false
}
}
},
{
"time_ms": 500,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "response",
"message_type": "looprpc.InQuoteResponse",
"payload": {
"swap_fee_sat": "1824",
"htlc_publish_fee_sat": "0",
"cltv_delta": 0,
"conf_target": 0,
"quoted_amt": "500000"
}
}
},
{
"time_ms": 500,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/StaticAddressLoopIn",
"event": "request",
"message_type": "looprpc.StaticAddressLoopInRequest",
"payload": {
"outpoints": [],
"max_swap_fee_satoshis": "1824",
"last_hop": "AnHW4pMBFZ2eHMXTmDR5pR87PAxoLtp/FqofR9/gmyL3",
"label": "",
"initiator": "loop-cli",
"route_hints": [],
"private": false,
"payment_timeout_seconds": 30,
"amount": "500000",
"fast": false
}
}
},
{
"time_ms": 1078,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/StaticAddressLoopIn",
"event": "response",
"message_type": "looprpc.StaticAddressLoopInResponse",
"payload": {
"swap_hash": "hDAjN0JANkGTlqt5ZN14uFsaSBqfHbc9tc3e5XwkQ+c=",
"state": "SignHtlcTx",
"amount": "500000",
"htlc_cltv": 1165,
"quoted_swap_fee_satoshis": "1824",
"max_swap_fee_satoshis": "1824",
"initiation_height": 165,
"protocol_version": "V0",
"label": "",
"initiator": "loop-cli",
"payment_timeout_seconds": 30,
"used_deposits": [
{
"id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
"state": "LOOPING_IN",
"outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
"value": "500000",
"confirmation_height": "148",
"blocks_until_expiry": "14383",
"swap_hash": ""
}
],
"swap_amount": "500000",
"change": "0",
"fast": false
}
}
},
{
"time_ms": 1078,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"amount\": \"500000\",\n",
" \"change\": \"0\",\n",
" \"fast\": false,\n",
" \"htlc_cltv\": 1165,\n",
" \"initiation_height\": 165,\n",
" \"initiator\": \"loop-cli\",\n",
" \"label\": \"\",\n",
" \"max_swap_fee_satoshis\": \"1824\",\n",
" \"payment_timeout_seconds\": 30,\n",
" \"protocol_version\": \"V0\",\n",
" \"quoted_swap_fee_satoshis\": \"1824\",\n",
" \"state\": \"SignHtlcTx\",\n",
" \"swap_amount\": \"500000\",\n",
" \"swap_hash\": \"84302337424036419396ab7964dd78b85b1a481a9f1db73db5cddee57c2443e7\",\n",
" \"used_deposits\": [\n",
" {\n",
" \"blocks_until_expiry\": \"14383\",\n",
" \"confirmation_height\": \"148\",\n",
" \"id\": \"8fbd6da2f945de2905aa7fa93860744d9387d3464484360e96e467a51de3bc9d\",\n",
" \"outpoint\": \"9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0\",\n",
" \"state\": \"LOOPING_IN\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 1078,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,132 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"in",
"--network",
"regtest",
"--all"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "swap canceled",
"duration": 446675015,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "stdin",
"data": {
"text": "n\n"
}
},
{
"time_ms": 5,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "request",
"message_type": "looprpc.ListStaticAddressDepositsRequest",
"payload": {
"state_filter": "DEPOSITED",
"outpoints": []
}
}
},
{
"time_ms": 387,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
"event": "response",
"message_type": "looprpc.ListStaticAddressDepositsResponse",
"payload": {
"filtered_deposits": [
{
"id": "S7MSLTegUia00YiHa4Q+ZLxUl4M4FfD8lunKy9HyI1E=",
"state": "DEPOSITED",
"outpoint": "bbd8a81ea27aa5427a6e0000853f33328946f7297ab43cb0a549bee300ffd8b9:1",
"value": "500000",
"confirmation_height": "166",
"blocks_until_expiry": "14395",
"swap_hash": ""
}
]
}
}
},
{
"time_ms": 388,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "request",
"message_type": "looprpc.QuoteRequest",
"payload": {
"amt": "0",
"conf_target": 0,
"external_htlc": false,
"swap_publication_deadline": "0",
"loop_in_last_hop": "",
"loop_in_route_hints": [],
"private": false,
"deposit_outpoints": [
"bbd8a81ea27aa5427a6e0000853f33328946f7297ab43cb0a549bee300ffd8b9:1"
],
"asset_info": null,
"auto_select_deposits": false,
"fast": false
}
}
},
{
"time_ms": 446,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/GetLoopInQuote",
"event": "response",
"message_type": "looprpc.InQuoteResponse",
"payload": {
"swap_fee_sat": "1823",
"htlc_publish_fee_sat": "0",
"cltv_delta": 0,
"conf_target": 0,
"quoted_amt": "500000"
}
}
},
{
"time_ms": 446,
"kind": "stdout",
"data": {
"lines": [
"Previously deposited on-chain: 500000 sat\n",
"Receive off-chain: 498177 sat\n",
"Estimated total fee: 1823 sat\n",
"\n",
"CONTINUE SWAP? (y/n): "
]
}
},
{
"time_ms": 446,
"kind": "stderr",
"data": {
"lines": [
"[loop] swap canceled\n"
]
}
},
{
"time_ms": 446,
"kind": "exit",
"data": {
"run_error": "swap canceled"
}
}
]
}

View file

@ -0,0 +1,36 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"withdraw",
"--network",
"regtest"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "must select either all or some utxos",
"duration": 1520351,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "stderr",
"data": {
"lines": [
"[loop] must select either all or some utxos\n"
]
}
},
{
"time_ms": 1,
"kind": "exit",
"data": {
"run_error": "must select either all or some utxos"
}
}
]
}

View file

@ -0,0 +1,95 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listwithdrawals",
"--network",
"regtest"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 164024932,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressWithdrawals",
"event": "request",
"message_type": "looprpc.ListStaticAddressWithdrawalRequest",
"payload": {}
}
},
{
"time_ms": 163,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressWithdrawals",
"event": "response",
"message_type": "looprpc.ListStaticAddressWithdrawalResponse",
"payload": {
"withdrawals": [
{
"tx_id": "0000000000000000000000000000000000000000000000000000000000000000",
"deposits": [
{
"id": "aCYqEEyewyXea+w3uOMb2HW70vXwuc4togzwvWNvxEg=",
"state": "WITHDRAWING",
"outpoint": "edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0",
"value": "500000",
"confirmation_height": "125",
"blocks_until_expiry": "0",
"swap_hash": ""
}
],
"total_deposit_amount_satoshis": "500000",
"withdrawn_amount_satoshis": "0",
"change_amount_satoshis": "0",
"confirmation_height": 0
}
]
}
}
},
{
"time_ms": 163,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"withdrawals\": [\n",
" {\n",
" \"change_amount_satoshis\": \"0\",\n",
" \"confirmation_height\": 0,\n",
" \"deposits\": [\n",
" {\n",
" \"blocks_until_expiry\": \"0\",\n",
" \"confirmation_height\": \"125\",\n",
" \"id\": \"68262a104c9ec325de6bec37b8e31bd875bbd2f5f0b9ce2da20cf0bd636fc448\",\n",
" \"outpoint\": \"edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0\",\n",
" \"state\": \"WITHDRAWING\",\n",
" \"swap_hash\": \"\",\n",
" \"value\": \"500000\"\n",
" }\n",
" ],\n",
" \"total_deposit_amount_satoshis\": \"500000\",\n",
" \"tx_id\": \"0000000000000000000000000000000000000000000000000000000000000000\",\n",
" \"withdrawn_amount_satoshis\": \"0\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 164,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,57 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"listswaps",
"--network",
"regtest"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 152223840,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressSwaps",
"event": "request",
"message_type": "looprpc.ListStaticAddressSwapsRequest",
"payload": {}
}
},
{
"time_ms": 151,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListStaticAddressSwaps",
"event": "response",
"message_type": "looprpc.ListStaticAddressSwapsResponse",
"payload": {
"swaps": []
}
}
},
{
"time_ms": 151,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"swaps\": []\n",
"}\n"
]
}
},
{
"time_ms": 152,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,38 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"withdraw",
"--utxo",
"abc",
"--network",
"regtest"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "outpoint should be of the form txid:index",
"duration": 8829122,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 8,
"kind": "stderr",
"data": {
"lines": [
"[loop] outpoint should be of the form txid:index\n"
]
}
},
{
"time_ms": 8,
"kind": "exit",
"data": {
"run_error": "outpoint should be of the form txid:index"
}
}
]
}

View file

@ -0,0 +1,66 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"withdraw",
"--all",
"--network",
"regtest"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 582593010,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/WithdrawDeposits",
"event": "request",
"message_type": "looprpc.WithdrawDepositsRequest",
"payload": {
"outpoints": [],
"all": true,
"dest_addr": "",
"sat_per_vbyte": "0",
"amount": "0"
}
}
},
{
"time_ms": 582,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/WithdrawDeposits",
"event": "response",
"message_type": "looprpc.WithdrawDepositsResponse",
"payload": {
"withdrawal_tx_hash": "849b3e491dd45688fe66fc05fc0b7a89a147cad749486c46f515b1e815a16d31",
"address": "bcrt1pk2jdgms8l67x6mp2kjq45k2sd7mdpfcf988lckk774uguxzh0x5scddya7"
}
}
},
{
"time_ms": 582,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"address\": \"bcrt1pk2jdgms8l67x6mp2kjq45k2sd7mdpfcf988lckk774uguxzh0x5scddya7\",\n",
" \"withdrawal_tx_hash\": \"849b3e491dd45688fe66fc05fc0b7a89a147cad749486c46f515b1e815a16d31\"\n",
"}\n"
]
}
},
{
"time_ms": 582,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,75 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"static",
"withdraw",
"--network",
"regtest",
"--utxo",
"56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0",
"--dest_addr",
"bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 308497131,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/WithdrawDeposits",
"event": "request",
"message_type": "looprpc.WithdrawDepositsRequest",
"payload": {
"outpoints": [
{
"txid_bytes": "",
"txid_str": "56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313",
"output_index": 0
}
],
"all": false,
"dest_addr": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
"sat_per_vbyte": "0",
"amount": "0"
}
}
},
{
"time_ms": 308,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/WithdrawDeposits",
"event": "response",
"message_type": "looprpc.WithdrawDepositsResponse",
"payload": {
"withdrawal_tx_hash": "4578dde9139327e5122960b778fe09f426cf6c1df5fa276cca18d72ccb3d88ba",
"address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw"
}
}
},
{
"time_ms": 308,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"address\": \"bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw\",\n",
" \"withdrawal_tx_hash\": \"4578dde9139327e5122960b778fe09f426cf6c1df5fa276cca18d72ccb3d88ba\"\n",
"}\n"
]
}
},
{
"time_ms": 308,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,111 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"listswaps",
"--network",
"regtest"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 150727157,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListSwaps",
"event": "request",
"message_type": "looprpc.ListSwapsRequest",
"payload": {
"list_swap_filter": {
"swap_type": "ANY",
"pending_only": false,
"outgoing_chan_set": [],
"label": "",
"loop_in_last_hop": "",
"asset_swap_only": false,
"start_timestamp_ns": "0"
},
"max_swaps": "0"
}
}
},
{
"time_ms": 149,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListSwaps",
"event": "response",
"message_type": "looprpc.ListSwapsResponse",
"payload": {
"swaps": [
{
"amt": "500000",
"id": "46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b",
"id_bytes": "RrjbZBEKYAi9NrQjQ5y7oejnbAJk6KaPRC/CKjwrT2s=",
"type": "LOOP_OUT",
"state": "INITIATED",
"failure_reason": "FAILURE_REASON_NONE",
"initiation_time": "1770081011767003660",
"last_update_time": "1770081011767003660",
"htlc_address": "bcrt1pj90ffd4j9hc2a58xpl3q77c6pf8ckhqhv9w9m2529kqsk77f6lksrca9pv",
"htlc_address_p2wsh": "",
"htlc_address_p2tr": "bcrt1pj90ffd4j9hc2a58xpl3q77c6pf8ckhqhv9w9m2529kqsk77f6lksrca9pv",
"cost_server": "0",
"cost_onchain": "0",
"cost_offchain": "0",
"last_hop": "",
"outgoing_chan_set": [],
"label": "",
"asset_info": null
}
],
"next_start_time": "0"
}
}
},
{
"time_ms": 150,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"next_start_time\": \"0\",\n",
" \"swaps\": [\n",
" {\n",
" \"amt\": \"500000\",\n",
" \"asset_info\": null,\n",
" \"cost_offchain\": \"0\",\n",
" \"cost_onchain\": \"0\",\n",
" \"cost_server\": \"0\",\n",
" \"failure_reason\": \"FAILURE_REASON_NONE\",\n",
" \"htlc_address\": \"bcrt1pj90ffd4j9hc2a58xpl3q77c6pf8ckhqhv9w9m2529kqsk77f6lksrca9pv\",\n",
" \"htlc_address_p2tr\": \"bcrt1pj90ffd4j9hc2a58xpl3q77c6pf8ckhqhv9w9m2529kqsk77f6lksrca9pv\",\n",
" \"htlc_address_p2wsh\": \"\",\n",
" \"id\": \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\",\n",
" \"id_bytes\": \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\",\n",
" \"initiation_time\": \"1770081011767003660\",\n",
" \"label\": \"\",\n",
" \"last_hop\": \"\",\n",
" \"last_update_time\": \"1770081011767003660\",\n",
" \"outgoing_chan_set\": [],\n",
" \"state\": \"INITIATED\",\n",
" \"type\": \"LOOP_OUT\"\n",
" }\n",
" ]\n",
"}\n"
]
}
},
{
"time_ms": 150,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,93 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"swapinfo",
"--network",
"regtest",
"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 191339781,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/SwapInfo",
"event": "request",
"message_type": "looprpc.SwapInfoRequest",
"payload": {
"id": "RrjbZBEKYAi9NrQjQ5y7oejnbAJk6KaPRC/CKjwrT2s="
}
}
},
{
"time_ms": 191,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/SwapInfo",
"event": "response",
"message_type": "looprpc.SwapStatus",
"payload": {
"amt": "500000",
"id": "46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b",
"id_bytes": "RrjbZBEKYAi9NrQjQ5y7oejnbAJk6KaPRC/CKjwrT2s=",
"type": "LOOP_OUT",
"state": "INITIATED",
"failure_reason": "FAILURE_REASON_NONE",
"initiation_time": "1770081011767003660",
"last_update_time": "1770081011767003660",
"htlc_address": "bcrt1pj90ffd4j9hc2a58xpl3q77c6pf8ckhqhv9w9m2529kqsk77f6lksrca9pv",
"htlc_address_p2wsh": "",
"htlc_address_p2tr": "bcrt1pj90ffd4j9hc2a58xpl3q77c6pf8ckhqhv9w9m2529kqsk77f6lksrca9pv",
"cost_server": "0",
"cost_onchain": "0",
"cost_offchain": "0",
"last_hop": "",
"outgoing_chan_set": [],
"label": "",
"asset_info": null
}
}
},
{
"time_ms": 191,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"amt\": \"500000\",\n",
" \"asset_info\": null,\n",
" \"cost_offchain\": \"0\",\n",
" \"cost_onchain\": \"0\",\n",
" \"cost_server\": \"0\",\n",
" \"failure_reason\": \"FAILURE_REASON_NONE\",\n",
" \"htlc_address\": \"bcrt1pj90ffd4j9hc2a58xpl3q77c6pf8ckhqhv9w9m2529kqsk77f6lksrca9pv\",\n",
" \"htlc_address_p2tr\": \"bcrt1pj90ffd4j9hc2a58xpl3q77c6pf8ckhqhv9w9m2529kqsk77f6lksrca9pv\",\n",
" \"htlc_address_p2wsh\": \"\",\n",
" \"id\": \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\",\n",
" \"id_bytes\": \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\",\n",
" \"initiation_time\": \"1770081011767003660\",\n",
" \"label\": \"\",\n",
" \"last_hop\": \"\",\n",
" \"last_update_time\": \"1770081011767003660\",\n",
" \"outgoing_chan_set\": [],\n",
" \"state\": \"INITIATED\",\n",
" \"type\": \"LOOP_OUT\"\n",
"}\n"
]
}
},
{
"time_ms": 191,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,45 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"abandonswap",
"--network",
"regtest"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 2764352,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "stdout",
"data": {
"lines": [
"NAME:\n",
" loop abandonswap - abandon a swap with a given swap hash\n",
"\n",
"USAGE:\n",
" loop abandonswap ID\n",
"\n",
"DESCRIPTION:\n",
" This command overrides the database and abandons a swap with a given swap hash.\n",
"\n",
" !!! This command might potentially lead to loss of funds if it is applied to swaps that are still waiting for pending user funds. Before executing this command make sure that no funds are locked by the swap.\n",
"\n",
"OPTIONS:\n",
" --i_know_what_i_am_doing Specify this flag if you made sure that you read and understood the following consequence of applying this command. (default: false)\n",
" --help, -h show help\n"
]
}
},
{
"time_ms": 2,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,37 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"listswaps",
"--network",
"regtest",
"--loop_out_only",
"--loop_in_only"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "only one of loop_out_only and loop_in_only can be set",
"duration": 1714263,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "stderr",
"data": {
"lines": [
"[loop] only one of loop_out_only and loop_in_only can be set\n"
]
}
},
{
"time_ms": 1,
"kind": "exit",
"data": {
"run_error": "only one of loop_out_only and loop_in_only can be set"
}
}
]
}

View file

@ -0,0 +1,36 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"swapinfo",
"--network",
"regtest",
"deadbeef"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "invalid swap ID",
"duration": 1081414,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "stderr",
"data": {
"lines": [
"[loop] invalid swap ID\n"
]
}
},
{
"time_ms": 1,
"kind": "exit",
"data": {
"run_error": "invalid swap ID"
}
}
]
}

View file

@ -0,0 +1,37 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"abandonswap",
"--network",
"regtest",
"--i_know_what_i_am_doing",
"deadbeef"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "invalid swap ID",
"duration": 1742129,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "stderr",
"data": {
"lines": [
"[loop] invalid swap ID\n"
]
}
},
{
"time_ms": 1,
"kind": "exit",
"data": {
"run_error": "invalid swap ID"
}
}
]
}

View file

@ -0,0 +1,82 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"listswaps",
"--network",
"regtest",
"--loop_out_only",
"--channel",
"125344325763072",
"--last_hop",
"0271d6e29301159d9e1cc5d3983479a51f3b3c0c682eda7f16aa1f47dfe09b22f7",
"--label",
"testlabel",
"--start_time_ns",
"1",
"--max_swaps",
"5"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 146940860,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListSwaps",
"event": "request",
"message_type": "looprpc.ListSwapsRequest",
"payload": {
"list_swap_filter": {
"swap_type": "LOOP_OUT",
"pending_only": false,
"outgoing_chan_set": [
"125344325763072"
],
"label": "testlabel",
"loop_in_last_hop": "AnHW4pMBFZ2eHMXTmDR5pR87PAxoLtp/FqofR9/gmyL3",
"asset_swap_only": false,
"start_timestamp_ns": "1"
},
"max_swaps": "5"
}
}
},
{
"time_ms": 146,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListSwaps",
"event": "response",
"message_type": "looprpc.ListSwapsResponse",
"payload": {
"swaps": [],
"next_start_time": "0"
}
}
},
{
"time_ms": 146,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"next_start_time\": \"0\",\n",
" \"swaps\": []\n",
"}\n"
]
}
},
{
"time_ms": 146,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,70 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"listswaps",
"--network",
"regtest",
"--loop_in_only"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 237970153,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 3,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListSwaps",
"event": "request",
"message_type": "looprpc.ListSwapsRequest",
"payload": {
"list_swap_filter": {
"swap_type": "LOOP_IN",
"pending_only": false,
"outgoing_chan_set": [],
"label": "",
"loop_in_last_hop": "",
"asset_swap_only": false,
"start_timestamp_ns": "0"
},
"max_swaps": "0"
}
}
},
{
"time_ms": 236,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/ListSwaps",
"event": "response",
"message_type": "looprpc.ListSwapsResponse",
"payload": {
"swaps": [],
"next_start_time": "0"
}
}
},
{
"time_ms": 236,
"kind": "stdout",
"data": {
"lines": [
"{\n",
" \"next_start_time\": \"0\",\n",
" \"swaps\": []\n",
"}\n"
]
}
},
{
"time_ms": 237,
"kind": "exit",
"data": {}
}
]
}

View file

@ -0,0 +1,39 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"swapinfo",
"--network",
"regtest",
"--id",
"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "invalid value \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\" for flag -id: strconv.ParseUint: parsing \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\": invalid syntax",
"duration": 2097605,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 1,
"kind": "stderr",
"data": {
"lines": [
"Incorrect Usage: invalid value \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\" for flag -id: strconv.ParseUint: parsing \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\": invalid syntax\n",
"\n",
"[loop] invalid value \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\" for flag -id: strconv.ParseUint: parsing \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\": invalid syntax\n"
]
}
},
{
"time_ms": 2,
"kind": "exit",
"data": {
"run_error": "invalid value \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\" for flag -id: strconv.ParseUint: parsing \"46b8db64110a6008bd36b423439cbba1e8e76c0264e8a68f442fc22a3c2b4f6b\": invalid syntax"
}
}
]
}

View file

@ -0,0 +1,37 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"swapinfo",
"--network",
"regtest",
"--id",
"1"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"run_error": "invalid swap ID",
"duration": 6122492,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 6,
"kind": "stderr",
"data": {
"lines": [
"[loop] invalid swap ID\n"
]
}
},
{
"time_ms": 6,
"kind": "exit",
"data": {
"run_error": "invalid swap ID"
}
}
]
}

View file

@ -0,0 +1,57 @@
{
"metadata": {
"args": [
"/home/user/bin/loop",
"abandonswap",
"--network",
"regtest",
"--i_know_what_i_am_doing",
"2f46a232e0f584fadf2abc7e7aaeefab0176f21e0fba5344a10e21838ec390fe"
],
"env": {
"HOME": "/home/user"
},
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
"duration": 194305706,
"clock_start_unix": 1769407086
},
"events": [
{
"time_ms": 2,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/AbandonSwap",
"event": "request",
"message_type": "looprpc.AbandonSwapRequest",
"payload": {
"id": "L0aiMuD1hPrfKrx+eq7vqwF28h4PulNEoQ4hg47DkP4=",
"i_know_what_i_am_doing": true
}
}
},
{
"time_ms": 193,
"kind": "grpc",
"data": {
"method": "/looprpc.SwapClient/AbandonSwap",
"event": "response",
"message_type": "looprpc.AbandonSwapResponse",
"payload": {}
}
},
{
"time_ms": 193,
"kind": "stdout",
"data": {
"lines": [
"{}\n"
]
}
},
{
"time_ms": 194,
"kind": "exit",
"data": {}
}
]
}