> For the complete documentation index, see [llms.txt](https://docs.fetcch.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fetcch.xyz/how-to-integrate/guides/utility/how-to-sign-messages/evm.md).

# EVM

* We are using `ethers.js` for this particular example
* Use `signer.signMessage` message from `Signer` class

```tsx
const message = await generateMessage()

const signer = new ethers.Wallet()

const signature = await signer.signMessage(message)

// OR

const signature = await signer.signMessage(Buffer.from(message))
```
