You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that smart contracts can vote on Snapshot via ERC-1271, but since Snapshot is an off-chain voting Platform, how can one submit the content signed via ERC-1271 to Snapshot?
I thought Snapshot.js would support this, but as far as I could understand, they only expose a client for ERC-712, which requires a private key. I did more digging in the Javascript SDK and found that they are signing the content with the wallet provided and sending it to their API via a POST request.
Does anyone know how are smart contract wallets integrating into Snapshot? I could reproduce the steps of the SDK with content signed via ERC-1271, but I wonder if that endpoint is specific to ERC-712. I would appreciate any guidance on the issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I understand that smart contracts can vote on Snapshot via ERC-1271, but since Snapshot is an off-chain voting Platform, how can one submit the content signed via ERC-1271 to Snapshot?
I thought Snapshot.js would support this, but as far as I could understand, they only expose a client for ERC-712, which requires a private key. I did more digging in the Javascript SDK and found that they are signing the content with the wallet provided and sending it to their API via a
POST
request.Does anyone know how are smart contract wallets integrating into Snapshot? I could reproduce the steps of the SDK with content signed via ERC-1271, but I wonder if that endpoint is specific to ERC-712. I would appreciate any guidance on the issue.
Thanks, Ernani
Beta Was this translation helpful? Give feedback.
All reactions