From 9a4990a7d4b27c3dc555dab4f1419b3f88fc7a7c Mon Sep 17 00:00:00 2001 From: stubbsta Date: Thu, 18 Sep 2025 09:39:53 +0200 Subject: [PATCH] Fix mintWithEth command in test/README.md --- test/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/README.md b/test/README.md index 21a5cb3..b8dc5d2 100644 --- a/test/README.md +++ b/test/README.md @@ -81,8 +81,10 @@ cast send $TOKEN_PROXY_ADDRESS "mint(address,uint256)" --r #### Option 2: Public minting by burning ETH (no privileges required) +The total tokens minted is determined by the amount of ETH sent with the transaction. + ```bash -cast send $TOKEN_PROXY_ADDRESS "mintWithETH(address,uint256)" --value --rpc-url $RPC_URL --private-key $MINTING_ACCOUNT_PRIVATE_KEY --from $MINTING_ACCOUNT_ADDRESS +cast send $TOKEN_PROXY_ADDRESS "mintWithETH(address)" --value --rpc-url $RPC_URL --private-key $MINTING_ACCOUNT_PRIVATE_KEY --from $MINTING_ACCOUNT_ADDRESS ``` **Note**: The `mintWithETH` function is public and can be called by anyone. It requires sending ETH with the transaction