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 bb2ac2b commit ddccd45
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ 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).
Check out [rlp.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/rlp.test.js) for examples.

Check out [rlp.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/rlp.test.js) for example usage.

```ts
import { RLP } from 'micro-eth-signer/rlp';
Expand All @@ -354,8 +355,9 @@ 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.
Check out [ssz.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/ssz.test.js) for examples.
Stable containers from [EIP-7495](https://eips.ethereum.org/EIPS/eip-7495) are supported.

Check out [ssz.test.js](https://github.com/paulmillr/micro-eth-signer/blob/main/test/ssz.test.js) for example usage.

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

0 comments on commit ddccd45

Please sign in to comment.