You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Any bytes with lengths smaller than 0x4c (76) is pushed with 1 byte equal to the size (byte[10] -> 10 + byte[10]; byte[70] -> 70 + byte[70])
27
+
* Any bytes bigger than or equal to 0x4c is pushed by using 0x4c (ie. OP_PUSHDATA) followed by the length followed by the data (byte[80] -> OP_PUSHDATA + 80 + byte[80])
28
+
* Any bytes with length bigger than 255 uses 0x4d (OP_PUSHDATA2)
29
+
* Any bytes with length bigger than 65535 (0xffff) uses 0x4e (OP_PUSHDATA4)
@@ -43,7 +102,7 @@ export function createCoreDaoOpReturnOutputScript({
43
102
* LENGTH: which represents the total byte length after the OP_RETURN opcode. Note that all data has to be pushed with its appropriate size byte(s). [1]
44
103
* Satoshi Plus Identifier: (SAT+) 4 bytes
45
104
* Version: (0x01) 1 byte
46
-
* Chain ID: (0x1115 for Core Testnet and 0x1116 for Core Mainnet) 2 bytes
105
+
* Chain ID: (0x045b (1115) for Core Testnet and 0x045c (1116) for Core Mainnet) 2 bytes
47
106
* Delegator: The Core address to receive rewards, 20 bytes
48
107
* Validator: The Core validator address to stake to, 20 bytes
49
108
* Fee: Fee for relayer, 1 byte, range [0,255], measured in CORE
@@ -88,36 +147,25 @@ export function createCoreDaoOpReturnOutputScript({
0 commit comments