Zadanie z kodem · Kurs Blockchain i Web3 · Moduł 3: Ethereum & EVM

Tworzenie obiektu transakcji

Stwórz obiekt reprezentujący transakcję Ethereum zgodnie z EIP-1559

Zadanie

Zaimplementuj strukturę transakcji z polami: from, to, value, gasLimit, maxFeePerGas, maxPriorityFeePerGas