Verify signature of undeployed account
In order to verify the signature of an undeployed account, you will need to provide a flag to Ready Wallet which will let users sign with their undeployed account:
Pass skipDeploy=true
in the signMessage
account.signMessage(
{
domain: {
name: "Example DApp",
chainId: windowStarknet.chainId,
version: "0.0.1",
},
types: {
StarkNetDomain: [
{ name: "name", type: "felt" },
{ name: "chainId", type: "felt" },
{ name: "version", type: "felt" },
],
Message: [{ name: "message", type: "felt" }],
},
primaryType: "Message",
message: {
message,
},
},
// @ts-ignore
{ skipDeploy: true },
)
Last updated
Was this helpful?