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:
@@ -19,7 +19,6 @@
|
||||
"@koins/utils": "workspace:*",
|
||||
"drizzle-orm": "^1.0.0-beta.22",
|
||||
"electrobun": "^1.18.1",
|
||||
"ethers": "^6.16.0",
|
||||
"mode-watcher": "^1.1.0",
|
||||
"monero-ts": "^0.11.8",
|
||||
"qrcode": "^1.5.4",
|
||||
|
||||
Reference in New Issue
Block a user