msg.value
.
However, as mentioned above, unlike other EVM networks, the MiniEVM’s native token is also represented by an ERC20 interface. This means that for any transaction or logic, you can also interact with it using the ERC20 interface.
--legacy
flag.
Precompiles and Foundry Scripts
Foundry’s forge script feature always simulates all script transactions on a local standard EVM (without precompiles), and there is currently no way to skip this simulation. Consequently, any contract deployment or transaction that relies on MiniEVM precompiles will fail.