global: opreturn part 3

This commit is contained in:
nym21
2026-07-18 21:34:21 +02:00
parent 10c16335ed
commit 5161ae2012
16 changed files with 912 additions and 412 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
import { BrkClient } from "../modules/brk-client/index.js";
export const brk = new BrkClient("https://bitview.space");
export const brk = new BrkClient("http://localhost:3110");
+56
View File
@@ -25,6 +25,7 @@ export const txColors = /** @type {const} */ ({
v1: colors.blue(),
v2: colors.violet(),
v3: colors.fuchsia(),
otherVersion: colors.gray(),
rbf: colors.orange(),
noRbf: colors.gray(),
oneInput: colors.yellow(),
@@ -42,4 +43,59 @@ export const txColors = /** @type {const} */ ({
opReturn: colors.red(),
empty: colors.gray(),
unknown: colors.gray(),
behavior: {
cpfpParent: colors.sky(),
cpfpChild: colors.blue(),
coinjoin: colors.violet(),
consolidation: colors.yellow(),
batchPayout: colors.green(),
},
data: {
fakePubkey: colors.yellow(),
fakeScripthash: colors.amber(),
inscription: colors.fuchsia(),
annex: colors.violet(),
dust: colors.red(),
},
sighash: {
all: colors.blue(),
none: colors.red(),
single: colors.orange(),
default: colors.violet(),
anyoneCanPay: colors.fuchsia(),
},
policy: {
nonstandard: colors.red(),
},
opReturnKind: {
runes: colors.orange(),
veriBlock: colors.blue(),
omni: colors.violet(),
stacks: colors.purple(),
blockstack: colors.indigo(),
colu: colors.cyan(),
openAssets: colors.sky(),
komodo: colors.amber(),
coinSpark: colors.yellow(),
poet: colors.fuchsia(),
docproof: colors.emerald(),
openTimestamps: colors.green(),
factom: colors.lime(),
eternityWall: colors.avocado(),
memo: colors.pink(),
bitproof: colors.rose(),
ascribe: colors.teal(),
stampery: colors.blue(),
epobc: colors.violet(),
bareHash: colors.white(),
text: colors.cyan(),
empty: colors.gray(),
unknown: colors.gray(),
},
opReturnPolicy: {
standard: colors.green(),
oversized: colors.orange(),
multiple: colors.yellow(),
preV30Nonstandard: colors.red(),
},
});