diff --git a/public/assets/wallet.js b/public/assets/wallet.js index a13fdd7..03dddeb 100644 --- a/public/assets/wallet.js +++ b/public/assets/wallet.js @@ -165,8 +165,8 @@ window.IAPWallet = (function () { // routinely lowball it and the RPC rejects "gas tip below minimum". Set // explicit EIP-1559 fees above the floor, plus a safe gas limit so the wallet // doesn't mis-estimate. Unused gas is never charged. - tx.maxPriorityFeePerGas = '0x' + (30n * 10n ** 9n).toString(16); // 30 gwei - tx.maxFeePerGas = '0x' + (250n * 10n ** 9n).toString(16); // 250 gwei ceiling + tx.maxPriorityFeePerGas = '0x' + (30n * 10n ** 9n).toString(16); // 30 gwei (> Polygon's ~25 gwei floor) + tx.maxFeePerGas = '0x' + (50n * 10n ** 9n).toString(16); // 50 gwei ceiling (Amoy base fee is ~0; avoids MetaMask "fee too high" alert) tx.gas = '0x' + (600000n).toString(16); // 600k limit return eth().request({ method: 'eth_sendTransaction', params: [tx] }); } diff --git a/public/index.html b/public/index.html index 7e1c822..6f96108 100644 --- a/public/index.html +++ b/public/index.html @@ -439,7 +439,7 @@ - + diff --git a/public/my.html b/public/my.html index f25e06d..bf646e7 100644 --- a/public/my.html +++ b/public/my.html @@ -690,7 +690,7 @@ - +