Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed May 11, 2024
1 parent 998dd34 commit 2a0153d
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 @@ -2,11 +2,11 @@

Minimal library for Ethereum transactions, addresses and smart contracts.

- 🔓 Secure: 3 deps, audited [noble](https://paulmillr.com/noble/) cryptography
- 🔓 Secure: 3 deps, audited [noble](https://paulmillr.com/noble/) cryptography, no network code
- 🔻 Tree-shaking-friendly: use only what's necessary, other code won't be included
- 🌍 No network code: simplified auditing and offline usage
- 🔍 Reliable: 150MB of test vectors from EIPs, ethers and viem
- ✍️ Transactions: Create, sign and decode complex txs using human-readable hints
- ✍️ Create, sign and decode transactions using human-readable hints
- 🌍 Fetch historical transactions and token balances from an archive node
- 🆎 Call smart contracts: Chainlink and Uniswap APIs are included
- 🦺 Typescript-friendly ABI, RLP and SSZ decoding
- 🪶 1200 lines for core functionality
Expand Down Expand Up @@ -105,6 +105,8 @@ const _5 = await txp.tokenBalances(addr);
// `tokenInfo` and `txInfo`.
```

An archive node is required. Reth has 100-block window limit, which means it's too slow for now.

### Call smart contracts

User explicitly passes built-in function `fetch` to enable network access to JSON-RPC web3 node.
Expand Down

0 comments on commit 2a0153d

Please sign in to comment.