Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Oct 11, 2024
1 parent edae4a9 commit bb2ac2b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,7 @@ Check out [`src/net/ens.ts`](./src/net/ens.ts) for type-safe contract execution
#### RLP parsing

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).
Check out [rlp.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/rlp.test.js) for examples.

```ts
import { RLP } from 'micro-eth-signer/rlp';
Expand All @@ -355,10 +354,8 @@ RLP.decode(RLP.encode('dog'));
#### SSZ parsing

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.

For detailed examples, check out [ssz.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/ssz.test.js).
Check out [ssz.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/ssz.test.js) for examples.

```ts
import * as ssz from 'micro-eth-signer/ssz';
Expand Down

0 comments on commit bb2ac2b

Please sign in to comment.