Skip to content

How to import and use NonceManager? #1570

Answered by zemse
jimmyranson229 asked this question in Q&A
Discussion options

You must be logged in to vote
const { NonceManager } = require('ethers')
// this NonceManager is likely undefined, that's maybe why you get the not a constructor error

const { NonceManager } = require('@ethersproject/experimental') // you will need to install this package, its not included in `ethers`.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ricmoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants