I am working on a project where I need to airdrop tokens to our users. In backend the amount of tokens dropped for an address is identified. For validation of address and amount of tokens while claiming I need to have some validation in place. Similar to how it's done on these two contracts - https://etherscan.io/address/0xedfccec033521cbfb3a4aaa86824aaa6747ea35f#code https://etherscan.io/address/0x3b484b82567a09e2588a13d54d032153f0c0aee0#code
The question is how do i generate the eip-712 signatures on ruby on rails backend, so that it would be verifiable on smart contract