From edae4a972f1c8e8c1c4c1e85ee5dbfb54ed68b61 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Fri, 11 Oct 2024 10:56:58 +0000 Subject: [PATCH] README --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b112815..80c90e4 100644 --- a/README.md +++ b/README.md @@ -343,7 +343,9 @@ Check out [`src/net/ens.ts`](./src/net/ens.ts) for type-safe contract execution #### RLP parsing -We implement RLP in just 100 lines of code, powered by [packed](https://github.com/paulmillr/micro-packed): +We implement RLP (Recursive Length Prefix) in 100 lines of code, using [packed](https://github.com/paulmillr/micro-packed). + +For detailed examples, check out [rlp.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/rlp.test.js). ```ts import { RLP } from 'micro-eth-signer/rlp'; @@ -352,10 +354,11 @@ RLP.decode(RLP.encode('dog')); #### SSZ parsing -Simple serialize (SSZ) is the serialization method used on the Beacon Chain. -We support EIP-7495 stable containers. +We implement SSZ (simple serialize) in 1500 lines of code, using [packed](https://github.com/paulmillr/micro-packed). + +[EIP-7495](https://eips.ethereum.org/EIPS/eip-7495) stable containers are supported. -The implementation is very small, around 1500 lines of code, and is powered by [packed](https://github.com/paulmillr/micro-packed): +For detailed examples, check out [ssz.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/ssz.test.js). ```ts import * as ssz from 'micro-eth-signer/ssz';