NethermindEth / starknet.go

Golang Library for StarkNet/Cairo
MIT License
144 stars 103 forks source link

Plans for adding support for signTypedData/signMessage #180

Open PowerStream3604 opened 1 year ago

PowerStream3604 commented 1 year ago

👋 I'm David from ImmutableX, while we are planning to support StarkNet for ImmutableX's multi-rollup Orderbook, we noticed that off-chain signing & verification is a hard dependency. Although these features are already supported in other languages like JS & Cairo I see that Caigo seems to only support the basic Account.Sign() as of now.

Do you have any plans to support this in the near future? This seems to be a need for many other projects as well since this is a frequently used functionality.

Also, does anyone know any case or example/implementation of signTypedData or signMessage in Golang?

gregoryguillou commented 1 year ago

Sorry for the delay. It should be available already, no? We are using to sign the session key at least.

PowerStream3604 commented 1 year ago

We are using to sign the session key at least.

Thanks for the answer @gregoryguillou, can you please elaborate on what you're exactly referring to here? Do you have any links or code snippets I can refer to with this/and your comment, by any chance?