mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
test(clink): correct provenance of the default-offer interop vector
The vector is the canonical @shocknet/clink-sdk example — both its MIT README usage snippet and clink-demo's public-domain DEFAULT_NOFFER are the same string. Confirmed the published npm tarball ships only build output (no test vectors), so this is the one real codec vector the ecosystem exposes. https://claude.ai/code/session_01NM2TyJtosLdY5ycjyabSRS
This commit is contained in:
+3
-3
@@ -73,9 +73,9 @@ class ClinkInteropTest {
|
||||
assertEquals(offer, ClinkPointerParser.parse(offer.encode()))
|
||||
}
|
||||
|
||||
// The live default offer hard-coded in shocknet/clink-demo (clinkme.dev), src/index.ts
|
||||
// `DEFAULT_NOFFER`. Public domain (the demo is Unlicensed). A real-world spontaneous,
|
||||
// relay-bearing, no-price offer whose offer-id is a 64-char hex string.
|
||||
// The canonical example offer shipped by @shocknet/clink-sdk: it is both the README usage
|
||||
// example (MIT) and clink-demo / clinkme.dev's `DEFAULT_NOFFER` (public domain). A
|
||||
// real-world spontaneous, relay-bearing, no-price offer whose offer-id is a 64-char hex string.
|
||||
private val clinkDemoDefaultOffer =
|
||||
"noffer1qvqsyqjqxuurvwpcxc6rvvrxxsurqep5vfjk2wf4v33nsenrxumnyvesxfnrswfkvycrwdp3x93xydf5xg6rzce4vv6xgdfh8quxgct9x5erxvspremhxue69uhhgetnwskhyetvv9ujumrfva58gmnfdenjuur4vgqzpccxc30wpf78wf2q78wg3vq008fd8ygtl4qy06gstpye3h5unc47xmee6z"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user