EVM 上的 Gas 问题
问题描述:你在 HyperEVM 上支付 Gas 或让交易成功发送时遇到问题
HyperEVM 使用什么作为 Gas?
- HyperEVM 上 EVM 划转和交易使用的 Gas 是 HYPE
- 要将代币从 HyperCore 划转到 EVM,你需要在 HyperCore(现货)上持有 HYPE
- 要将代币从 EVM 划转到 HyperCore 以及在 HyperEVM 上进行其他交易,你需要在 HyperEVM 上持有 HYPE
情况 1:我看到这个错误 "Invalid transaction envelope type: specified type “0x2” but included a gasPrice instead of maxFeePerGas and maxPriorityFeePerGas"
- 这是 MetaMask 的一个已知问题;你可以尝试其他钱包,如 Rabby:https://support.rabby.io/en/articles/14120403-migrating-from-metamask-or-other-wallets
情况 2:为什么我的钱包提示 ETH 余额不足无法交易,但我钱包里确实有 ETH?
- 在 HyperEVM 上你不需要 ETH 来支付 Gas,你需要的是 HYPE
- 这通常意味着你没有正确地将 HyperEVM 网络添加到你的钱包扩展。请按照此处的说明操作:https://hyperliquid.gitbook.io/hyperliquid-docs/onboarding/how-to-use-the-hyperevm#how-do-i-add-the-hyperevm-to-my-wallet-extension
- 你的钱包扩展可能不支持将 HyperEVM 作为自定义网络添加。请考虑切换到 Rabby,它将 HyperEVM 作为内置网络支持:https://support.rabby.io/en/articles/14120403-migrating-from-metamask-or-other-wallets