Commit a05f1fb
committed
refactor(swaps): rename preimage tag NArk → Arkade for cross-SDK interop
NArk is the .NET SDK's internal shorthand; using it in the on-the-wire
derivation tag locks the scheme to one specific SDK implementation. The
preimage is rooted in BIP-340 signing of a fixed message — there's
nothing about it that's .NET-specific. Renaming the tag to "Arkade-
Boltz-Preimage-v1" lets any Arkade SDK (ts-sdk, go-sdk, rust-sdk, NArk)
implement the same scheme byte-for-byte and recover swaps that another
SDK created, which is the entire point of having a documented spec for
the message construction.
Arkade is the protocol brand per CLAUDE.md; Boltz is the provider
(future Loop/Submarine/etc. would have their own tag); -v1 stays as
the version hook.
Pre-merge: nothing has shipped under the old tag yet, so this is a
free rename — no v1/v2 fallback needed.
docs/articles/swaps.md updated to make the cross-SDK interop intent
explicit so any future implementer knows the tag is canonical and
not an SDK-specific opaque value.1 parent d643a3b commit a05f1fb
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments