Skip to content

Commit e851568

Browse files
authored
From cast--to-dec
1 parent 0fc2e4e commit e851568

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/stack/interop/tutorials/custom-superchain-erc20.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,14 @@ The tutorial uses these primary tools:
142142
4. Get your current balance (it should be zero).
143143

144144
```sh
145-
cast call --rpc-url $RPC_DEV0 $TOKEN_ADDRESS "balanceOf(address)" $MY_ADDRESS | cast to-dec | cast --from-wei
145+
cast call --rpc-url $RPC_DEV0 $TOKEN_ADDRESS "balanceOf(address)" $MY_ADDRESS | cast --from-wei
146146
```
147147

148148
5. Call the faucet to get a token and check the balance again.
149149

150150
```sh
151151
cast send --private-key $DEPLOYER_PRIVATE_KEY --rpc-url $RPC_DEV0 $TOKEN_ADDRESS "faucet()"
152-
cast call --rpc-url $RPC_DEV0 $TOKEN_ADDRESS "balanceOf(address)" $MY_ADDRESS | cast to-dec | cast --from-wei
152+
cast call --rpc-url $RPC_DEV0 $TOKEN_ADDRESS "balanceOf(address)" $MY_ADDRESS | cast --from-wei
153153
```
154154
</details>
155155
</Steps>

0 commit comments

Comments
 (0)