@dgs
Signing a message client side and then verifying it onchain can be tricky to get right and difficult to debug. Here’s a working example with ethers v6 and Open Zeppelin to save you some time https://gist.github.com/daltyboy11/5a5a38ea8353164238d945c6d61e8c99