()
| 30 | // await ethSignTypedDataV4(); |
| 31 | |
| 32 | async function ethSendTransaction() { |
| 33 | const txParams = { |
| 34 | // Shared properties |
| 35 | to: hardhatAddress, |
| 36 | value: 10000000n, |
| 37 | gasLimit: 310000n, |
| 38 | |
| 39 | // Enable the properties that you need for a specific transaction type |
| 40 | // and comment out the ones that you don't need |
| 41 | |
| 42 | // eip1559 |
| 43 | maxFeePerGas: 1000000000n, |
| 44 | maxPriorityFeePerGas: 1000000000n, |
| 45 | |
| 46 | // eip2930 |
| 47 | //gasPrice: 999999345n, |
| 48 | //accessList: [], |
| 49 | |
| 50 | // legacy |
| 51 | // gasPrice: 999999345n, |
| 52 | }; |
| 53 | |
| 54 | await ledgerSigner.sendTransaction(txParams); |
| 55 | } |
| 56 | |
| 57 | async function ethSign() { |
| 58 | const msg = ethers.toUtf8Bytes("Hello eth_sign"); |
no test coverage detected