Basic support for revision 1 StarknetTypedData, featured in SNIP-12. Full support for SNIP-12 and both revision 0 and 1 basic/preset types will be added in separate PRs.
StarknetTypedData
Add Revision
Add Domain. Use Domain instead of [String: Element] for domain
Other
Add StarknetHashMethod
Linked issues
159
Breaking changes
[x] This issue contains breaking changes
StaknetTypedData.Domain is now of type StarknetTypedData.Domain instead of [String: Element]
Stack
172
166
167
170
173
174
175
178
182
180
181
Describe your changes
Basic support for revision 1
StarknetTypedData
, featured in SNIP-12. Full support for SNIP-12 and both revision 0 and 1 basic/preset types will be added in separate PRs.StarknetTypedData
Revision
Domain
. UseDomain
instead of[String: Element]
fordomain
Other
StarknetHashMethod
Linked issues
159
Breaking changes
StaknetTypedData.Domain
is now of typeStarknetTypedData.Domain
instead of[String: Element]