Use new ethers.js NonceManager to handle transaction nonces

So far we have failed to globally handle the transaction nonces.
The new ethers.js v5 comes with a NonceManager that helps us handling
transaction nonces and automatically increases the nonce for each
transaction.
This commit is contained in:
2020-06-27 18:24:44 +02:00
parent 35f6acc150
commit b7ff55929c
4 changed files with 522 additions and 37 deletions

View File

@@ -12,7 +12,8 @@
"dependencies": {
"cors": "^2.8.5",
"eth-provider": "^0.2.2",
"ethers": "^4.0.27",
"ethers": "^5.0.2",
"@ethersproject/experimental": "5.0.0",
"express": "^4.17.1",
"express-session": "^1.16.2",
"grant-express": "^4.6.1",