MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / encodeRlp

Function encodeRlp

lib.esm/utils/rlp-encode.js:41–48  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

39 * Encodes %%object%% as an RLP-encoded [[DataHexString]].
40 */
41export function encodeRlp(object) {
42 let result = "0x";
43 for (const v of _encode(object)) {
44 result += nibbles[v >> 4];
45 result += nibbles[v & 0xf];
46 }
47 return result;
48}
49//# sourceMappingURL=rlp-encode.js.map

Callers 15

test-rlp.tsFile · 0.90
hashAuthorizationFunction · 0.90
getCreateAddressFunction · 0.90
_serializeLegacyFunction · 0.90
_serializeEip1559Function · 0.90
_serializeEip2930Function · 0.90
_serializeEip4844Function · 0.90
_serializeEip7702Function · 0.90
test-rlp.jsFile · 0.90
hashAuthorizationFunction · 0.90
getCreateAddressFunction · 0.90
_serializeLegacyFunction · 0.90

Calls 1

_encodeFunction · 0.70

Tested by

no test coverage detected