Skip to content

Instantly share code, notes, and snippets.

@vincenzopalazzo
Created June 28, 2024 20:40
Show Gist options
  • Save vincenzopalazzo/12fb67ac245691b01a870d990436e172 to your computer and use it in GitHub Desktop.
Save vincenzopalazzo/12fb67ac245691b01a870d990436e172 to your computer and use it in GitHub Desktop.
➜ VincentSSD clightning decode lno1qsgxeghagrrs3fygrz74wxpskwfpsyxvqttftvqu0f5sneckep3lkwdut7mmhhpcyjmlmnjn4hze8ed7pq88xqs35u5wdnnnhpw53ntuems6qs8hggqac250urm6dl9vlpq9f2q2ucpq9kpa4r734cduc7lkt7gl0dcqn0ku648u9q9v643jsl6ec2kkgge4qqemsc8plk5hd96ljealz9cs9d3exlxw8jg876k2sv25kyk2dgyw7r3ry7fnn4f32d4g5lqy8n3qtqfr7zcecqm4ur8msqhfkuw0a3t75njaksj22ch9zhr43j6fjfntzqmgyacl6gqpq5lxewmaz5v5ktqww0qlv7m25kckyyp5zf4cqk35j2mfa23t9c8ukmtpu66vjca5d8xvp6zu3wuup7y28ss
{
"type": "bolt12 offer",
"offer_id": "bb68a56239383eeb06f1301fc6e6102486fcb4bf2fac05b2d22c67d7b2e9e2c0",
"offer_metadata": "6ca2fd40c708a48818bd571830b39218",
"warning_missing_offer_description": "offers without a description are invalid",
"offer_paths": [
{
"first_node_id": "02d695b01c7a6909e716c863fb39bc5fb7bbdc3824b7fdce53adc593e5be080e73",
"blinding": "0211a728e6ce73b85d48cd7ccee1a040f74201dc2a8fe0f7a6fcacf84054a80ae6",
"path": [
{
"blinded_node_id": "02d83da8fd1ae1bcc7bf65f91f7b7009bedcd54fc280acd563287f59c2ad642335",
"encrypted_recipient_data": "b860e1fda976975f967bf117102b63937cce3c907f6aca83154b12ca6a08ef0e23279339d531536a8a7c043ce2058123f0b19c"
},
{
"blinded_node_id": "0375e0cfb802e9b71cfec57ea4e5db424a562e515c758cb499266b103682771fd2",
"encrypted_recipient_data": "53e6cbb7d15194b2c0e73c1f67b6aa5b"
}
]
}
],
"offer_node_id": "034126b805a3492b69eaa2b2e0fcb6d61e6b4c963b469ccc0e85c8bb9c0f88a3c2",
"valid": false
}
➜ VincentSSD ./run-clightningd.sh --network=testnet
➜ VincentSSD clightning --testnet decode lno1qgsyxjtl6luzd9t3pr62xr7eemp6awnejusgf6gw45q75vcfqqqqqqqsespexwyy4tcadvgg89l9aljus6709kx235hhqrk6n8dey98uyuftzdqzrtkahuum7m56dxlnx8r6tffy54004l7kvs7pylmxx7xs4n54986qyqeeuhhunayntt50snmdkq4t7fzsgghpl69v9csgparek8kv7dlp5uqr8ymp5s4z9upmwr2s8xu020d45t5phqc8nljrq8gzsjmurzevawjz6j6rc95xwfvnhgfx6v4c3jha7jwynecrz3y092nn25ek4yl7xp9yu9ry9zqagt0ktn4wwvqg52v9ss9ls22sqyqqestzp2l6decpn87pq96udsvx
{
"code": -32602,
"message": "string: Offer does not contain a node_id: invalid token (see logs for details)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment