Hey,
I am following this tutorial.
https://www.quicknode.com/guides/ethereum-development/transactions/how-to-use-erc20-permit-approval
I am getting the below error when I run the permit script.
Starting tokenOwner balance: 1000000000000000000000
Starting tokenReceiver balance: 0
TypeError: tokenOwner._signTypedData is not a function
Would appreciate it if somebody helps.
Note: The tutorial used ether 5.7 version but I am using the latest version.
TIA.