migrate from ethers to viem
- Replace HDNodeWallet.fromPhrase with mnemonicToAccount from viem/accounts - Replace JsonRpcProvider.getBalance with viem createPublicClient + getBalance - Replace formatEther with viem's formatEther (same API) - Remove ethers dependency from package.json - Update README
This commit is contained in:
@@ -67,8 +67,7 @@ apps/desktop/
|
||||
|
||||
## Dependencies
|
||||
|
||||
- [Ethers](https://docs.ethers.org) — EVM wallet operations
|
||||
- [Viem](https://viem.sh) — EVM chain RPC calls
|
||||
- [Viem](https://viem.sh) — EVM chain RPC calls + wallet operations
|
||||
- [monero-ts](https://github.com/woodser/monero-ts) — Monero RPC client
|
||||
- [Drizzle ORM](https://orm.drizzle.team) — SQLite schema + queries
|
||||
- [Svelte 5](https://svelte.dev) — UI framework
|
||||
|
||||
Reference in New Issue
Block a user